How to upgrade my website to latest release magento-2.1.2 ?
 Teja Bhagavan Kollepara
 
 3,8275 gold badges33 silver badges69 bronze badges
 
 
 asked Oct 13, 2016 at 11:47
 
 
 
 Magento2 Devloper 
 
 2,1443 gold badges26 silver badges59 bronze badges
 
 - 
 follow this link :devdocs.magento.com/guides/v2.0/comp-mgr/cli/cli-upgrade.html And devdocs.magento.com/guides/v2.0/comp-mgr/cli/cli-rc1-samp.htmlHitesh Vaghasiya– Hitesh Vaghasiya2016年10月13日 11:51:01 +00:00Commented Oct 13, 2016 at 11:51
 - 
 I have no ssh still I have working on a local machine..and also I have to try to upgrade above link but not work for me in local.Magento2 Devloper– Magento2 Devloper2016年10月13日 11:54:35 +00:00Commented Oct 13, 2016 at 11:54
 - 
 Is this working for you?Rakesh Jesadiya– Rakesh Jesadiya2016年10月13日 17:38:11 +00:00Commented Oct 13, 2016 at 17:38
 - 
 yeh it's working..but some bug not fix in latest Magento like as payment related..like as magento.stackexchange.com/questions/137177/…Magento2 Devloper– Magento2 Devloper2016年10月14日 05:41:07 +00:00Commented Oct 14, 2016 at 5:41
 
2 Answers 2
Using composer,
Go to your system root using command line, run below command,
composer require "magento/product-community-edition:2.1.2" --no-update
composer update
After complete clean cache, run setup and deploy command
 php bin/magento cache:clean
 php bin/magento setup:upgrade
 php bin/magento setup:static-content:deploy
 php bin/magento indexer:reindex
 
 answered Oct 13, 2016 at 11:55
 
 
 
 Rakesh Jesadiya 
 
 42.5k19 gold badges135 silver badges186 bronze badges
 
 - 
 possible in local machine?Magento2 Devloper– Magento2 Devloper2016年10月13日 11:57:04 +00:00Commented Oct 13, 2016 at 11:57
 - 
 yes you can first try with local machine.Rakesh Jesadiya– Rakesh Jesadiya2016年10月13日 12:01:38 +00:00Commented Oct 13, 2016 at 12:01
 
For composer update (recommended) you can follow steps specified in this stackexchange thread which are also given below.
composer require magento/product-community-edition 2.1.2 --no-update
composer update
rm -rf var/di var/generation var/view_preprocessed var/cache var/page_cache
chown -R user:group .
chmod u+x bin/magento
bin/magento cache:flush
bin/magento setup:upgrade
bin/magento setup:static-content:deploy
bin/magento indexer:reindex
 
 answered Oct 13, 2016 at 11:54
 
 
 
 Devtype 
 
 2,9683 gold badges26 silver badges37 bronze badges
 
 - 
 Does upgrading from older to newer version affects Data Loss? We have to take backup before Upgrading?Magento2 Devloper– Magento2 Devloper2016年10月13日 11:59:33 +00:00Commented Oct 13, 2016 at 11:59
 - 
 Backup should be taken every time before doing upgrades etc. In my case there was no data loss and site is working normally as it should.Devtype– Devtype2016年10月13日 12:11:45 +00:00Commented Oct 13, 2016 at 12:11
 - 
 Ok..Thanx @ DevtypeMagento2 Devloper– Magento2 Devloper2016年10月13日 12:12:47 +00:00Commented Oct 13, 2016 at 12:12
 - 
 Please don't post thanks comments, but instead upvote and accept the answer. So the threads don't get littered but can easily be read with on topic stuff :)Devtype– Devtype2016年10月13日 12:27:37 +00:00Commented Oct 13, 2016 at 12:27
 - 
 i also need your help in this issue...magento.stackexchange.com/questions/137177/…Magento2 Devloper– Magento2 Devloper2016年10月14日 05:43:01 +00:00Commented Oct 14, 2016 at 5:43
 
default