6

How to upgrade Magento 2.3.1 to Magento 2.3.2 ?

1

4 Answers 4

6

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/cli/cli-upgrade.html

With the command line and Open source version, on your local machine, you can follow:

1) composer require magento/product-community-edition=2.3.2 --no-update

2) Apply updates: composer update.

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

6
  • if i run composer update then all vendor third party and magento core module update right? Jul 18, 2019 at 4:42
  • It's only magento core module update. About third party, it doesn't update. Jul 18, 2019 at 4:47
  • It should update with composer update command. Jul 18, 2019 at 4:52
  • @KhoaTruongDinh Do you mean third party extension will update with composer update? Jul 18, 2019 at 4:55
  • Give me the name of third party which didn't update? Jul 18, 2019 at 4:55
3

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
8
  • It work. Thank you! But don't forget php before bin/magento. Jul 18, 2019 at 4:51
  • Thanks for pointing out missing php, I have updated answer. Jul 18, 2019 at 4:56
  • We don't have the var/generation/ folder on Magento 2.3.x. Jul 18, 2019 at 5:03
  • @KhoaTruongDinh sorry It was typo I know its generated directory in root now. I fixed it. Jul 18, 2019 at 5:04
  • 1
    @AmanSrivastava but some time it doesn't work without php Jul 18, 2019 at 8:29
1

Here is the official doc to do this from Web Setup Wizard:

https://devdocs.magento.com/guides/v2.3/comp-mgr/upgrader/upgrade-start.html

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.

1
  • Thank you for you help! Aug 1, 2019 at 16:07
0

Here are the steps I used to successfully update Magento 2.3.3 [EE] to 2.3.5 [EE] I have divided the steps into parts:

Follow Below URL:

https://roshanyadav007.wordpress.com/2020/09/29/how-to-upgrade-magento-version-from-2-3-x-ee-to-2-3-x-ee/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.