cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade from 2.2.3 to 2.4.1 direct?

SOLVED

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

1 ACCEPTED SOLUTION

Accepted Solutions

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".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

View solution in original post

9 REPLIES 9

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".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

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

Re: Upgrade from 2.2.3 to 2.4.1 direct?

i want to update the version from Magento 2.2.5 to 2.4.2 . Can I do this by using localhost ?
and what should be the php version ?

Re: Upgrade from 2.2.3 to 2.4.1 direct?

Hi, 

After the upgrade process, The Magento site is now accessible with PHP 7, it means the website is upgraded to the latest version but the issue is, the website is not loading properly. The frontend is defaced completely (CSS is not loading ) and Admin paned is accessible (showing error). 
I'm localhost Wamp sever. 

Can you please assist me ? 

Advance thanks 

Re: Upgrade from 2.2.3 to 2.4.1 direct?

Hi,

how did you manage to solve the upgrade?

I am preparing something similar from 2.2 to 2.4.3 so I am try to understand the challenges

Re: Upgrade from 2.2.3 to 2.4.1 direct?

Could you elaborate how much time it took to Migrate - Approximately.

 

What about Extensions and other Customizations. Normally how long does a Migration Project take? 

How about the Database of Transactions? 

Re: Upgrade from 2.2.3 to 2.4.1 direct?

med fokus på säkerhet och speciallösningar. Våra produkter är.

branddörrar

Re: Upgrade from 2.2.3 to 2.4.1 direct?

Hi Federico,

excuse me but do you have try to uypdate magento from 2.2 to 2.4?
how did you do with the php version?

I have a problem: after the composer require and the update magento asks me to update the php.
but if i upgrade the php the magento upgrade will no longer work because technically i'm still on magento 2.2 which only works up to php 7.1 and i don't know how to go on