Question

I have upgraded my Magento from 2.2.7 to 2.3.3. But now, my Magento has so many issues. Is there any way to downgrade Magento 2.3.3 to 2.3.1 or 2.3.2?

Était-ce utile?

La solution

Yes you can revert it back to Magento 2.3.1 or 2.3.2, Basically you need to just run following commands on command line.

For Version Magento 2.3.1

composer require magento/product-community-edition 2.3.1 --no-update
composer update

For Version Magento 2.3.2

composer require magento/product-community-edition 2.3.2 --no-update
composer update

For Version Magento 2.3.3

composer require magento/product-community-edition 2.3.3 --no-update
composer update

Then run all the commands upgrade/static content deploy / di compilation and clear cache

Autres conseils

downgrade = lots of security issues, database trashing, possible code mess, even more different problems.

if you have only production server - correct way is to create a backup before upgrade, then just jump back.

but if you dont have any backups, then fix all the issues - it will be much cleaner and easier to maintain later.

mashing code back and forth is a bad way.

So in my case downgrading from Magento 2.4 to 2.3 would be

composer require magento/product-community-edition 2.3.3 --no-update
composer update

Then run all the commands upgrade/static content deploy / di compilation and clear cache

Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top