How to upgrade Magento 2.3.1 to Magento 2.3.2 ?
As far as I know, there are two main ways:
- If using command line composer, you can follow this guide:
- https://devdocs.magento.com/guides/v2.3/comp-mgr/upgrader/upgrade-start.html (I haven't tried yet with Admin)
With the command line and Open source version, on your local machine, you can follow:
composer require magento/product-community-edition=2.3.2 --no-update
2) Apply updates:
3) Clean the Magento cache
php bin/magento cache:clean or
rm -rf var/cache/* var/page_cache/* generated/code/*
4) Update the database schema and data
php bin/magento setup:upgrade
Please use below commands to upgrade from 2.3.1 to 2.3.2
(it is wise to keep backup of source code and database before upgrade)
php bin/magento maintenance:enable composer require magento/product-community-edition 2.3.2 --no-update composer update rm -rf var/cache/ rm -rf generated/ chmod +x bin/magento php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f php bin/magento indexer:reindex php bin/magento maintenance:disable
Here is the official doc to do this from Web Setup Wizard:
First meet the Prerequisites.
Then, start upgrade by updating your public and private keys with your Magento 2 Open source account or Enterprise Edition Account.