0

Does anyone here know how to upgrade from Magento 2.0.x to Magento 2.1 without losing the changes I made to Magento 2.0.x?

when i type in php composer.phar update, the command prompt says that the requested package magento/product-community-edition could not be found in any version, there may be a typo in the package name

4
  • 4
    Possible duplicate of How to update magento2 from 2.0.0 to 2.0.2
    – Keyul Shah
    Jan 18, 2017 at 17:28
  • I followed the instructions there. However, when i type in php composer.phar update, the command prompt says that the requested package magento/product-community-edition could not be found in any version, there may be a typo in the package name Jan 19, 2017 at 2:14
  • @NikJiveShizzle please add above comment to your question, so that it won't be closed as duplicate. Thank you. Feb 11, 2017 at 5:59
  • Just for more clearity, could you post the actual command you are entering?
    – circlesix
    Feb 23, 2017 at 14:14

1 Answer 1

2

If you made changes to the magento core then when you upgrade the changes will be overridden.

The way I would go about it is to make a backup of the live site. I would go into the file system and make a complete copy of the root install - leaving the live site completely in tack. Then upgrade the backup and see what broke, using the live site as an example. It would then be possible to make the changes to the backup until your happy with the overall setup. Then just change the name of the folders from "domain-backup" to "domain"

Just my .02 cents - hope it helps.

Your Answer

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

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