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.
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,
After completion of upgradation run below commands :
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
You can also refer this link - https://magento.stackexchange.com/questions/193010/how-to-update-magento-2-1-7-to-magento-2-2-is-it-...
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?
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