Liste der Anhänge anzeigen (Anzahl: 1)
Problem bei Contao-Update von 5.3.31 auf 5.3.33
Hi Leute,
bei mir kommt folgende Fehlermeldung:
Anhang 27946
Was hat diese Fehlermeldung zu sagen und wie kann ich den Fehler beseitigen?
Hier die ganze Ausgabe der Konsole
Code:
$ /usr/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 /html/cto/cto_5_3_33/public/contao-manager.phar.php composer require terminal42/notification_center=^2.5 --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
/html/cto/cto_5_3_33/composer.json has been updated
# Process terminated with exit code 0
# Result: OK
> Resolving dependencies using Composer Cloud v3.8.2
[7.2MiB/0.32s] Loading composer repositories with package information
[97.4MiB/18.44s] Updating dependencies
[31.9MiB/20.72s] Lock file operations: 2 installs, 101 updates, 0 removals
[31.9MiB/20.73s] - Upgrading codefog/contao-haste (5.2.10 => 5.2.15)
[31.9MiB/20.73s] - Upgrading codefog/contao-news_categories (4.0.11 => 4.0.13)
[31.9MiB/20.73s] - Upgrading composer/ca-bundle (1.5.4 => 1.5.7)
[31.9MiB/20.73s] - Upgrading contao-components/ace (1.37.1 => 1.43.0)
[31.9MiB/20.73s] - Upgrading contao-components/simplemodal (3.0.2 => 3.0.3)
[31.9MiB/20.74s] - Upgrading contao-components/swiper (11.1.15 => 11.2.8)
[31.9MiB/20.74s] - Upgrading contao-components/tinymce4 (6.8.5.1 => 6.8.6)
[31.9MiB/20.74s] - Upgrading contao-components/tristen-tablesort (5.3.1 => 5.6.0)
[31.9MiB/20.74s] - Upgrading contao/calendar-bundle (5.3.20 => 5.3.33)
[31.9MiB/20.74s] - Upgrading contao/comments-bundle (5.3.20 => 5.3.33)
[31.9MiB/20.74s] - Upgrading contao/conflicts (dev-main 3d8f465 => dev-main 7e1dacc)
[31.9MiB/20.75s] - Upgrading contao/core-bundle (5.3.20 => 5.3.33)
[31.9MiB/20.75s] - Upgrading contao/faq-bundle (5.3.20 => 5.3.33)
[31.9MiB/20.75s] - Upgrading contao/image (1.2.2 => 1.2.3)
[31.9MiB/20.75s] - Upgrading contao/listing-bundle (5.3.20 => 5.3.33)
[31.9MiB/20.75s] - Upgrading contao/manager-bundle (5.3.20 => 5.3.33)
[31.9MiB/20.75s] - Upgrading contao/manager-plugin (2.13.3 => 2.13.5)
[31.9MiB/20.75s] - Upgrading contao/news-bundle (5.3.20 => 5.3.33)
[31.9MiB/20.76s] - Upgrading contao/newsletter-bundle (5.3.20 => 5.3.33)
[31.9MiB/20.76s] - Upgrading doctrine/collections (2.2.2 => 2.3.0)
[31.9MiB/20.76s] - Upgrading doctrine/common (3.4.5 => 3.5.0)
[31.9MiB/20.76s] - Upgrading doctrine/dbal (3.9.3 => 3.9.5)
[31.9MiB/20.76s] - Upgrading doctrine/deprecations (1.1.4 => 1.1.5)
[31.9MiB/20.76s] - Upgrading doctrine/doctrine-bundle (2.13.1 => 2.15.0)
[31.9MiB/20.76s] - Upgrading doctrine/orm (2.20.1 => 2.20.5)
[31.9MiB/20.77s] - Upgrading doctrine/sql-formatter (1.5.1 => 1.5.2)
[31.9MiB/20.77s] - Upgrading duncrow-gmbh/flipbert (2.0.5 => 2.0.6)
[31.9MiB/20.77s] - Upgrading egulias/email-validator (4.0.3 => 4.0.4)
[31.9MiB/20.77s] - Locking enshrined/svg-sanitize (0.21.0)
[31.9MiB/20.77s] - Upgrading friendsofsymfony/http-cache-bundle (2.17.1 => 2.18.0)
[31.9MiB/20.77s] - Upgrading guzzlehttp/guzzle (7.9.2 => 7.9.3)
[31.9MiB/20.77s] - Upgrading guzzlehttp/psr7 (2.7.0 => 2.7.1)
[31.9MiB/20.78s] - Upgrading knplabs/knp-menu (v3.6.0 => v3.8.0)
[31.9MiB/20.78s] - Upgrading knplabs/knp-menu-bundle (v3.5.0 => v3.6.0)
[31.9MiB/20.78s] - Upgrading league/commonmark (2.6.1 => 2.7.0)
[31.9MiB/20.78s] - Upgrading league/flysystem (3.29.1 => 3.30.0)
[31.9MiB/20.78s] - Upgrading league/flysystem-bundle (3.3.5 => 3.4.0)
[31.9MiB/20.78s] - Upgrading league/flysystem-local (3.29.0 => 3.30.0)
[31.9MiB/20.79s] - Upgrading matthiasmullie/minify (1.3.73 => 1.3.75)
[31.9MiB/20.79s] - Upgrading nelmio/security-bundle (v3.4.2 => v3.5.1)
[31.9MiB/20.79s] - Upgrading nette/utils (v4.0.5 => v4.0.7)
[31.9MiB/20.79s] - Upgrading oveleon/contao-cookiebar (2.2.6 => 2.2.11)
[31.9MiB/20.79s] - Upgrading scheb/2fa-backup-code (v6.12.0 => v6.13.1)
[31.9MiB/20.79s] - Upgrading scheb/2fa-bundle (v6.12.0 => v6.13.1)
[31.9MiB/20.80s] - Upgrading scheb/2fa-trusted-device (v6.12.0 => v6.13.1)
[31.9MiB/20.80s] - Upgrading spatie/schema-org (3.23.0 => 3.23.1)
[31.9MiB/20.80s] - Upgrading symfony-cmf/routing-bundle (3.1.0 => 3.1.1)
[31.9MiB/20.80s] - Upgrading symfony/cache (v6.4.16 => v6.4.23)
[31.9MiB/20.80s] - Upgrading symfony/cache-contracts (v3.5.1 => v3.6.0)
[31.9MiB/20.80s] - Upgrading symfony/config (v6.4.14 => v6.4.22)
[31.9MiB/20.81s] - Upgrading symfony/console (v6.4.15 => v6.4.23)
[31.9MiB/20.81s] - Upgrading symfony/dependency-injection (v6.4.16 => v6.4.23)
[31.9MiB/20.81s] - Upgrading symfony/deprecation-contracts (v3.5.1 => v3.6.0)
[31.9MiB/20.81s] - Upgrading symfony/doctrine-bridge (v6.4.16 => v6.4.23)
[31.9MiB/20.81s] - Upgrading symfony/doctrine-messenger (v6.4.13 => v6.4.18)
[31.9MiB/20.81s] - Upgrading symfony/dom-crawler (v6.4.16 => v6.4.23)
[31.9MiB/20.82s] - Upgrading symfony/error-handler (v6.4.14 => v6.4.23)
[31.9MiB/20.82s] - Upgrading symfony/event-dispatcher-contracts (v3.5.1 => v3.6.0)
[31.9MiB/20.82s] - Upgrading symfony/finder (v6.4.13 => v6.4.17)
[31.9MiB/20.82s] - Upgrading symfony/framework-bundle (v6.4.13 => v6.4.23)
[31.9MiB/20.82s] - Upgrading symfony/html-sanitizer (v6.4.13 => v6.4.21)
[31.9MiB/20.82s] - Upgrading symfony/http-client (v6.4.16 => v6.4.23)
[31.9MiB/20.83s] - Upgrading symfony/http-client-contracts (v3.5.2 => v3.6.0)
[31.9MiB/20.83s] - Upgrading symfony/http-foundation (v6.4.16 => v6.4.23)
[31.9MiB/20.83s] - Upgrading symfony/http-kernel (v6.4.16 => v6.4.23)
[31.9MiB/20.83s] - Upgrading symfony/intl (v6.4.15 => v6.4.23)
[31.9MiB/20.83s] - Upgrading symfony/mailer (v6.4.13 => v6.4.23)
[31.9MiB/20.84s] - Upgrading symfony/messenger (v6.4.16 => v6.4.23)
[31.9MiB/20.84s] - Upgrading symfony/mime (v6.4.13 => v6.4.21)
[31.9MiB/20.84s] - Upgrading symfony/polyfill-ctype (v1.31.0 => v1.32.0)
[31.9MiB/20.84s] - Upgrading symfony/polyfill-intl-grapheme (v1.31.0 => v1.32.0)
[31.9MiB/20.84s] - Upgrading symfony/polyfill-intl-idn (v1.31.0 => v1.32.0)
[31.9MiB/20.85s] - Upgrading symfony/polyfill-intl-normalizer (v1.31.0 => v1.32.0)
[31.9MiB/20.85s] - Upgrading symfony/polyfill-mbstring (v1.31.0 => v1.32.0)
[31.9MiB/20.85s] - Upgrading symfony/polyfill-php73 (v1.31.0 => v1.32.0)
[31.9MiB/20.85s] - Upgrading symfony/polyfill-php80 (v1.31.0 => v1.32.0)
[31.9MiB/20.85s] - Upgrading symfony/polyfill-php81 (v1.31.0 => v1.32.0)
[31.9MiB/20.85s] - Upgrading symfony/polyfill-php83 (v1.31.0 => v1.32.0)
[31.9MiB/20.86s] - Locking symfony/polyfill-php84 (v1.32.0)
[31.9MiB/20.86s] - Upgrading symfony/polyfill-uuid (v1.31.0 => v1.32.0)
[31.9MiB/20.86s] - Upgrading symfony/process (v6.4.15 => v6.4.20)
[31.9MiB/20.86s] - Upgrading symfony/property-access (v6.4.13 => v6.4.18)
[31.9MiB/20.86s] - Upgrading symfony/property-info (v6.4.16 => v6.4.18)
[31.9MiB/20.86s] - Upgrading symfony/routing (v6.4.16 => v6.4.22)
[31.9MiB/20.87s] - Upgrading symfony/security-bundle (v6.4.13 => v6.4.23)
[31.9MiB/20.87s] - Upgrading symfony/security-core (v6.4.16 => v6.4.23)
[31.9MiB/20.87s] - Upgrading symfony/security-http (v6.4.15 => v6.4.23)
[31.9MiB/20.87s] - Upgrading symfony/service-contracts (v3.5.1 => v3.6.0)
[31.9MiB/20.87s] - Upgrading symfony/stopwatch (v6.4.13 => v6.4.19)
[31.9MiB/20.87s] - Upgrading symfony/string (v6.4.15 => v6.4.21)
[31.9MiB/20.87s] - Upgrading symfony/translation (v6.4.13 => v6.4.23)
[31.9MiB/20.88s] - Upgrading symfony/translation-contracts (v3.5.1 => v3.6.0)
[31.9MiB/20.88s] - Upgrading symfony/twig-bridge (v6.4.16 => v6.4.22)
[31.9MiB/20.88s] - Upgrading symfony/twig-bundle (v6.4.13 => v6.4.23)
[31.9MiB/20.88s] - Upgrading symfony/uid (v6.4.13 => v6.4.23)
[31.9MiB/20.88s] - Upgrading symfony/var-dumper (v6.4.15 => v6.4.23)
[31.9MiB/20.89s] - Upgrading symfony/var-exporter (v6.4.13 => v6.4.22)
[31.9MiB/20.89s] - Upgrading symfony/web-profiler-bundle (v6.4.16 => v6.4.19)
[31.9MiB/20.89s] - Upgrading symfony/yaml (v6.4.13 => v6.4.23)
[31.9MiB/20.89s] - Upgrading terminal42/notification_center (2.2.4 => 2.5.0)
[31.9MiB/20.89s] - Upgrading twig/extra-bundle (v3.18.0 => v3.21.0)
[31.9MiB/20.89s] - Upgrading twig/string-extra (v3.18.0 => v3.21.0)
[31.9MiB/20.90s] - Upgrading twig/twig (v3.18.0 => v3.21.1)
[31.1MiB/20.92s] Writing lock file
[17.1MiB/20.97s] <warning>Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.</warning>
[17.3MiB/21.33s] No security vulnerability advisories found.
[17.8MiB/21.33s] Memory usage: 17.83MB (peak: 226.6MB), time: 21.34s.
[17.8MiB/21.34s] Finished Composer Cloud resolving.
# Job ID YpK35vMuKbWRCiBqKhbNHU06lNtoU099dojjc70XPRS4eMv1bywOBraZLoJrSxn2gNoAxDb5f0G6D4mvKxCOnYOSQlsurRZXOgYuq7261Wk7buaRPH completed in 25 seconds
# Memory usage: 17.83MB (peak: 226.6MB), time: 21.34s.
$ /usr/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 /html/cto/cto_5_3_33/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
contao/manager-plugin: Dumping generated plugins file...
122 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
contao/manager-plugin: ...done dumping generated plugins file
> @php vendor/bin/contao-setup
Added the bin/console file.
Added the public/preview.php file.
Added the public/index.php file.
Trying to install assets as relative symbolic links.
--- ------------------------------------ ------------------
Bundle Method / Error
--- ------------------------------------ ------------------
? ContaoCoreBundle relative symlink
? Flipbert relative symlink
? ContaoCookiebar relative symlink
? ContaoFaqBundle relative symlink
? PdirAnimatedTimelineBundle relative symlink
? CodefogHasteBundle relative symlink
? Terminal42DcawizardBundle relative symlink
? ContaoNewsBundle relative symlink
? Terminal42NotificationCenterBundle relative symlink
? ContaoCalendarBundle relative symlink
? ContaoNewsletterBundle relative symlink
? CodefogNewsCategoriesBundle relative symlink
? Opengraph3Bundle relative symlink
? ContaoCommentsBundle relative symlink
--- ------------------------------------ ------------------
[OK] All assets were successfully installed.
--- ------------------------------------------- --------------------------------------------------
Symlink Target / Error
--- ------------------------------------------- --------------------------------------------------
! public/files/layout/css_sass Skipped because files/layout will be symlinked.
! public/files/layout/layout_elemente Skipped because files/layout will be symlinked.
! public/files/img/LIGA-Image Skipped because files/img will be symlinked.
? public/files/layout files/layout
? public/files/img files/img
? public/files/liga-content files/liga-content
? public/files/js files/js
? system/themes/flexible vendor/contao/core-bundle/contao/themes/flexible
? public/assets assets
? public/system/themes system/themes
? system/logs var/logs
? public/vendor/scrivo/highlight_php/styles vendor/scrivo/highlight.php/styles
--- ------------------------------------------- --------------------------------------------------
// Clearing the cache for the prod environment with debug false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
TypeError {#288
#message: "Contao\CoreBundle\EventListener\CsrfTokenCookieSubscriber::__construct(): Argument #1 ($tokenStorage) must be of type Contao\CoreBundle\Csrf\MemoryTokenStorage, Contao\CoreBundle\Csrf\ContaoCsrfTokenManager given, called in /html/cto/cto_5_3_33/var/cache/dev/Container5RWO7lB/Contao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer.php on line 2620"
#code: 0
#file: "./vendor/contao/core-bundle/src/EventListener/CsrfTokenCookieSubscriber.php"
#line: 33
trace: {
./vendor/contao/core-bundle/src/EventListener/CsrfTokenCookieSubscriber.php:33 { …}
./var/cache/dev/Container5RWO7lB/Contao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer.php:2620 {
Container5RWO7lB\Contao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer::getContao_Listener_CsrfTokenCookieService($container)
› {
› return $container->privates['contao.listener.csrf_token_cookie'] = new \Contao\CoreBundle\EventListener\CsrfTokenCookieSubscriber(($container->services['contao.csrf.token_manager'] ?? self::getContao_Csrf_TokenManagerService($container)), ($container->privates['contao.csrf.token_storage'] ??= new \Contao\CoreBundle\Csrf\MemoryTokenStorage()), 'csrf_');
› }
arguments: {
$tokenStorage: Contao\CoreBundle\Csrf\ContaoCsrfTokenManager {#768 …}
$cookiePrefix: Contao\CoreBundle\Csrf\MemoryTokenStorage {#770 …}
...: {
"csrf_"
}
}
}
./var/cache/dev/Container5RWO7lB/Contao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer.php:1836 { …}
./vendor/symfony/event-dispatcher/EventDispatcher.php:235 { …}
./vendor/symfony/event-dispatcher/EventDispatcher.php:70 { …}
./vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:276 { …}
./vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:133 { …}
./vendor/symfony/console/Application.php:1093 { …}
./vendor/symfony/framework-bundle/Console/Application.php:126 { …}
./vendor/symfony/console/Application.php:324 { …}
./vendor/symfony/framework-bundle/Console/Application.php:80 { …}
./vendor/symfony/console/Application.php:175 { …}
./vendor/contao/manager-bundle/bin/contao-console:40 { …}
}
}
10:45:18 CRITICAL [console] An error occurred while using the console. Message: "An error occurred while executing the "/usr/local/php/usr/bin/php -dmemory_limit=-1 /html/cto/cto_5_3_33/vendor/contao/manager-bundle/bin/contao-console cache:clear --no-warmup --env=dev --no-ansi" command: " ["exception" => RuntimeException { …},"message" => "An error occurred while executing the "/usr/local/php/usr/bin/php -dmemory_limit=-1 /html/cto/cto_5_3_33/vendor/contao/manager-bundle/bin/contao-console cache:clear --no-warmup --env=dev --no-ansi" command: "]
In ContaoSetupCommand.php line 142:
An error occurred while executing the "/usr/local/php/usr/bin/php -dmemory_
limit=-1 /html/cto/cto_5_3_33/vendor/contao/manager-bundle/bin/contao-conso
le cache:clear --no-warmup --env=dev --no-ansi" command:
contao:setup
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 LOG-Datei gibt das hier aus:
Code:
[2025-06-28T11:35:54.450630+02:00] console.CRITICAL: An error occurred while using the console. Message: "An error occurred while executing the "/usr/local/php/usr/bin/php -dmemory_limit=-1 /html/cto/cto_5_3_33/vendor/contao/manager-bundle/bin/contao-console cache:clear --no-warmup --env=dev --no-ansi" command: " {"exception":"[object] (RuntimeException(code: 0): An error occurred while executing the \"/usr/local/php/usr/bin/php -dmemory_limit=-1 /html/cto/cto_5_3_33/vendor/contao/manager-bundle/bin/contao-console cache:clear --no-warmup --env=dev --no-ansi\" command: at /html/cto/cto_5_3_33/vendor/contao/manager-bundle/src/Command/ContaoSetupCommand.php:142)","message":"An error occurred while executing the \"/usr/local/php/usr/bin/php -dmemory_limit=-1 /html/cto/cto_5_3_33/vendor/contao/manager-bundle/bin/contao-console cache:clear --no-warmup --env=dev --no-ansi\" command: "} []