The docs here say that you should use the system upgrade utility:
http://devdocs.magento.com/guides/v2.0/comp-mgr/upgrader/upgrade-start.html
and do it from the admin.
I thought that you would be able to update it by changing the composer.json file to "version": "2.0.2",
and then just run composer update
.
Would this be another way to update or system upgrade utility is the only way of doing it?
Best Answer
Updating/Upgrading to Magento 2.0.2 (via
composer
)After upgrade, check your Magento version with the following command:
The above commands work fine while upgrading Magento to 2.2.x.
To upgrade to Magento 2.3.x, you need to follow some more steps.
Here's the step-by-step guide to upgrade Magento to 2.3.x:
Enable maintenance mode
Specify Magento packages
Specify additional packages
Remove unused packages
Update autoload
Open
composer.json
and edit the"autoload": "psr-4"
section to include"Zend\\Mvc\\Controller\\": "setup/src/Zend/Mvc/Controller/"
:Apply updates
Clean the Magento cache
Manually clear caches and generated content
Clear the
var
andgenerated
subdirectories:or Single Line
If you use a cache storage other than the filesystem, such as Redis or Memcached, you must manually clear the cache there too.
Update the database schema and data
Disable maintenance mode
Finally, check your Magento version
Read more: https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html