cancel
Showing results for 
Search instead for 
Did you mean: 

Error while updating magento 2.3.4 to 2.4.2 via composer

Error while updating magento 2.3.4 to 2.4.2 via composer

I have used the following link to upgrade :- Link . But I am getting the below error

 

I am using PHP 7.3.25

Composer version 1.10.20

Current Magento Version: 2.3.4

 

Error:-

Problem 1
- Installation request for magento/product-community-edition 2.4.2 -> satisfiable by magento/product-community-edition[2.4.2].
- magento/product-community-edition 2.4.2 requires colinmollenhour/cache-backend-redis 1.11.0 -> satisfiable by colinmollenhour/cache-backend-redis[1.11.0] but these conflict with your requirements or minimum-stability.

 

Any help would be appriciated. Thanks in advance.

1 REPLY 1

Re: Error while updating magento 2.3.4 to 2.4.2 via composer

@vijendersa5e68 

 

@vijendersa5e68 

 

Hi,

 

Pay attention to the minimum prerequisites to proceed with the upgrade.


The following instructions show you how to upgrade Magento using Composer. Magento 2.4.2 introduced support for Composer 2. If you are attempting to upgrade from Magento <2.4.1, you must first upgrade to a version of Magento that is compatible with Composer 2 (for example, 2.4.2) using Composer 1 before upgrading to Composer 2 for Magento >2.4.2 upgrades.

 

Source: https://devdocs.magento.com/guides/v2.4/comp-mgr/cli/cli-upgrade.html