cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade from 2.2.3 to 2.4.1 direct?

Upgrade from 2.2.3 to 2.4.1 direct?

Hi, we currently have version 2.2.3 running and we are in the process of upgrading it.
We can / is advisable to upgrade from 2.2.3 to 2.4.1 or we must go through version 2.3.x before

From already thank you very much,
Regards

Federico

5 REPLIES 5

Re: Upgrade from 2.2.3 to 2.4.1 direct?

Hello @federico_falcone 

 

You don't need to upgrade to Magento 2.3 version.

You can directly upgrade from Magento 2.2.3 to the latest Magento 2.4.1 version.

 

Please run belove commands to upgrade from Magento 2.2 to Magento 2.4.1:
 
composer require magento/composer-root-update-plugin=~1.0 --no-update
composer update --ignore-platform-reqs
cp composer.json composer.json.bak
composer remove magento/product-enterprise-edition --no-update
composer require magento/product-enterprise-edition 2.4.1 --no-update
composer update --ignore-platform-reqs
I hope it helps.
Problem solved? Click Kudos and "Accept as Solution"

Re: Upgrade from 2.2.3 to 2.4.1 direct?

changes in server behavior that might require you to change your configuration or how you use the server in order to continue using 2.4 as you are currently using 2.2. To take advantage of new features in 2.4, see the New Features document citefast.

Re: Upgrade from 2.2.3 to 2.4.1 direct?

The new version of Magento open source and commerce is here and with some exciting new things and improvements. This new release has all the previous Magento 2.3.5-p1 core quality improvements. In addition to that, there are over 100 new fixes to core code and 30 security enhancements. The new version introduces support for the PHP 7.4, MySQL 8.0 and Elasticsearch7.6.x. Prepaidcardstatus

Re: Upgrade from 2.2.3 to 2.4.1 direct?

 

No, it is not advisable to upgrade from 2.3 to 2.4.1.

As you have currently version 2.2.3 running so, you

can directly upgrade from Magento 2.2.3 to the latest

Magento 2.4.1 version.

Re: Upgrade from 2.2.3 to 2.4.1 direct?

Hi, @federico_falcone 
You never need to go with the middle version to move to the latest version. Here I am sharing some of the commands to migrate from 2.2.3 to 2.4.1 easily. I recommend you to always make backup properly before starting the upgrade.
https://devdocs.magento.com/guides/v2.4/comp-mgr/cli/cli-upgrade.html
Above link is going to help you more

bin/magento maintenance:enable
composer require magento/composer-root-update-plugin=~1.0 --no-update
composer update
composer require magento/product-community-edition=2.4.1 --no-update
composer update
rm -rf var/cache/*
rm -rf var/page_cache/*
rm -rf generated/code/*
bin/magento setup:upgrade
bin/magento maintenance:disable
service varnish restart


Clear the following directories:
var/cache/
var/page_cache/
generated/code/

properly use the above commands it will upgrade your magento 2 site.


please accept as an answer if it helps

Thanks