Hallo zusammen,
ich sitze mal wieder im Update Loch. Contao 4.4 auf 4.13 mit PHP Wechsel von 7.4 auf 8.1
Hosting bei Webhostone.
Im Contao Manager sieht alles gut aus. Alle Pakete auf dem neuesten Stand.
Beim Aufruf von Front und Backend kommt "Service unavailable" mit der Error Meldung im var/log:
Code:
[2023-03-15T16:38:35.225530+01:00] console.CRITICAL: Error thrown while running command "list --format=json". Message: "An option with shortcut "q" already exists." {"exception":"[object] (Symfony\\Component\\Console\\Exception\\LogicException(code: 0): An option with shortcut \"q\" already exists. at /home/www/contao4.4/vendor/symfony/console/Input/InputDefinition.php:241)","command":"list --format=json","message":"An option with shortcut \"q\" already exists."} []
Update der Compuser JSON bringt folgende Meldung:
Code:
$ /usr/bin/php8.1 -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /home/www/contao4.4/web/contao-manager.phar.php composer update --with-dependencies --no-install --no-scripts --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires php ^5.6 || ^7.0 but your php version (8.1.16) does not satisfy that requirement.
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.
# Process terminated with exit code 2
# Result: Misuse of shell builtins
- ich habe Composer Update ausführen geklickt, nicht installieren.
- Mit und ohne Cloud Resolver.
- Mit und ohne Debug Modus
hier meine Composer.json:
Code:
{
"name": "contao/managed-edition",
"type": "project",
"description": "Contao Open Source CMS",
"license": "LGPL-3.0-or-later",
"authors": [
{
"name": "Leo Feyer",
"homepage": "https://github.com/leofeyer"
}
],
"require": {
"php": "^5.6 || ^7.0",
"con4gis/forum": "^4.1.22",
"contao/calendar-bundle": "4.13.*",
"contao/comments-bundle": "4.13.*",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "4.13.*",
"contao/listing-bundle": "4.13.*",
"contao/manager-bundle": "4.13.*",
"contao/news-bundle": "4.13.*",
"contao/newsletter-bundle": "4.13.*",
"madeyourday/contao-rocksolid-columns": "^2.0",
"madeyourday/contao-rocksolid-custom-elements": "^2.2",
"madeyourday/contao-rocksolid-icon-picker": "^2.0",
"madeyourday/contao-rocksolid-slider": "^2.0"
},
"conflict": {
"contao-components/installer": "<1.3",
"contao/core-bundle": "<4.4.8"
},
"extra": {
"branch-alias": {
"dev-4.4": "4.4.x-dev"
},
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
},
"autoload": {
"psr-4": {
"": "src/"
}
}
}
Kann mir jemand helfen? Ich komm nicht weiter.
Lesezeichen