Magento 2 Upgrade: how to and 2 ways to improve magento 2.0 to 2.2

In this article, I will show you how to Upgrade of Magento 2. There are 2 ways to improve Magento 2.0 to 2.2, the following steps:

  1. Magento 2.2 Upgrade by composer
  2. Improve Magento 2.0 to 2.2 by Magento admin

Hello every one,

Since Magento 2 releases and modernizes frequently, the task modernizing /developing system is the important to get all profit in Magento sites?

In this guideline, we would like to guide you the way which can work best to improve Magento 2.0 by composer Upgrade and by Magento Admin.

Magento 2.2 Upgrade by composer

Note that changing version and running composer Upgrade is only for those who have access to command line, and, of course have experience in using it (developer and Sis)

Then run composer Upgrade it is required to fill the username and password:

Run Composer Code

This access is the authentication key used to install Magento software

In composer.json change this line

<span style="color: #339966;"><em><span style="font-weight: 400;">"magento/product-community-edition": "2.0.2",</span></em></span>

Also modify the line 5 “version “: 2.2”, to maintain it in sync to which version you want to run

<span style="color: #339966;"><em><span style="font-weight: 400;">composer update
</span></em></span>
<span style="color: #339966;"><em><span style="font-weight: 400;">php bin/magento setup:upgrade </span></em></span>
<span style="color: #339966;"><em><span style="font-weight: 400;">php bin/magento setup:static-content:deploy
</span></em></span>

The following are results are:

<span style="color: #339966;"><em><span style="font-weight: 400;">composer require magento/product-community-edition 2.0.2 --no-update
</span></em></span>
<span style="color: #339966;"><em><span style="font-weight: 400;">composer update </span></em></span>
<span style="color: #339966;"><em><span style="font-weight: 400;">rm -rf var/di var/generation </span></em></span>
<span style="color: #339966;"><em><span style="font-weight: 400;">php bin/magento cache:clean </span></em></span>
<span style="color: #339966;"><em><span style="font-weight: 400;">php bin/magento cache:flush </span></em></span>
<span style="color: #339966;"><em><span style="font-weight: 400;">php bin/magento setup:upgrade </span></em></span>
  <span style="color: #339966;"><em><span style="font-weight: 400;">php bin/magento setup:di:compile </span></em></span>
<span style="color: #339966;"><em><span style="font-weight: 400;">php bin/magento indexer:reindex</span></em></span>

Improve Magento 2.0 to 2.2 by Magento admin

The following steps are easy way to improve Magento 2 by system upgrade

Step 1: Log in to Magento admin as Administrator

Step 2: follow system>tools>web setup wizards

Image result for Magento system set up wizards

Step 3: Enter the system configuration

Step 4: enter your authentication key in the provided field if you have not done it. The following outline shows you an example if you have already entered your keys.

*Whenever before Upgrade or Update, you should access with the Authentication keys which used to install the Magento software.

* Note that you can’t use the key of Magento CE to Upgrade or update Magento EE or inversely. Also, you can use neither of: another user’s authentication key, or shared account authentication keys.

Step 5: choose save config

Step 6:  then system upgrade

Image result for Magento system set up wizards

 

the page exhibit related to the following when we get components to upgrade.

Image result for Magento system set up wizards

Step 7: continue with the step 1

Error you may encounter

The following error can indicate one of several problems; contain authentication keys issue if you have not entered in the Magento Admin.

Image result for Magento system upgrade

Sample data

The System Upgrade function also installs sample data for you but doesn’t exhibit it, if you did the following:

  • Used the magento sampledata:deploy command when downloaded, but not installed sample data
  • You updated works simultaneously with the Magento system software

I hope the following steps help you to improve Magento 2.0 to 2.2

 

Last Update: April 6, 2018  

February 15, 2018   175   Nandini R    Modernize And Improvement    
Total 2 Votes:
0

Tell us how can we improve this post?

+ = Verify Human or Spambot ?

Leave a Reply

Your email address will not be published. Required fields are marked *

Facebook
Google+
http://www.webnexs.com/blog/kb/magento-2-upgrade-2-ways-improve-magento
Twitter
LinkedIn