How To Upgrade Magento 2.3.x To Magento 2.4.x Enterprise-Edition / Commerce Cloud Edition

There are following below steps need to follow to Upgrade Magento version 2.3.x To Magento version 2.4.x for Enterprise-Edition / Commerce Cloud Edition

[1] – Take Project files & database backup

[2] – Install PHP 7.4, Mysql 5.7, Magento 2.4 also supports Mysql 8.0

[3] – Insall Elasticsearch 7.10

Check Elasticsearch working fine or not by command

curl -XGET 'http://localhost:9200'

[4] – Put site into maintenance mode by below command at Magento 2.3.x root

php bin/magento maintenance:enable

[5] – Take a backup of the composer.json by below command at Magento 2.3.x root path

cp composer.json composer.json.bak

[6] – Install the Composer update plugin by below command at Magento 2.3.x root path

composer require magento/composer-root-update-plugin=~1.0 --no-update
composer update

[7] – Update composer.json file with latest version. In our case, it is Magento Version 2.4.x

by below command at Magento 2.3.x root path

composer require magento/product-enterprise-edition=2.4.x --no-update

x = display 0,1,2,3,4, put as per your need

This command will take some time & actually download all the required
packages and upgrade your Magento version from 2.3.x to 2.4.x

composer update

[8] – Finally run below command at Magento 2.3.x root path

php bin/magento cache:clean
rm -rf var/cache/*
rm -rf var/page_cache/*
rm -rf generated/code/*
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f

[9] – Disable maintenance mode run below command at Magento 2.3.x root path

php bin/magento maintenance:disable

Remove update directory from your root folder as no need update
directory

[10] – Finally Magento 2.3.x has been successfully upgraded into Magento 2.4.x

Run upgraded Magento 2.4.x Frontend as well as Backend

Other important Magento 2.4.x issue as below

Magento 2.3 To Magento 2.4.5 Comptibility For PHP, MYSQL, Composer, Apache etc


Magento 2.4.3-p1 Installation Steps


Magento 2.4.3 Installation Steps


Magento 2.4.3 Features


Magento 2.4.3 – p1 Features


Magento 2.4 Two Factor Authentication


Magento 2.4.1 Features


Magento 2.4 Features


Magento 2.4 Installation


Magento 2.2, Magento 2.3, Magento2.4 Installation Issue on Windows 10, XAMPP


Magento 2 Installation at 51% Error: (Wrong file in Gd2.php:64) Module ‘Magento_Theme’

Leave a Reply

Your email address will not be published. Required fields are marked *