Could someone explain me a step by step to upgrade using ssh?
I have update seup wizard in admin panel but I got these errors!
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Updating/Upgrading to Magento 2.1.3 (via
composer require magento/product-community-edition 2.1.3 --no-update composer update rm -rf var/di var/generation php bin/magento cache:clean php bin/magento cache:flush php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento indexer:reindex
After upgrade, check your Magento version with the following command:
php bin/magento --version
Complete Working, I have just upgrade now.
We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.
Connect your Magento 2 store using SSH and the go to its root directory.
First, run this command:
composer require magento/product-community-edition 2.1.3 --no-update
Now update the composer
Now run the following command:
rm -rf var/di/* var/generation/* var/cache/* var/log/* var/page_cache/*
Now clean the cache:
php bin/magento cache:clean
Now flush the cache:
php bin/magento cache:flush
Now upgrade the setup:
php bin/magento setup:upgrade
Now compile the setup
php bin/magento setup:di:compile
Lastly, reindex the indexer:
php bin/magento indexer:reindex
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?