How to upgrade my website to latest release magento-2.1.2 ?
-
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.html– Hitesh VaghasiyaCommented 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 DevloperCommented Oct 13, 2016 at 11:54
-
Is this working for you?– Rakesh JesadiyaCommented 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 DevloperCommented Oct 14, 2016 at 5:41
Add a comment
|
2 Answers
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
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
-
Does upgrading from older to newer version affects Data Loss? We have to take backup before Upgrading? Commented 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.– DevtypeCommented Oct 13, 2016 at 12:11
-
-
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 :)– DevtypeCommented Oct 13, 2016 at 12:27
-
i also need your help in this issue...magento.stackexchange.com/questions/137177/… Commented Oct 14, 2016 at 5:43