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
-
4Possible duplicate of How to update magento2 from 2.0.0 to 2.0.2Keyul Shah– Keyul Shah2017年01月18日 17:28:01 +00:00Commented 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 nameNik JiveShizzle– Nik JiveShizzle2017年01月19日 02:14:49 +00:00Commented 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.Rajeev K Tomy– Rajeev K Tomy2017年02月11日 05:59:29 +00:00Commented Feb 11, 2017 at 5:59
-
Just for more clearity, could you post the actual command you are entering?circlesix– circlesix2017年02月23日 14:14:57 +00:00Commented Feb 23, 2017 at 14:14
1 Answer 1
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.