How to Upgrade Magento?

Last modified: July 27, 2020
You are here:
Estimated reading time: 1 min

Magento is an e-commerce platform chosen by 1 of every 4 online businesses. It provides online merchants with a flexible shopping cart system, as well as control over the look, content, and functionality of their online store.  Magento’s intuitive administration interface provides advanced marketing, search engine optimisation and catalog-management tools to control the look, content, and functionality of every retailer’s unique e-commerce website. It designed to be utilized as an application by someone who isn’t a developer, completely scalable and offering optimal performance.

Magento webshop updating brings you not only the newest features but also security fixes, which is highly important for the safety of your Magento store. If you not updating your Magento, it will result in bad performance and also it gives an opportunity to the hackers to target your shop.

Please make sure you have done the following steps before you are updating your Magento store:

1) Please take a recent and clean backup. Both a file- and database backup. It is possible for an upgrade to be messed up or fail if you have made any customizations to your store which includes theme, plugins, etc. In case anything goes wrong while updating, you can restore your data easily using the backup.

2) Choose a preferable time to update your Magento. Preferably when there’s hardly any traffic on your site.

3) Check the versions release notes to see what changes have been made.

This tutorial explains how to upgrade Magento to the latest version.

 

Method 1: Upgrade from the Magento Admin Panel

1) Log in to your Magento admin panel.

2) Navigate to “SYSTEM” tab.

Upgrade Magento

 

3) Click on “Web Setup Wizard” option.

Upgrade Magento

 

4) Select the icon “System Upgrade”.

Upgrade Magento

 

5) Enter your private key and public key in the provided fields.

Upgrade Magento

 

For upgrade or update, you must use the same authentication keys you used to install the Magento software.

 

6) Click ‘Save Config’ and then click’ system upgrade’. You can also then select the version which you need to upgrade.

 

Method 2: Upgrade from the Command Line

Updating Magento via SSH can be done via the following commands

# composer require magento/product-community-edition 2.1.3 –no-update

Replace the above version with your current Magento version.

# composer update

# rm -rf var/di var/generation

# 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

You can check your current Magento version with the following command:

 # php bin/magento –version

 

If you need any further help please do reach our support department.

 

Was this article helpful?
Dislike 0
Views: 12