1

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 ?

2

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 :

  1. Backup the composer.json file.

    cp composer.json composer.json.bak
    
  2. Add or remove specific packages based on your needs.

    composer remove magento/product-community-edition --no-update
    
  3. 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
    
7
  • Thankyou very much Dhiren sir, this is helpful. Can you please add the technical commands/way to do so ? like( db backup or upgrade through cli). whichever is the best practice. Aug 24 '20 at 5:04
  • 1
    actual upgrade have 2 way. you can do it by command or manually file replace as well. Aug 24 '20 at 5:07
  • Also can you please elaborate which files you are talking about in point no. 4 ? Aug 24 '20 at 5:08
  • Exactly, the ideal practice says to Update Magento 2 with composer. Correct me if i am wrong. Aug 24 '20 at 5:08
  • Please check the command to upgrade magento. Aug 24 '20 at 5:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.