cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade from 2.2.0 CE to 2.2.2 CE

Upgrade from 2.2.0 CE to 2.2.2 CE

Hi,

 

Could anybody help me with instructions to upgrade from Magento 2.2.0 CE to Magento 2.2.2 CE version please? I Can't find instructions online.

 

Thanks

Adam

3 REPLIES 3

Re: Upgrade from 2.2.0 CE to 2.2.2 CE

Open your root composer.json file

 

Replace with below content,

"version": "2.2.0" replace with "version": "2.2.2"


"magento/product-community-edition": "2.2.0" replace with "magento/product-community-edition": "2.2.2"

 

Then run command from magento 2 root,

 

composer update

 

After completion of upgradation run below commands  : 

 

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

 

You can also refer this linkhttps://magento.stackexchange.com/questions/193010/how-to-update-magento-2-1-7-to-magento-2-2-is-it-...

if issue solved,Click Kudos & Accept as Solution

Re: Upgrade from 2.2.0 CE to 2.2.2 CE

Hi, Thanks for your help. I've followed the instructions and updated composer.json. But version no still showning 2.2.0 in admin panel. have i missed something?

Re: Upgrade from 2.2.0 CE to 2.2.2 CE

I think you still missed out commands , if you have run all the commands then its needs to be updated. any ways try below alternate way and run all command one by one in sequence.

 

composer require magento/product-community-edition 2.2.2 --no-update(pass required update version number)composer update
rm -rf var/di var/generation
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento indexer:reindex

 

if issue solved,Click Kudos & Accept as Solution