Wednesday, September 19, 2018

Magento 2 How to Upgrade Magento 2.2.4 to 2.2.5 Using Composer


Upgrade/Updating Procedure of Magento 2 by following these simple steps:

Step 1: First of all, connect to your web server via SSH. Using putty or any SSH client.

Step 2: Once your SSH connection is established, you will need to navigate to your Magento 2 ROOT directory.

Step 3: Now follow the order and use the following commands:

 php bin/magento maintenance:enable  
 composer require magento/product-community-edition 2.2.5 --no-update  
 composer update  
  rm -rf pub/static/frontend/* pub/static/adminhtml/* var/cache var/composer_home var/generation var/page_cache var/view_preprocessed var/di   
  php bin/magento setup:static-content:deploy   
  php bin/magento cache:clean && php bin/magento cache:flush   

After the upgrade, check your Magento version with the following command:

 php bin/magento --version  

Complete Working.

2 comments:

  1. Hello Tejpal, My name is Aaanchal Kaura and I'm Magento eCommerce developer having three years of experience. I was looking for a blog ie "How to Upgrade Magento 2.2.4 to 2.2.5 Using Composer" and I found this here. Thanks for this post. This will definitely help me.

    ReplyDelete