Probleme beim Update im Contao Manager
Hallo zusammen
Heute wollte ich Contao 4.4 auf 4.9 updaten :D
Habe folgende Einstellungen auf dem Server:
PHP-Version: 7.4.16
PHP ausführen als: FPM-Anwendung von nginx
Im Moment bin ich soweit und komme da irgendwie auch nicht weiter, dass wenn der Contao Manager gestartet ist alles okay, dennoch komme ich auf die Maske "Systemwiederherstellung".
Führe ich die "Reparatur" aus, kriege ich die folgende Meldung:
Code:
ERROR 403
HTTP-Anfrage für "DELETE api/task" fehlgeschlagen.
Der Server hat eine Antwort mit Status-Code 403 gesendet.
Active task cannot be deleted
Die Konsole gibt folgendes aus:
Code:
composer install
$ /opt/plesk/php/7.4/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=UTC /var/www/vhosts/domain.net/httpdocs/website/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
# Process terminated with exit code 143
# Result: Termination (request to terminate) [SIGTERM]
Anschliessend öffne ich den CM im "Abgesicherter Modus". Wenn ich nun schon nur auf die nächste Contao-Version updaten möchte, kriege ich die folgende Fehlermeldung:
Code:
composer update contao/manager-bundle contao/news-bundle contao/calendar-bundle contao/faq-bundle contao/comments-bundle contao/newsletter-bundle contao/listing-bundle contao/conflicts contao/core-bundle contao/installation-bundleErfolgreich nach 24 Sekunden. RAM-Verbrauch: 77.62MB (Spitze: 1503.68MB), Dauer: 19.22s.
> Resolving dependencies using Composer Cloud v3.0.1
!!! Current server is sponsored by: Contao Association !!!
[6.2MiB/0.24s] Loading composer repositories with package information
[66.2MiB/1.65s] Updating dependencies
[140.8MiB/19.16s] Nothing to modify in lock file
[77.3MiB/19.21s] <warning>Package contao-components/compass is abandoned, you should avoid using it. No replacement was suggested.</warning>
[77.3MiB/19.21s] <warning>Package doctrine/doctrine-cache-bundle is abandoned, you should avoid using it. No replacement was suggested.</warning>
[77.3MiB/19.21s] <warning>Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.</warning>
[77.3MiB/19.21s] <warning>Package menatwork/contao-multicolumnwizard is abandoned, you should avoid using it. Use menatwork/contao-multicolumnwizard-bundle instead.</warning>
[77.3MiB/19.21s] <warning>Package oyejorge/less.php is abandoned, you should avoid using it. No replacement was suggested.</warning>
[77.3MiB/19.22s] <warning>Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.</warning>
[77.3MiB/19.22s] <warning>Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.</warning>
[77.3MiB/19.22s] <warning>Package sensio/distribution-bundle is abandoned, you should avoid using it. No replacement was suggested.</warning>
[77.3MiB/19.22s] <warning>Package sensiolabs/security-checker is abandoned, you should avoid using it. Use https://github.com/fabpot/local-php-security-checker instead.</warning>
[77.6MiB/19.22s] Memory usage: 77.62MB (peak: 1503.68MB), time: 19.22s.
[77.6MiB/19.22s] Finished Composer Cloud resolving.
# Job ID L20kD1dl6K7DveXBaRFtsUpVKvZgLGG4IZP70GtZWgRbEEkyvQOJXMR3zTaGlzVFCaZ9UXCj1EsEnhRRv completed in 24 seconds
# Memory usage: 77.62MB (peak: 1503.68MB), time: 19.22s.
composer install
$ /opt/plesk/php/7.4/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=UTC /var/www/vhosts/domain.net/httpdocs/website/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
# Process terminated with exit code 143
# Result: Termination (request to terminate) [SIGTERM]
Kann mir hier wer weiterhelfen, wie ich vorgehen muss um Contao updaten zu können oder zumindest das die Seite wieder läuft :(
Auch Probleme nach Paket-Installation
Hallo,
ich habe eben versucht zwei Erweiterungen über den CM zu installieren, habe getestet und da hat alles funktioniert. Live hat die Installation abgebrochen. Folgende Fehlermedlung kam:
$ /opt/php73/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /hp/au/ad/zm/www/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
Using config.component-dir has been deprecated. Please use extra.contao-component-dir instead.
Installing dependencies from lock file
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
- 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.2.6 and an update of this package was not requested.
- contao-components/installer 1.2.6 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
Problem 3
- lib-xsl is present at version 1.1.29.0 and cannot be modified by Composer
- Only one of these can be installed: lib-libxslt[1.1.29], lib-xsl[1.1.29.0]. lib-libxslt replaces lib-xsl and thus cannot coexist with it.
- lib-libxslt is present at version 1.1.29 and cannot be modified by Composer
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
Bitte dringend um Hilfe, Seite läd nicht mehr.
Vilen Dank!