Want to make your online store safe ? If you are associated with the eCommerce industry, you must be aware of the Magento® platform and of course it’s new Version Magento® 2. Many of you may even have your online store developed in this very platform. But do you know that you should upgrade/update your store so as to keep up to date and have the latest features in your store. Yes, we are talking about the Magento® 2 installation update. Here, we will discuss the ways in which you can update your Magento® 2 store.
2. Magento® 2 Installation Overview
To the people who are taking their business to the online market, it is very
important that they rely on something which is strong and steady. Many of the
eCommerce businesses are running on Magento® and its new version Magento® 2.
In our previous presentations, we have shared the whole process for Magento® 2
installation.
You need to check the system requirements and its compatibility before the
installation process. Then download and install composer setup, make changes in
root directory, run different commands, add various details and then finally install
the Magento® 2.
www.mconnectmedia.com
3. Reasons to Update Magento® 2 Store
Make a habit of updating your Store for the following reasons and benefits:
A regular update of your store leads to newest Magento® Features.
It fixes the security issues of your store
Ensures the store safety
No update of the store may give a chance of making a target for hacking.
www.mconnectmedia.com
4. Get Ready for the Updating Process
Before you proceed for updating your Magento® 2 store, follow the below-given
steps carefully:
Clean and take the recent backup of file and database
To see the changes made, check for the release notes of the current version
Wisely select a time to update when there is less traffic on your store
Before you make live your updated store, test all the features in test environment to
make sure the updates are compatible with your store
www.mconnectmedia.com
5. Different Ways to Update
When you have installed the Magento® for your store, you may have heard of
different ways to do it. Likewise, there are various ways to update previously
installed Magento® 2:
Web setup Wizard
Command-Line or Terminal
With sample data - Terminal
www.mconnectmedia.com
6. Web Setup Wizard
1. Navigate to: System > Tools > Web Setup Wizard > System Upgrade.
2. One the System Upgrade page, you will have to select a version to which you wish
to upgrade to.
3. Click on Next button.
4. Before you upgrade the version, take the backup of the database by clicking on
‘Create backup’.
5. Once the backup has been created, you can finish the upgrade process. Click on
‘Upgrade’ to finish.
www.mconnectmedia.com
7. Terminal (Command Line Interface)
If you are upgrading your Magento® based eCommerce store without any sample
data, then you need to first get MDVA-532 patch and then apply it in your store.
Follow the below steps for the upgrade:
1. Login to your Magento® admin panel and go to directory where you have
installed the software.
2. Then, add the below given commands:
composer require magento/product-community-edition-2,0,6 --no-update
composer update.
www.mconnectmedia.com
8. Terminal (Command Line Interface) Cont…
3. Enter the keys for authentication when the command appears fine.
4. Enter the below command for updating schema and data:
php bin/magento setup:upgrade
5. Check your storefront for the changes made.
www.mconnectmedia.com
9. With Sample Data - Terminal
You can update your store using Terminal if you have already installed the
sample data. Follow the steps.
1. Enter the following command in terminal:
composer require magento/product-community-edition-2.1.0 --no-update
www.mconnectmedia.com
10. With Sample Data – Terminal Cont…
2. Then enter the next command:
composer require magento/module-bundle-sample-data:100.1.0 magento/module-widget-
sample-data:100.1.0 magento/module-theme-sample-data:100.1.0 magento/module-catalog-
sample-data:100.1.0 magento/module-customer-sample-data:100.1.0 magento/module-cms-
sample-data:100.1.0 magento/module-catalog-rule-sample-data:100.1.0 magento/module-
sales-rule-sample-data:100.1.0 magento/module-review-sample-data:100.1.0
magento/module-tax-sample-data:100.1.0 magento/module-sales-sample-data:100.1.0
magento/module-grouped-product-sample-data:100.1.0 magento/module-downloadable-
sample-data:100.1.0 magento/module-msrp-sample-data:100.1.0 magento/module-
configurable-sample-data:100.1.0 magento/module-product-links-sample-data:100.1.0
magento/module-wishlist-sample-data:100.1.0 magento/module-swatches-sample-
data:100.1.0 magento/sample-data-media:100.1.0 magento/module-offline-shipping-sample-
data:100.1.0 --no-update
composer update
www.mconnectmedia.com
11. With Sample Data – Terminal Cont…
4. Wait for sometime and then reset the file systems.
5. Finally run:
php bin/magento setup:upgrade
Before you make this change in the live site, test it in the development
environment.
www.mconnectmedia.com
12. Finish !
We have now finished the different ways of updating the Magento® 2 based
eCommerce stores. Magento® is an open source platform but it is not easy to perform
each and every task without any efforts.
www.mconnectmedia.com
13. Are you planning to update your older
Magento® version?
The ways and steps we just discussed for Magento® updates are quite complicated to
understand and follow. It may happen that we are quick learners and skilled person
but everyone is not a expert developer.
But you don’t have to worry. If you need any assistance at any point or step, we are just
an email, message or call away from you. For More Detail Visit our Official Website :
https://www.mconnectmedia.com/magento-development/
www.mconnectmedia.com