cancel
Showing results for 
Search instead for 
Did you mean: 

Error Upgrade Magento from 2.4.4-p2 to 2.4.6

Error Upgrade Magento from 2.4.4-p2 to 2.4.6

Hi everyone, I've been using magento2 for a few months but I'm having trouble understanding how to update.

Could anyone help me understand what this error means and how to fix it? BUT Upgrade should not install all updates automatically?

 

php bin/magento maintenance:enable

composer require magento/product-community-edition 2.4.6 --no-update
composer update --ignore-platform-reqs


>>>>

Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
In Laminas\DependencyPlugin\DependencyRewriterV2:Smiley SurprisednPrePoolCreate
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires magento/product-community-edition 2.4.6 -> satisfiable by magento/product-community-edition[2.4.6].
- magento/product-community-edition 2.4.6 requires colinmollenhour/credis ^1.13 -> found colinmollenhour/credis[v1.13.0, v1.13.1, v1.14.0] but it conflicts with your root composer.json require (1.12.1).


>>>>

Thansk Alessandro

1 REPLY 1

Re: Error Upgrade Magento from 2.4.4-p2 to 2.4.6

Hello @aghezzisec1096 

 

Please follow the steps below:

  1. Please delete composer.lock file (Please make sure to keep a backup).

  2. Please try updating using the following command:

      composer require magento/product-community-edition 2.4.6 -W

  3. Composer Update:
    1. Please run composer update
  4. Please update the database schema and data. bin/magento setup:upgrade
  5. Please disable Magento maintenance mode. bin/magento maintenance:disable
  6. Please restart Varnish.
    1. (Optional) Restart Varnish If you use it for page caching: service varnish restart

If you find our reply helpful, please give us kudos.

 

A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.

 

WebDesk Solution Support Team

Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789


Location: 150 King St. W. Toronto, ON M5H 1J9