How to upgrade magento 2.2.4 to latest version ie., 2.2.5
1 Answer
Please use the command line to execute following commands in Magento installation root directory.
php bin/magento maintenance:enable
composer require magento/product-community-edition 2.2.5 --no-update
composer update
rm -rf <Magento install dir>/var/cache/
rm -rf <Magento install dir>/var/page_cache/
rm -rf <Magento install dir>/var/generation/
bin/magento setup:upgrade
php bin/magento maintenance:disable
service varnish restart
For more details refer magento docs: https://devdocs.magento.com/guides/v2.2/comp-mgr/cli/cli-upgrade.html
-
-
1Authentication required (repo.magento.com): Username: admin Password: user name, password means Commented Sep 19, 2018 at 14:22
-
1You can able to get it from your Magento account devdocs.magento.com/guides/v2.0/install-gde/prereq/…– karthikCommented Sep 25, 2018 at 5:32