composer install läuft nicht durch
Update auf Contao 5.3
Es läuft PHP 8.2 (8.1 hatte ich vorher auch schon probiert)
Hoster: Alfahosting
Hallo, das Update auf Contao 5.3. läuft nicht durch. Nach diversen Versuchen auch mit "Automatische Reparatur" und "Abgesicherter Modus" scheitert der Contao-Manager bei "composer install".
"composer update --no-install" vorher ist aber grün abgehakt. Es wird dann die folgende Ausgabe angezeigt, mit der ich aber leider nichts anfangen kann, da ich nur mit dem Manager arbeite und mir tiefere Kenntnisse fehlen :-(
Code:
vendor/bin/contao-console list
In ArrayNode.php line 327:
Unrecognized option "prepend_locale" under "contao". Available options are
"backend", "backup", "console_path", "crawl", "cron", "csp", "csrf_cookie_p
refix", "csrf_token_name", "editable_files", "error_level", "image", "inser
t_tags", "intl", "localconfig", "locales", "mailer", "messenger", "pretty_e
rror_screens", "preview_script", "sanitizer", "search", "security", "upload
_path".
Vorher erscheint dieser Code:
Code:
$ /opt/plesk/php/8.2/bin/php -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 /var/www/vhosts/a24vmj8s.web29.alfahosting-server.de/plus15.plusweb.se/public/contao-manager.phar.php composer require contao/manager-bundle=5.3.* contao/news-bundle=5.3.* contao/calendar-bundle=5.3.* contao/faq-bundle=5.3.* contao/comments-bundle=5.3.* contao/newsletter-bundle=5.3.* contao/listing-bundle=5.3.* --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
/var/www/vhosts/a24vmj8s.web29.alfahosting-server.de/plus15.plusweb.se/composer.json has been updated
# Process terminated with exit code 0
# Result: OK
> Resolving dependencies using Composer Cloud v3.7.0
[6.9MiB/0.25s] Loading composer repositories with package information
[93.4MiB/15.45s] Updating dependencies
[34.0MiB/16.78s] Lock file operations: 14 installs, 76 updates, 6 removals
[34.0MiB/16.79s] - Removing contao/installation-bundle (4.13.37)
[34.0MiB/16.79s] - Removing paragonie/random_compat (v9.99.100)
[34.0MiB/16.79s] - Removing sensiolabs/ansi-to-html (v1.2.1)
[34.0MiB/16.79s] - Removing symfony/polyfill-php81 (v1.29.0)
[34.0MiB/16.80s] - Removing symfony/security-guard (v5.4.35)
[34.0MiB/16.80s] - Removing symfony/templating (v6.4.3)
[34.0MiB/16.80s] - Upgrading contao-components/chosen (1.2.5 => 2.0.2)
[34.0MiB/16.80s] - Upgrading contao-components/datepicker (2.3.2 => 3.0.0)
[34.0MiB/16.80s] - Locking contao-components/handorgel (1.0.0.1)
[34.0MiB/16.81s] - Upgrading contao-components/simplemodal (2.1.2 => 3.0.1)
[34.0MiB/16.81s] - Locking contao-components/swiper (11.0.6.1)
[34.0MiB/16.81s] - Upgrading contao-components/tinymce4 (5.10.9 => 6.8.3)
[34.0MiB/16.81s] - Locking contao-components/tristen-tablesort (5.3.0)
[34.0MiB/16.81s] - Upgrading contao/calendar-bundle (4.13.37 => 5.3.0)
[34.0MiB/16.81s] - Upgrading contao/comments-bundle (4.13.37 => 5.3.0)
[34.0MiB/16.82s] - Upgrading contao/core-bundle (4.13.37 => 5.3.0)
[34.0MiB/16.82s] - Upgrading contao/faq-bundle (4.13.37 => 5.3.0)
[34.0MiB/16.82s] - Upgrading contao/listing-bundle (4.13.37 => 5.3.0)
[34.0MiB/16.82s] - Upgrading contao/manager-bundle (4.13.37 => 5.3.0)
[34.0MiB/16.82s] - Upgrading contao/news-bundle (4.13.37 => 5.3.0)
[34.0MiB/16.83s] - Upgrading contao/newsletter-bundle (4.13.37 => 5.3.0)
[34.0MiB/16.83s] - Locking debril/feed-io (v6.0.3)
[34.0MiB/16.83s] - Upgrading doctrine/collections (1.8.0 => 2.2.0)
[34.0MiB/16.83s] - Upgrading doctrine/event-manager (1.2.0 => 2.0.0)
[34.0MiB/16.83s] - Upgrading doctrine/persistence (2.5.7 => 3.2.0)
[34.0MiB/16.84s] - Locking guzzlehttp/promises (1.5.3)
[34.0MiB/16.84s] - Upgrading knplabs/knp-time-bundle (v1.20.0 => v2.2.0)
[34.0MiB/16.84s] - Locking masterminds/html5 (2.8.1)
[34.0MiB/16.84s] - Upgrading nelmio/security-bundle (v2.12.0 => v3.1.1)
[34.0MiB/16.84s] - Upgrading oveleon/contao-cookiebar (1.14.0 => 2.0.0-RC1)
[34.0MiB/16.85s] - Upgrading psr/cache (2.0.0 => 3.0.0)
[34.0MiB/16.85s] - Upgrading psr/container (1.1.2 => 2.0.2)
[34.0MiB/16.85s] - Upgrading psr/http-message (1.1 => 2.0)
[34.0MiB/16.85s] - Upgrading psr/log (2.0.0 => 3.0.0)
[34.0MiB/16.85s] - Upgrading scheb/2fa-backup-code (v5.13.2 => v6.12.0)
[34.0MiB/16.85s] - Upgrading scheb/2fa-bundle (v5.13.2 => v6.12.0)
[34.0MiB/16.86s] - Upgrading scheb/2fa-trusted-device (v5.13.2 => v6.12.0)
[34.0MiB/16.86s] - Upgrading symfony-cmf/routing (2.3.4 => 3.0.3)
[34.0MiB/16.86s] - Upgrading symfony-cmf/routing-bundle (2.5.1 => 3.0.2)
[34.0MiB/16.86s] - Upgrading symfony/asset (v5.4.35 => v6.4.3)
[34.0MiB/16.86s] - Upgrading symfony/cache (v5.4.36 => v6.4.4)
[34.0MiB/16.86s] - Upgrading symfony/cache-contracts (v2.5.2 => v3.4.0)
[34.0MiB/16.87s] - Upgrading symfony/config (v5.4.36 => v6.4.4)
[34.0MiB/16.87s] - Upgrading symfony/console (v5.4.36 => v6.4.4)
[34.0MiB/16.87s] - Locking symfony/css-selector (v7.0.3)
[34.0MiB/16.87s] - Upgrading symfony/debug-bundle (v5.4.35 => v6.4.3)
[34.0MiB/16.87s] - Upgrading symfony/dependency-injection (v5.4.36 => v6.4.4)
[34.0MiB/16.87s] - Upgrading symfony/doctrine-bridge (v5.4.36 => v6.4.4)
[34.0MiB/16.87s] - Locking symfony/doctrine-messenger (v6.4.4)
[34.0MiB/16.87s] - Upgrading symfony/dom-crawler (v5.4.35 => v6.4.4)
[34.0MiB/16.87s] - Upgrading symfony/dotenv (v5.4.35 => v6.4.4)
[34.0MiB/16.87s] - Upgrading symfony/error-handler (v5.4.36 => v6.4.4)
[34.0MiB/16.87s] - Upgrading symfony/event-dispatcher (v5.4.35 => v6.4.3)
[34.0MiB/16.87s] - Upgrading symfony/expression-language (v5.4.35 => v6.4.3)
[34.0MiB/16.88s] - Upgrading symfony/filesystem (v5.4.35 => v6.4.3)
[34.0MiB/16.88s] - Upgrading symfony/finder (v5.4.35 => v6.4.0)
[34.0MiB/16.88s] - Upgrading symfony/framework-bundle (v5.4.36 => v6.4.4)
[34.0MiB/16.88s] - Locking symfony/html-sanitizer (v6.4.4)
[34.0MiB/16.88s] - Upgrading symfony/http-client (v5.4.36 => v6.4.4)
[34.0MiB/16.88s] - Upgrading symfony/http-client-contracts (v2.5.2 => v3.4.0)
[34.0MiB/16.88s] - Upgrading symfony/http-foundation (v5.4.35 => v6.4.4)
[34.0MiB/16.88s] - Upgrading symfony/http-kernel (v5.4.36 => v6.4.4)
[34.0MiB/16.88s] - Upgrading symfony/intl (v5.4.35 => v6.4.3)
[34.0MiB/16.88s] - Upgrading symfony/lock (v5.4.35 => v6.4.3)
[34.0MiB/16.88s] - Upgrading symfony/mailer (v5.4.36 => v6.4.4)
[34.0MiB/16.88s] - Locking symfony/messenger (v6.4.4)
[34.0MiB/16.88s] - Upgrading symfony/mime (v5.4.35 => v6.4.3)
[34.0MiB/16.88s] - Upgrading symfony/monolog-bridge (v5.4.35 => v6.4.4)
[34.0MiB/16.89s] - Upgrading symfony/options-resolver (v5.4.21 => v6.4.0)
[34.0MiB/16.89s] - Upgrading symfony/password-hasher (v5.4.36 => v6.4.4)
[34.0MiB/16.89s] - Upgrading symfony/process (v5.4.36 => v6.4.4)
[34.0MiB/16.89s] - Upgrading symfony/property-access (v5.4.35 => v6.4.4)
[34.0MiB/16.89s] - Upgrading symfony/property-info (v6.4.3 => v7.0.3)
[34.0MiB/16.89s] - Locking symfony/rate-limiter (v6.4.3)
[34.0MiB/16.89s] - Upgrading symfony/routing (v5.4.35 => v6.4.3)
[34.0MiB/16.89s] - Upgrading symfony/security-bundle (v5.4.36 => v6.4.4)
[34.0MiB/16.89s] - Upgrading symfony/security-core (v5.4.35 => v6.4.3)
[34.0MiB/16.90s] - Upgrading symfony/security-csrf (v5.4.35 => v6.4.3)
[34.0MiB/16.90s] - Upgrading symfony/security-http (v5.4.36 => v6.4.4)
[34.0MiB/16.90s] - Upgrading symfony/serializer (v6.4.4 => v7.0.4)
[34.0MiB/16.90s] - Upgrading symfony/service-contracts (v2.5.2 => v3.4.1)
[34.0MiB/16.90s] - Upgrading symfony/stopwatch (v5.4.35 => v6.4.3)
[34.0MiB/16.90s] - Upgrading symfony/string (v5.4.36 => v6.4.4)
[34.0MiB/16.90s] - Upgrading symfony/translation (v5.4.35 => v6.4.4)
[34.0MiB/16.90s] - Upgrading symfony/translation-contracts (v2.5.2 => v3.4.1)
[34.0MiB/16.91s] - Upgrading symfony/twig-bridge (v5.4.36 => v6.4.4)
[34.0MiB/16.91s] - Upgrading symfony/twig-bundle (v5.4.36 => v6.4.4)
[34.0MiB/16.91s] - Upgrading symfony/uid (v5.4.35 => v6.4.3)
[34.0MiB/16.91s] - Upgrading symfony/var-dumper (v5.4.36 => v6.4.4)
[34.0MiB/16.91s] - Upgrading symfony/var-exporter (v6.4.4 => v7.0.4)
[34.0MiB/16.91s] - Upgrading symfony/web-profiler-bundle (v5.4.36 => v6.4.4)
[34.0MiB/16.91s] - Upgrading symfony/yaml (v5.4.35 => v6.4.3)
[34.0MiB/16.91s] - Locking tijsverkoyen/css-to-inline-styles (v2.2.7)
[34.0MiB/16.91s] - Locking toflar/cronjob-supervisor (1.0.0)
[34.0MiB/16.92s] - Upgrading toflar/psr6-symfony-http-cache-store (3.0.1 => 4.2.0)
[34.0MiB/16.92s] - Locking twig/string-extra (v3.8.0)
[33.3MiB/16.93s] Writing lock file
[16.2MiB/16.96s] 1 package suggestions were added by new dependencies, use `composer suggest` to see details.
[16.9MiB/16.98s] Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
[17.1MiB/17.23s] No security vulnerability advisories found.
[17.6MiB/17.23s] Memory usage: 17.62MB (peak: 228.12MB), time: 17.23s.
[17.6MiB/17.23s] Finished Composer Cloud resolving.
# Job ID Ft9zNr7jG6nPwT84yYkhAJOBxWJm6ijUuu1PzyonfpLJDMCrbLgdXezQwRw6ErjF4vRegYpuEE2LhKJaVr0bGi9o1zD042Su3WvYMFqRgb4yddsNxoQ2zy completed in 16 seconds
# Memory usage: 17.62MB (peak: 228.12MB), time: 17.23s.
$ /opt/plesk/php/8.2/bin/php -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 /var/www/vhosts/a24vmj8s.web29.alfahosting-server.de/plus15.plusweb.se/public/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.
Nothing to install, update or remove
Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
Generating optimized autoload files
Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
contao/manager-plugin: Dumping generated plugins file...
contao/manager-plugin: ...done dumping generated plugins file
116 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php vendor/bin/contao-setup
In ArrayNode.php line 327:
Unrecognized option "prepend_locale" under "contao". Available options are
"backend", "backup", "console_path", "crawl", "cron", "csp", "csrf_cookie_p
refix", "csrf_token_name", "editable_files", "error_level", "image", "inser
t_tags", "intl", "localconfig", "locales", "mailer", "messenger", "pretty_e
rror_screens", "preview_script", "sanitizer", "search", "security", "upload
_path".
Script @php vendor/bin/contao-setup handling the post-install-cmd event returned with error code 1
# Process terminated with exit code 1
# Result: General error
Die composer.json sieht so aus:
Code:
{
"type": "project",
"require": {
"contao/calendar-bundle": "5.0.*",
"contao/comments-bundle": "5.0.*",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "5.0.*",
"contao/listing-bundle": "5.0.*",
"contao/manager-bundle": "5.0.*",
"contao/news-bundle": "5.0.*",
"contao/newsletter-bundle": "5.0.*",
"inspiredminds/contao-wowjs": "^1.1",
"madeyourday/contao-rocksolid-frontend-helper": "^2.1",
"madeyourday/contao-rocksolid-slider": "^2.0",
"oveleon/contao-cookiebar": "2.0.0-RC1",
"terminal42/contao-changelanguage": "^3.1"
},
"extra": {
"contao-component-dir": "assets",
"public-dir": "public"
},
"scripts": {
"post-install-cmd": [
"@php vendor/bin/contao-setup"
],
"post-update-cmd": [
"@php vendor/bin/contao-setup"
]
}
}
Bin leider nur Contao-Manager-Anwender und kein Konsolen-Nutzer
Freu mich auf Eure Hilfe.
Liste der Anhänge anzeigen (Anzahl: 1)
Danke Spooky. Das hat funktioniert. Nun komme ich aber bei der letzten Änderung der Datenbank nicht weiter trotz mehrmaliger Versuche, Cache löschen, Systemwartung usw.
Anhang 27050
Liste der Anhänge anzeigen (Anzahl: 1)
Mehr Information kommt da nicht wenn ich auf < > klicke.
Oben in der Box steht nur noch "Die Änderungen konnten nicht angewendet werden. Möglicherweise wurde die Datenbank geändert, bitte prüfe nochmals und versuche es erneut."
siehe Bild
Anhang 27051
In der Datenbank selbst habe ich manuell nichts geändert - alle Änderungen wurden durch den Contao-Manager in mehreren Durchgängen durchgeführt.
Liste der Anhänge anzeigen (Anzahl: 1)
Da das Problem mit der Datenbankänderung nicht behoben werden konnte, habe ich auf Contao 5.3 aktualisiert, in der Hoffnung dass eventuell eine Routine darin ist, die das Problem beseitigt. Leider sind aber nur noch weitere Änderungen in der Tabelle tl_user dazugekommen, die der Contao-Manager nicht schafft zu realisieren.
Anhang 27055
Auch Felder die dazugefügt werden sollen, werden nicht angelegt. Dadurch kan ich nun im Backend auch nicht den Punkt "Benutzer" anwählen, da das Feld "frontendModules" nicht vorhanden ist und es erscheint eine entsprechende Fhlermeldung.
"Internal Server Error
Was ist das Problem?
An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'frontendModules' in 'field list'"
Hat jemand einen Tipp wie man die Tabelle tl_user um die es hier geht wieder lauffähig bekommt?
Liste der Anhänge anzeigen (Anzahl: 1)
ja, habe aber keine Ahnung davon und noch nie angewendet :-(
Mal dumm gefragt:
In der Tabelle tl_user sind zwei Benutzer angelegt. siehe Bild
Anhang 27056
Einer davon wurde nur mal testweise vor langer Zeit angelegt und wird nicht benötigt. Wie ich sehen kann, sind einige Feldinhalte sehr unterschiedlich zwischen dne beiden Benutzern. kann man den einen nicht benötigten Benutzer in phpmyadmin einfach löschen und damit eventuell das Problem beseitigen?