rafaelstz
10/25/2016 - 3:59 PM

Upgrade Magento 2

Upgrade Magento 2

Please follow the same order and use the commands listed below:

composer require magento/product-community-edition 2.1.2 –no-update

Note: As 2.1.2 is the latest version, these numbers can be changed accordingly.

composer update

Note: It will ask for repo.magento.com authentication keys. For more information, visit this link.

rm -rf var/di var/generation

php bin/magento setup:upgrade

php bin/magento setup:di:compile

php bin/magento cache:clean

php bin/magento cache:flush

php bin/magento indexer:reindex