Composer Update nicht möglich nach PHP Umstellung auf 8.1.0
Hallo,
nachdem ich die PHP Version von 7 auf 8 umgestellt habe kann ich keine Erweiterungen mehr deinstallieren oder updaten.
Ein Beispiel bei einem meiner Kundenseiten.
Die Konsole zeigt folgendes an.
Code:
/usr/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /kunden/77128_60437/webseiten/Contao-4/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
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
- codefog/contao-cookiebar is locked to version 2.3.1 and an update of this package was not requested.
- codefog/contao-cookiebar 2.3.1 requires php ^5.4|^7.0 -> your php version (8.1.10) does not satisfy that requirement.
Problem 2
- erdmannfreunde/sirius-se is locked to version 1.9.0 and an update of this package was not requested.
- erdmannfreunde/sirius-se 1.9.0 requires php ^7.1 -> your php version (8.1.10) does not satisfy that requirement.
Problem 3
- laminas/laminas-code is locked to version 3.4.1 and an update of this package was not requested.
- laminas/laminas-code 3.4.1 requires php ^7.1 -> your php version (8.1.10) does not satisfy that requirement.
Problem 4
- lcobucci/jwt is locked to version 3.4.6 and an update of this package was not requested.
- lcobucci/jwt 3.4.6 requires php ^5.6 || ^7.0 -> your php version (8.1.10) does not satisfy that requirement.
Problem 5
- lcobucci/jwt 3.4.6 requires php ^5.6 || ^7.0 -> your php version (8.1.10) does not satisfy that requirement.
- scheb/2fa-trusted-device v5.13.2 requires lcobucci/jwt ^3.4|^4.0 -> satisfiable by lcobucci/jwt[3.4.6].
- scheb/2fa-trusted-device is locked to version v5.13.2 and an update of this package was not requested.
# Process terminated with exit code 2
# Result: Misuse of shell builtins
Wäre es sinnvoll die PHP Umstellung rückgängig zu machen und dann mit der Version PHP 7 die Pakete zu aktualisieren?
Wenn das dann erfolgreich ist, noch einmal auf PHP 8 und dann den Composer zu aktualisieren?
Danke im Voraus.
Liste der Anhänge anzeigen (Anzahl: 2)
Zitat:
Zitat von
Spooky
Da fehlt aber der Teil der Konsolenausgabe des Cloud Resolvers.
anbei zwei Ausschnitte wie es bei mir aussieht.
Anhang 26029
Anhang 26030
das erscheint wenn ich dann auf bestätigen klicke.
Die Webseite wird zum Glück online korrekt dargestellt.
Liste der Anhänge anzeigen (Anzahl: 2)
Zitat:
Zitat von
Spooky
Poste einen Screenshot dieses Tasks.
Anhang 26037
Anhang 26038
Liste der Anhänge anzeigen (Anzahl: 2)
Zitat:
Zitat von
Spooky
Nein, das hast du falsch verstanden. Es stimmt zwar, dass bei composer install kein Cloud Resolver benutzt wird (weil nicht notwendig), geschrieben habe ich aber folgendes:
Das heißt, du musst zuerst in der Serverkonfiguration (beim Start des Contao Managers) den Cloud Resolver deaktivieren und dann "Composer Update ausführen". (NICHT "Installer ausführen"!)
:D
Anhang 26040
Anhang 26041
Du meinst hier an dieser Stelle?