What are the technical steps to upgrade Magento ver. 2.3.4 to Latest Magento ver.2.4.0?
-
14-04-2021 - |
質問
I am trying to upgrade store from Magento ver. 2.3.4 to Latest Magento ver.2.4.0
Can anybody advise me what are the ideal steps to upgrade ?
解決
You can do the upgrade in this way :
1. create development server from the live site.
2. Upgrade the development website.
3. Do the bug solve and testing. and check everything is working fine.
4. Then you can move the only files from development server to live server.
5. Run the deploy and upgrade, caching and indexing command and check.
Here is the technical command to upgrade the magento :
Backup the composer.json file.
cp composer.json composer.json.bak
Add or remove specific packages based on your needs.
composer remove magento/product-community-edition --no-update
Indicate the Magento packages, both the edition and the version that you want to upgrade to.
composer require magento/product-community-edition=2.3.5 --no-update composer update
所属していません magento.stackexchange