Unser aktuelles Livesystem, dass aber im Wartungsmodus ist und nur als Vorbereitung dient, wollte ich schnell über den Updater auf 6.2.0 updaten.
Nach etwa 15min folgender Fehler:
Error
Please execute “composer install” from the command line to install the required dependencies for Shopware 6
Über composer install dafür eine Abhängikeit, die auf einemal zwingend PH 7.4 will.
-bash-4.2$ composer install
The “ocramius/package-versions” plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation (“2.0.0”). You may need to run composer update with the “–no-plugins” option.
> [! -f vendor/autoload.php] || bin/console system:update:prepare
Run Update preparations
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- ocramius/package-versions is locked to version 1.4.0 and an update of this package was not requested.
- ocramius/package-versions 1.4.0 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
Use the option --with-all-dependencies to allow updates and removals for packages currently locked to specific versions.
ocramius/package-versions only provides support for Composer 2 in 1.8+, which requires PHP 7.4.
If you can not upgrade PHP you can require composer/package-versions-deprecated to resolve this with PHP 7.0+.
Ist das jetzt wirklich vorgesehen, dass man mit Composer Workarounds anfängt?