All of us know about powerful and impressive features in Magento 2. However, Magento 2 is developed day by day with supporting many other features which are very helpful your business very much. Today, we will help you catch this update by showing the way to upgrade Magento 2.0.0 to Magento 2.0.2. With this updating, ensure that you can gain many benefits.
There are two ways to upgrade Magento from version 2.0.0 to 2.0.2. Let’s determine them!
Updating to 2.0.2 version via composer
*Note: This upgrading is just for those who have access to command line as well as having experience like developers, Sis.
Step 1: Update composer
Step 2: Fill in the Username and Password:
D:\xampp\htdocs\magento2\ce205>composer update Loading composer repositories with package information
Authentication required (repo.magento.com): Username: Password:
*This access has the same Authentication Key used to install Magento software
Step 3: Change commands:
- In composer.json, change following line:
- Change line 5”version”:”2.0.2” to keep it in sync to the version you want, then run:
composer update php bin/magento setup:upgrade php bin/magento setup:static-content:deploy
After finishing all steps, the result you get is:
composer require magento/product-community-edition 2.0.2 –no-update composer update rm -rf var/di var/generation php bin/magento cache:clean php bin/magento cache:flush php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento indexer:reindex
Upgrading to 2.0.2 version via Magento Admin
It is simpler when upgrading Magento 2 via System Upgrade. This way is for those who have limited technical abilities or no command line via hosting provider.
Step 1: Login Magento Admin as Administrator
Step 2: System→ Tools→ Web Setup Wizard
Step 3: Fill in System Configuration
Step 4: Enter your authentication keys in provided field
Step 5: Tap Save Config
Step 6: Then set System Upgrade
Magento will begin searching for core module updates, in case you want to search for component updates, press to “Yes”
Step 7: Go on with the first step- choose versions to upgrade
Error which may occur during updating process
You may get this issue if you have not enter authentication keys in Magento Admin
The System Upgrade utility also installs sample data for you but you should not display it. Follow below guide:
- Use magento sampledata:deploy command when downloading but don’t install sample data
- Update components simultaneously with Magento system soft ware
Now, you can apply the latest version of Magento 2. We’re sure that you will satisfy with this version. If you have any problems, you can contact us for the help. And please visit our website to get more useful tutorial.
Thanks for reading!
View more: Magento 2 extensions & plugins