0

I am new in Magento. I want to upgrade my Magento version from 2.0.9 to 2.0.10. I have goggling a lot.

I followed http://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html but I get error Couldn't resolve host 'repo.magento.com'.

I have a site on magemojo so I want to upgrade in my localhost first and then in live server.

Please advise me.

2
0

Below are the commands need to follow step by step. Go to Magento Root Folder & Execute

composer require magento/product-community-edition 2.X.X --no-update // Replace 2.X.X with Your Needed Version Example: 2.1.2 which is latest
composer update //If your receive out of memory error then in apache php.ini please update your memory_limit XXXXM Example
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
php bin/magento --version
1
  • It worked !!!! Thanks a lot Ankit Shah :) – Prince Nov 29 '16 at 6:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.