Hello Community,
We are planing to upgrade one of our project to Magento 2.2 . Right now we are using Community Edition with version 2.0.7 . As this is our first migration we are not sure about exact steps of migration . So can you please guide us How to make this work ?
How can we migrate the entire code and database to Magento 2.2 ?
Is there any tool available for migration ? Does Magento 2.2 contains too many database table changes than 2.0.7 ?
What are the proper steps for code and db migration ?
Thanks in advanced !
Hello @maratheprash
Magento update using CLI.
1. Step
2. Step
php bin/magento deploy:mode:set developerUpgrade Magento 2.1.0
bin/magento maintenance:enable composer require magento/product-community-edition 2.1.0 --no-update composer update rm -rf var/di/* var/generation/* var/cache/* var/log/* var/page_cache/* var/session/* var/view_preprocessed/* pub/static/* php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:clean php bin/magento cache:flush php bin/magento indexer:reindexPlease check website is working properly, If not working fix the error and check the error log.
3. Step
bin/magento maintenance:enable composer require magento/product-community-edition 2.2.7 --no-update composer update rm -rf var/di/* var/generation/* var/cache/* var/log/* var/page_cache/* var/session/* var/view_preprocessed/* pub/static/* php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:clean php bin/magento cache:flush php bin/magento indexer:reindexPlease check website is working properly or not, If not working fix the error and check the error log.
4. Step
magento deploy:mode:set production
Hey @HitsVaghasiya
Thanks for your help !
Upgrading from 2.0.7 t0 2.1 as per you steps. everything works fine except catalog product grid in admin section .
It is showing me error -
Undefined index: websites in vendor/magento/module-catalog/Ui/Component/Listing/Columns/Websites.php on line 58
Is there any solution for this ?