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

benmarks
16.7k4 gold badges42 silver badges108 bronze badges
asked Jan 18, 2017 at 13:46
4
  • 4
    Possible duplicate of How to update magento2 from 2.0.0 to 2.0.2 Commented 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 Commented 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. Commented Feb 11, 2017 at 5:59
  • Just for more clearity, could you post the actual command you are entering? Commented 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.

answered Jan 18, 2017 at 18:59

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.