How do I update Magento

How do I upgrade Magento 2.1.7 to Magento 2.2? Is it possible to upgrade?


I wanted to know, if it is possible Magento from 2.1.7 to 2.2 to update . Or what is a solution to upgrade all Magento 2.1.7 stores to Magento 2.2? If we are going to update it, then what are the challenges we need to be prepared for?

Please let me know if there is a solution for this or not.






Reply:


The following describes how I upgraded from 2.1.9 to 2.2.0:

Change the version number for further upgrades:






I had problems with some custom modules. Check for updates from Magento 2.2 for custom modules used on the following operating systems:

Magento \ Framework \ Mail \ TransportInterface - add new method getMessage

(Modules Smtp, Mail etc.)

Magento \ Rule \ Model \ AbstractModel - Serialization replaced by json

(Used modules rule)


Update Magento 2.1.7 to Magento 2.2.2

Edit composer.json

Errors may occur during the upgrade that need to be corrected. After the upgrade is successful, run the following commands. It's time to take a step.

Source blog





composers need magento / product-community-edition 2.2.x - no-update

Feel free to ask any questions


We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By continuing, you consent to our use of cookies and other tracking technologies and affirm you're at least 16 years old or have consent from a parent or guardian.

You can read details in our Cookie policy and Privacy policy.