How to Upgrade Your Old Magento Version from 2.0.x to 2.1.2?
- Nidhi Arora
- 6 years
Keeping your Magento store up to date will not only bring you the newest features but also helps against security vulnerabilities with security fixes. These security fixes are essential for your Magento store’s safety. An old Magento version not only leads to a bad performance, but it also makes your Magento store an easy target for hackers. Moreover, a hacked store can ruin your entire online business and you may lose your complete customer data within mere of minutes. So, upgrading your old Magento version from 2.0.x to 2.1.2 would be a better choice for you.
Let’s get straight down to how to upgrade Magento from 2.0.x to the latest 2.1.2. We have come up with the easiest method for all those who are less technical or don’t know more about command line method. Have a look at simple and easy upgrade-methods mentioned below:
Admin Area Upgrade Method:
In your Magento store’s admin panel, navigate to “System”, select “Web Setup Wizard” and then enter into “System Upgrade” area.
After entering into this area, you need to perform the below-mentioned steps:
- First of all, select the newest Magento version as displayed by Magento with the word (latest) in the bracket and click “Next”.
2. Now, you can notice a readiness check just after pressing “Next”. This readiness check in green color signifies that everything is fine and you can proceed further for upgrading.
3. Now, you can click on the upgrade button.
Terminal Area Upgrade Method
You need to first apply the MDVA-532 patch on to your existing Magento store’s version before getting started with this terminal area upgrade method. After installing this patch, open your terminal area and enter below-mentioned coding lines:
composer require magento/product-community-edition 2.1.0 --no-update Composer update
Now, enter one more line for upgrading the database schema & data.
php bin/magento setup:upgrade
Whatever upgrade method you use, you will require to validate your outcomes and execute QA checks to avoid missing any important thing. The terminal area upgrade method works best for those who started development by using Magento 2’s sample data.
Terminal Area Upgrade Method if Magento 2’s Sample Data was installed:
If you had installed Magento 2’s sample data, you can now update your Magento 2 installation by using terminal only. Keep in mind to back up your composer.json file before carrying forward with this method.
Enter the following coding line into your store’s terminal:
composer require magento/product-community-edition 2.1.0 --no-update
You can copy & paste the below mentioned line into your terminal:
composer require magento/module-bundle-sample-data:100.1.0 magento/module-widget-sample-data:100.1.0 magento/module-theme-sample-data:100.1.0 magento/module-catalog-sample-data:100.1.0 magento/module-customer-sample-data:100.1.0 magento/module-cms-sample-data:100.1.0 magento/module-catalog-rule-sample-data:100.1.0 magento/module-sales-rule-sample-data:100.1.0 magento/module-review-sample-data:100.1.0 magento/module-tax-sample-data:100.1.0 magento/module-sales-sample-data:100.1.0 magento/module-grouped-product-sample-data:100.1.0 magento/module-downloadable-sample-data:100.1.0 magento/module-msrp-sample-data:100.1.0 magento/module-configurable-sample-data:100.1.0 magento/module-product-links-sample-data:100.1.0 magento/module-wishlist-sample-data:100.1.0 magento/module-swatches-sample-data:100.1.0 magento/sample-data-media:100.1.0 magento/module-offline-shipping-sample-data:100.1.0 --no-update
Now, enter this coding line:
Now, you need to wait for a little as it is a big piece of code. Once you have done with it, you can reset your file permissions.
Php bin/magento setup:upgrade
We recommend you not to do any upgrades without taking a backup of your existing Magento website. Moreover, you can test it on your development server so that if your website gets crashed you will not lose revenue.
If you are a non-technical person, please do not do that! You may ruin your entire online business by losing your vital customer data. We at Envision Ecommerce have a team of certified Magento developers who are ready to upgrade your Magento store from 2.0.x to 2.1.2.
Plan your Magento version update/migration ahead – contact us now to perform Magento 2 update or migration for you at very cost effective solutions.