I am trying to upgrade Magento from 2.3.5-p1 to 2.4.2. I have run composer require magento/composer-root-update-plugin=~1.0 --no-update
and composer update
. Then I got error on some extensions. One of them was for owebia/magento2-module-advanced-shipping-setting. So I have followed as described at https://github.com/owebia/magento2-module-advanced-shipping. But now I run composer require owebia/magento2-module-advanced-shipping:^6.0.1
I am getting below error.
Problem 1
- owebia/magento2-module-shared-php-config 6.0.1 requires php ~7.4.0|~8.0.0|~8.1.0|~8.2.0 -> your PHP version (7.3.33) does not satisfy that requirement.
- owebia/magento2-module-advanced-shipping 6.0.1 requires owebia/magento2-module-shared-php-config ^6.0.1 -> satisfiable by owebia/magento2-module-shared-php-config[6.0.1].
- Installation request for owebia/magento2-module-advanced-shipping ^6.0.1 -> satisfiable by owebia/magento2-module-advanced-shipping[6.0.1].
If I change the PHP version to 7.4 then I am getting another error as shown below.
Problem 1
- amzn/amazon-pay-and-login-with-amazon-core-module 3.4.1 requires php ~7.1.3||~7.2.0||~7.3.0 -> your PHP version (7.4.33) does not satisfy that requirement.
- amzn/amazon-pay-and-login-with-amazon-core-module 3.4.1 requires php ~7.1.3||~7.2.0||~7.3.0 -> your PHP version (7.4.33) does not satisfy that requirement.
- amzn/amazon-pay-and-login-with-amazon-core-module 3.4.1 requires php ~7.1.3||~7.2.0||~7.3.0 -> your PHP version (7.4.33) does not satisfy that requirement.
- Installation request for amzn/amazon-pay-and-login-with-amazon-core-module (locked at 3.4.1) -> satisfiable by amzn/amazon-pay-and-login-with-amazon-core-module[3.4.1].
How can I upgrade Magento?
Below is the composer.json
{
"name": "magento/project-community-edition",
"description": "eCommerce Platform for Growth (Community Edition)",
"type": "project",
"version": "2.1.5",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"require": {
"magento/product-community-edition": "2.4.2",
"composer/composer": "@alpha",
"mailchimp/mc-magento2": "*",
"authorizenet/magento-module-authorizenet": "^1.0",
"doofinder/doofinder-magento2": "^0.4.13",
"sendinblue/module-sendinblue": "^2.1",
"pronko/google-adwords": "1.1.2",
"magento/composer-root-update-plugin": "~1.0",
"owebia/magento2-module-advanced-shipping": "^6.0.1"
},
"config": {
"use-include-path": true,
"disable-tls": false
},
"autoload": {
"psr-4": {
"Magento\\Framework\\": "lib/internal/Magento/Framework/",
"Magento\\Setup\\": "setup/src/Magento/Setup/",
"Magento\\": "app/code/Magento/",
"Zend\\Mvc\\Controller\\": "setup/src/Zend/Mvc/Controller/"
},
"psr-0": {
"": "app/code/"
},
"files": [
"app/etc/NonComposerComponentRegistration.php"
]
},
"autoload-dev": {
"psr-4": {
"Magento\\Sniffs\\": "dev/tests/static/framework/Magento/Sniffs/",
"Magento\\Tools\\": "dev/tools/Magento/Tools/",
"Magento\\Tools\\Sanity\\": "dev/build/publication/sanity/Magento/Tools/Sanity/",
"Magento\\TestFramework\\Inspection\\": "dev/tests/static/framework/Magento/TestFramework/Inspection/",
"Magento\\TestFramework\\Utility\\": "dev/tests/static/framework/Magento/TestFramework/Utility/"
}
},
"minimum-stability": "alpha",
"prefer-stable": true,
"repositories": [
{
"type": "composer",
"url": "https://repo.magento.com/"
}
],
"extra": {
"magento-force": "override"
},
"require-dev": {
"allure-framework/allure-phpunit": "~1.2.0",
"friendsofphp/php-cs-fixer": "~2.16.0",
"lusitanian/oauth": "~0.8.10",
"magento/magento-coding-standard": "~3.0.0",
"magento/magento2-functional-testing-framework": "2.4.5",
"pdepend/pdepend": "~2.7.1",
"phpmd/phpmd": "^2.8.0",
"phpunit/phpunit": "^9",
"sebastian/phpcpd": "~5.0.0",
"squizlabs/php_codesniffer": "~3.5.4"
}
}