Thursday, August 24, 2017

How to Upgrade/Updating Magento 2 Using Composer

Upgrade Magento 2.1.2 To 2.1.3 Using Composer

Update Magento 2.1.3

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:

 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.

No comments:

Post a Comment