Showing results for 
Search instead for 
Did you mean: 

Can't upgrade from 2.0.8 to 2.1


Can't upgrade from 2.0.8 to 2.1

Hi can anyone help.


When trying to upgrade my site from the portal everything clicks through but I just get "Update pending" and in the console "upgrade is already in progress".


I've tried to also upgrade from the command line using composer but this also fails. It seems to work ok using these instructions:


composer require magento/product-community-edition 2.1.0 --no-update

composer update

rm -rf var/di var/generation

php bin/magento cache:flush

php bin/magento setup:upgrade

php -d memory_limit=2048M bin/magento setup:di:compile

php bin/magento cache:flush

php bin/magento maintenance:disable

php bin/magento setup:static-content:deploy


But once finished I navigate back to my site and all the products in both the frontend and backend have completely disappeared. At which point I'm forced to restore from back and downgrade back to my original 2.0.8 version.


Can anyone please help me to get this site updated to 2.1 onwards. Thanks for any help.


Re: Can't upgrade from 2.0.8 to 2.1

You can upgrade Magento 2.0.8 to 2.1.0 using just changes in composer.json file.


Open your  composer.json file and change at two places,

"version": "2.0.8", To "version": "2.1.7",

Other changes is,

        "magento/product-community-edition": "2.0.8",  to         "magento/product-community-edition": "2.1.7",

Run command,


composer update

After process completed,


Run command,

php bin/magento setup:upgarde
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
php bin/magento cache:flush
php bin/magento setup:di:compile

If issue solved, click Kudos and Accept as Solution.

If Issue Solved, Click Kudos/Accept As solutions.