I excidently upgraded the magento version from 2.2.0 to 2.2.1 through composer. Is there a proper way to downgrade back to 2.2.0? I have a database backup of magento 2.2.0.

  • Have you tried as per my answer? Dec 14, 2017 at 6:49

1 Answer 1


I had the same problem and Magento2 doesn't support roll-back completely.

What to do:-

  • First of all, you have to make your code to 2.2.0. You can do that by using composer.
composer require magento/product-community-edition 2.2.0 --no-update

composer update
  • If you have a DB copy of your Magento 2.2.0 than link current app [2.2.0] to it and run upgrade. It will bring your 2.2.1 DB to 2.2.0 and you will be in sync again.

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.