Reputation: 69
How how do I migrate my old magento(2.1.5) database to my new magento2.3.3 ? my website run environment is : centos 6.9 apache 2.4 php 7.2.24 mysql 5.7.28
my new magento 2.3.3 is a clean project. no data ,no theme,no extension.
Upvotes: 0
Views: 230
Reputation: 147
You need to know your server requirement for migrating 2.3.3 Server/System Requirement for Magento 2.3.3
Then, the second thing that you need to take the backup of database and your files from the server
php bin/magento maintenance:enable
composer require magento/product-community-edition=2.3.3 --no-update
"autoload": {
"psr-4": {
"Magento\\Framework\\": "lib/internal/Magento/Framework/",
"Magento\\Setup\\": "setup/src/Magento/Setup/",
"Magento\\": "app/code/Magento/",
"Zend\\Mvc\\Controller\\": "setup/src/Zend/Mvc/Controller/"
},}
You need to add "Zend\Mvc\Controller\": "setup/src/Zend/Mvc/Controller/" this line as mentioned above.
composer update
php bin/magento cache:clean
php bin/magento setup:upgrade
php bin/magento maintenance:disable
php bin/magento --version
You can check detail information for migrating and upgrading Magento2 Official Website for Command-Line Upgrade
Upvotes: 2