I have an issue with the upgrade of Magento from 2.4.3-p2 to 2.4.4.
Here my steps to reproduce:
composer require magento/product-community-edition 2.4.4 --no-update
composer update php-amqplib/php-amqplib
I have tried with option -W, but i get always this exception:
*Problem 1
- Root composer.json requires magento/product-community-edition 2.4.4, found magento/product-community-edition[2.4.4] but the package is fixed to 2.4.3-p2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Problem 2
- Root composer.json requires friendsofphp/php-cs-fixer 3.3.0, found friendsofphp/php-cs-fixer[v3.3.0] but the package is fixed to v2.18.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command......
Problem 3*
Could someone tell me, how can I start the upgrade with all dependencies?
Hint: This commande doesn't work "composer update -W"
Thanks alot
You can update the correct version on composer.json
Or just use the following command
composer require magento/product-community-edition 2.4.4 --update-with-all-dependencies
composer update php-amqplib/php-amqplib --with-all-dependencies
Related
I'd like to upgrade magento from 2.3.4 to 2.4.3.
But I cannot upgrade it.
this is error.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires magento/product-community-edition 2.4.3 -> satisfiable by magento/product-community-edition[2.4.3].
- magento/product-community-edition 2.4.3 requires php ~7.3.0||~7.4.0 -> your php version (7.2.34) does not satisfy that requirement.
Problem 2
- Root composer.json requires dealerdirect/phpcodesniffer-composer-installer ^0.5.0 -> satisfiable by dealerdirect/phpcodesniffer-composer-installer[v0.5.0].
- dealerdirect/phpcodesniffer-composer-installer v0.5.0 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
I am using cpanel now. In cpanel I set php version is 7.4
PHP 7.4.33 (cli) (built: Nov 10 2022 11:12:07) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies
what is the reason?
See if you're really using php 7.4 by typing php -v in the terminal. When you are sure that your php version is correct, delete the composer.lock file (make a backup beforehand). Try updating with the command:
composer require magento/product-community-edition:2.4.5 -W
If that doesn't work, post the contents of the composer.json file
If you are migrating from 2.3.4 to 2.4.3, you need to make the following and please follow these below steps:
1: Backup composer.json: Run the command
cp composer.json composer.json.bak
2: Upgrade your Magento: Run the commmand
composer require-commerce magento/<product> <version> --no-update [--interactive-root-conflicts] [--force-root-updates] [--help]
3: Update the dependecies:
composer update
For example, Specify the metapackage:
Magento Open Source: composer require-commerce magento/product-community-edition 2.4.4 --no-update
Adobe Commerce: composer require-commerce magento/product-enterprise-edition 2.4.4 --no-update
4: Composer Update: Run composer update
5: Update the database schema and data. bin/magento setup:upgrade
6: Disable Magento maintenance mode. bin/magento maintenance:disable
7: Restart Varnish. (Optional) Restart Varnish If you use it for page caching: service varnish restart
Please switch to PHP 7.4 first then check perform the upgrade.
I am installing Auctane-ShipStation module for Magento 2.3.4 by referring the following site https://help.shipstation.com/hc/en-us/articles/360025855652-Magento#connect-a-magento-store-to-shipstation-0-1.
There is no option to directly download the shipstation module. They are asking to install it via composer. I am using " composer require auctane/api:2.2.9 " command to install it but it is giving error " [InvalidArgumentException] Could not find a matching version of package auctane/api. Check the package spelling, your version constraint and the package is available in a stability which matches your minimum-stability( stable). "
Open your composer.json if that package has no stable version then you have to change your minimum-stability to dev.
https://getcomposer.org/doc/04-schema.md#minimum-stability
What I've tried:
I tried with:
composer create-project symfony/framework-standard-edition my_project_name "4.2.*"
But get:
" Could not find package symfony/framework-standard-edition with version 4.2.10."
And I need the exact one. Any help?
The package symfony/framework-standard-edition is for 3.4.* version. For 4.2.* you should use symfony/website-skeleton.
composer create-project symfony/website-skeleton my_project_name "4.2.*"
More details in the official documentation.
After cloning & while doing composer update I am getting the error :
Installation request for zofe/rapyd dev-master
Conclusion: don't install intervention/image 2.4.2
.......
......
......
I am using xampp 7.2.8 , composer 1.7.1, Windows 10 in Virtualbox.
I have cloned the created database, but unable to run the composer update or php artisan migrate as mentioned in https://github.com/raylight75/cms#official-documentation .
Could someone help me ?
I have posted the same issue in https://github.com/raylight75/cms/issues/8
From the composer log you've posted, it looks like the package you are trying to install zofe/rapyd#dev-master is not compatible with the version of Laravel you're using.
The log you've posted also differs to the error you've posted in your question. There is no mention of intervention/image in the logs. Instead, the log is showing an issue with laravelcollective/html and nesbot/carbon.
Try installing the latest stable version by updating the composer.json file and changing the version from dev-master to ~2.2. The latest stable version is v2.2.7, while version 2.6.3 is pre-release, but supports Laravel 5.6.
The issue may also be fixed by updating your version of Laravel to v5.6. However, this is likely to be more work than just using a lower version of zofe/rapyd.
I am new to TYPO3 and tried to install the official introduction package.
I found the package in the extension manager and clicked install but got the following message:
Could not install distribution 'bootstrap_package'
Your TYPO3 version is lower than this extension requires. It requires TYPO3 versions 6.2.14 - 7.99.99
I am using TYPO3 version 6.2.11.
I installed the system via docker TYPO3-docker-boilerplate.
I think this tool uses composer to get the TYPO3 base distribution.
I tried the upgrade wizard but there was no option to choose a specific version to upgrade to. So how can I upgrade TYPO3 to version 6.2.14?
I need to use version 6.2.
Unfortunately, the cms-base-distribution Composer package hasn't been updated since March. So you have to set the typo3/cms package in the composer.json file to the version you need (latest stable version of 6.2 is 6.2.15). The file is located in the code directory.
Then run composer update in the same directory.
This should update one dependency and the cms package itself:
- Removing helhum/class-alias-loader (1.0.99)
- Installing helhum/class-alias-loader (1.1.5)
Downloading: 100%
- Removing typo3/cms (6.2.11)
- Installing typo3/cms (6.2.15)
Downloading: 100%