Contao Manager -> Composer Abhängigkeiten -> Error-Meldung
Hi zusammen,
wenn ich ich im Contao Manager (Version 1.4.1) die Composer Abhängigkeiten aktualisieren will, erhalte ich folgende Fehlermeldung.
Code:
$ /usr/bin/php7.3-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /homepages/23/d35639183/htdocs/wm-sportzentrum-website/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
The "contao-components/installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
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.
The "contao/manager-plugin" plugin was skipped because it requires a Plugin API version ("^1.1") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
The "contao-community-alliance/composer-plugin" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
The "robloach/component-installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- contao-community-alliance/composer-plugin is locked to version 3.0.9 and an update of this package was not requested.
- contao-community-alliance/composer-plugin 3.0.9 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
Problem 2
- contao-components/installer is locked to version 1.3.1 and an update of this package was not requested.
- contao-components/installer 1.3.1 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
Problem 3
- contao/manager-plugin is locked to version 2.7.1 and an update of this package was not requested.
- contao/manager-plugin 2.7.1 requires composer-plugin-api ^1.1 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
Problem 4
- ocramius/package-versions is locked to version 1.5.1 and an update of this package was not requested.
- ocramius/package-versions 1.5.1 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
Problem 5
- robloach/component-installer is locked to version 0.2.3 and an update of this package was not requested.
- robloach/component-installer 0.2.3 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
Problem 6
- lib-xsl is present at version 1.1.28.0 and cannot be modified by Composer
- Only one of these can be installed: lib-libxslt[1.1.32], lib-xsl[1.1.28.0]. lib-libxslt replaces lib-xsl and thus cannot coexist with it.
- lib-libxslt is present at version 1.1.32 and cannot be modified by Composer
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+.
You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.
# Process terminated with exit code 2
# Result: Misuse of shell builtins
Außerdem kann ich auch keine Pakete installieren oder aktualisieren. Hier erhalte ich diese Fehlermeldung:
Code:
composer update terminal42/notification_center contao-components/installer contao/conflicts
> Resolving dependencies using Composer Cloud v3.0.1
!!! Current server is sponsored by: Contao Association !!!
[6.6MiB/0.22s] Loading composer repositories with package information
[56.6MiB/1.47s] Updating dependencies
[1108.8MiB/7.22s] Your requirements could not be resolved to an installable set of packages.
[1108.8MiB/7.22s]
Problem 1
- contao/manager-plugin 2.7.1 requires composer-plugin-api ^1.1 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
- contao/manager-bundle 4.8.5 requires contao/manager-plugin ^2.4 -> satisfiable by contao/manager-plugin[2.7.1].
- contao/manager-bundle is locked to version 4.8.5 and an update of this package was not requested.
You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.
[1108.8MiB/7.22s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
[44.4MiB/8.15s] Memory usage: 44.38MB (peak: 1109.63MB), time: 8.15s.
[44.4MiB/8.15s] Finished Composer Cloud resolving.
# Cloud Job ID fEgM2RWs4QL1eehrCbZEY4dA7qIEvd2waSSRoNyUVuazjD9jONENglxmF1EqzKbbRdPCravMAfK77nz2H2zClPSnBX7WXyK3iYjUVs failed
Hoffe jemand kann mir weiterhelfen.
Liste der Anhänge anzeigen (Anzahl: 3)
Zitat:
Zitat von
Spooky
Sicher? Mache einen Screencast von dem was du machst, um zu verifizieren, dass du tatsächlich ein Composer Update durchführen lässt.
Anhang 24369
Anhang 24370
Anhang 24371
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:
Zitat von
Spooky
Einfach das Paket entfernen und dann wieder "Composer Update durhcführen".
Das kommt wenn ich das Paket entferne:
Anhang 24372
Anschließend ist das Paket immer noch da.
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:
Zitat von
Spooky
Nein, du darfst die Änderung nicht anwenden. Du musst das Paket entfernen (oder manuell aus der composer.json löschen) und dann wieder "Composer Update durchführen".
Verstehe es nicht...
Es wird doch nur ausgeführt, wenn ich die Änderungen anwende. Siehe:
Anhang 24373