Hallo Eigentlich wollte ich etwas ganz anderes, bin aber im Contao-Manager über eine aussstehede Datenbank-Migrationen und -Backups Eine ausstehende Datenbank-Migration gestolpert. Habe als die Datenbankaktualisierung ausgeführt und ende in einer Schleife.
## Contao Manager 1.8.4
## PHP Version 8.2.2
## Contao 4.13.39 (API-Version 2) gefunden.
Also habe ich nach den Paketen geschaut und ein Conato-Update gefunden. Das funktioniert aber auch nicht. Beim Upgradeversuch auf 4.13.43 kommt:Code:Contao\CoreBundle\Migration\Version413\FileExtensionMigration Contao\CoreBundle\Migration\Version413\FileExtensionMigration executed successfully
Hat jemand eine Idee?Code:> Resolving dependencies using Composer Cloud v3.7.0 [6.9MiB/0.22s] Loading composer repositories with package information [91.1MiB/11.06s] Updating dependencies [31.6MiB/11.69s] Lock file operations: 0 installs, 78 updates, 1 removal [31.6MiB/11.69s] - Removing psr/simple-cache (1.0.1) [31.6MiB/11.69s] - Upgrading contao-components/ace (1.32.8 => 1.33.1) [31.6MiB/11.69s] - Upgrading contao-components/contao (9.3.4 => 9.3.5) [31.6MiB/11.70s] - Upgrading contao/comments-bundle (4.13.39 => 4.13.43) [31.6MiB/11.70s] - Upgrading contao/conflicts (dev-main 27356bc => dev-main 398f7ca) [31.6MiB/11.70s] - Upgrading contao/core-bundle (4.13.39 => 4.13.43) [31.6MiB/11.70s] - Upgrading contao/faq-bundle (4.13.39 => 4.13.43) [31.6MiB/11.70s] - Upgrading contao/installation-bundle (4.13.39 => 4.13.43) [31.6MiB/11.71s] - Upgrading contao/manager-bundle (4.13.39 => 4.13.43) [31.6MiB/11.71s] - Upgrading doctrine/common (3.4.3 => 3.4.4) [31.6MiB/11.71s] - Upgrading doctrine/dbal (3.8.3 => 3.8.4) [31.6MiB/11.71s] - Upgrading doctrine/orm (2.19.3 => 2.19.5) [31.6MiB/11.71s] - Upgrading doctrine/sql-formatter (1.2.0 => 1.4.0) [31.6MiB/11.72s] - Upgrading friendsofsymfony/http-cache-bundle (2.17.0 => 2.17.1) [31.6MiB/11.72s] - Downgrading jeremykendall/php-domain-parser (5.7.2 => 3.0.0) [31.6MiB/11.72s] - Upgrading knplabs/knp-menu-bundle (v3.3.0 => v3.4.1) [31.6MiB/11.72s] - Upgrading lcobucci/clock (3.0.0 => 3.2.0) [31.6MiB/11.72s] - Upgrading league/flysystem (3.26.0 => 3.27.0) [31.6MiB/11.72s] - Upgrading monolog/monolog (2.9.2 => 2.9.3) [31.6MiB/11.73s] - Upgrading oveleon/contao-cookiebar (1.14.1 => 1.15.2) [31.6MiB/11.73s] - Upgrading paragonie/constant_time_encoding (v2.6.3 => v2.7.0) [31.6MiB/11.73s] - Upgrading php-http/discovery (1.19.3 => 1.19.4) [31.6MiB/11.73s] - Upgrading psr/http-factory (1.0.2 => 1.1.0) [31.6MiB/11.73s] - Upgrading psr/log (1.1.4 => 2.0.0) [31.6MiB/11.74s] - Upgrading symfony/asset (v5.4.35 => v5.4.39) [31.6MiB/11.74s] - Upgrading symfony/cache (v5.4.36 => v5.4.39) [31.6MiB/11.74s] - Upgrading symfony/cache-contracts (v2.5.2 => v2.5.3) [31.6MiB/11.74s] - Upgrading symfony/clock (v6.4.5 => v6.4.7) [31.6MiB/11.75s] - Upgrading symfony/config (v5.4.36 => v5.4.39) [31.6MiB/11.76s] - Upgrading symfony/console (v5.4.36 => v5.4.39) [31.6MiB/11.76s] - Upgrading symfony/debug-bundle (v5.4.35 => v5.4.39) [31.6MiB/11.76s] - Upgrading symfony/dependency-injection (v5.4.36 => v5.4.39) [31.6MiB/11.76s] - Upgrading symfony/deprecation-contracts (v3.4.0 => v3.5.0) [31.6MiB/11.76s] - Upgrading symfony/doctrine-bridge (v5.4.37 => v5.4.39) [31.6MiB/11.76s] - Upgrading symfony/dom-crawler (v5.4.35 => v5.4.39) [31.6MiB/11.76s] - Upgrading symfony/dotenv (v5.4.35 => v5.4.39) [31.6MiB/11.76s] - Upgrading symfony/error-handler (v5.4.36 => v5.4.39) [31.6MiB/11.76s] - Upgrading symfony/event-dispatcher (v5.4.35 => v5.4.39) [31.6MiB/11.76s] - Upgrading symfony/event-dispatcher-contracts (v3.4.0 => v3.5.0) [31.6MiB/11.76s] - Upgrading symfony/expression-language (v5.4.35 => v5.4.39) [31.6MiB/11.77s] - Upgrading symfony/filesystem (v5.4.35 => v5.4.39) [31.6MiB/11.77s] - Upgrading symfony/finder (v5.4.35 => v5.4.39) [31.6MiB/11.77s] - Upgrading symfony/framework-bundle (v5.4.36 => v5.4.39) [31.6MiB/11.77s] - Upgrading symfony/http-client (v5.4.37 => v5.4.39) [31.6MiB/11.77s] - Upgrading symfony/http-client-contracts (v2.5.2 => v2.5.3) [31.6MiB/11.77s] - Upgrading symfony/http-foundation (v5.4.35 => v5.4.39) [31.6MiB/11.77s] - Upgrading symfony/http-kernel (v5.4.37 => v5.4.39) [31.6MiB/11.77s] - Upgrading symfony/intl (v5.4.35 => v5.4.39) [31.6MiB/11.77s] - Upgrading symfony/lock (v5.4.35 => v5.4.39) [31.6MiB/11.77s] - Upgrading symfony/mailer (v5.4.36 => v5.4.39) [31.6MiB/11.77s] - Upgrading symfony/mime (v5.4.35 => v5.4.39) [31.6MiB/11.77s] - Upgrading symfony/monolog-bridge (v5.4.35 => v5.4.39) [31.6MiB/11.77s] - Upgrading symfony/options-resolver (v5.4.21 => v5.4.39) [31.6MiB/11.77s] - Upgrading symfony/password-hasher (v5.4.36 => v5.4.39) [31.6MiB/11.77s] - Upgrading symfony/process (v5.4.36 => v5.4.39) [31.6MiB/11.77s] - Upgrading symfony/property-access (v5.4.35 => v5.4.39) [31.6MiB/11.77s] - Upgrading symfony/property-info (v6.4.3 => v6.4.7) [31.6MiB/11.78s] - Upgrading symfony/routing (v5.4.37 => v5.4.39) [31.6MiB/11.78s] - Upgrading symfony/security-bundle (v5.4.37 => v5.4.39) [31.6MiB/11.78s] - Upgrading symfony/security-core (v5.4.35 => v5.4.39) [31.6MiB/11.78s] - Upgrading symfony/security-csrf (v5.4.35 => v5.4.39) [31.6MiB/11.78s] - Upgrading symfony/security-guard (v5.4.35 => v5.4.39) [31.6MiB/11.78s] - Upgrading symfony/security-http (v5.4.36 => v5.4.39) [31.6MiB/11.78s] - Upgrading symfony/serializer (v6.4.4 => v6.4.7) [31.6MiB/11.78s] - Upgrading symfony/service-contracts (v2.5.2 => v2.5.3) [31.6MiB/11.78s] - Upgrading symfony/stopwatch (v5.4.35 => v5.4.39) [31.6MiB/11.78s] - Upgrading symfony/string (v5.4.36 => v5.4.39) [31.6MiB/11.78s] - Upgrading symfony/templating (v6.4.3 => v6.4.7) [31.6MiB/11.78s] - Upgrading symfony/translation (v5.4.35 => v5.4.39) [31.6MiB/11.78s] - Upgrading symfony/translation-contracts (v2.5.2 => v2.5.3) [31.6MiB/11.78s] - Upgrading symfony/twig-bridge (v5.4.36 => v5.4.39) [31.6MiB/11.78s] - Upgrading symfony/twig-bundle (v5.4.36 => v5.4.39) [31.6MiB/11.78s] - Upgrading symfony/uid (v5.4.35 => v5.4.39) [31.6MiB/11.79s] - Upgrading symfony/var-dumper (v5.4.36 => v5.4.39) [31.6MiB/11.79s] - Upgrading symfony/var-exporter (v6.4.4 => v6.4.7) [31.6MiB/11.79s] - Upgrading symfony/web-profiler-bundle (v5.4.36 => v5.4.39) [31.6MiB/11.79s] - Upgrading symfony/yaml (v5.4.35 => v5.4.39) [31.6MiB/11.79s] - Upgrading twig/extra-bundle (v3.8.0 => v3.10.0) [31.6MiB/11.79s] - Upgrading twig/twig (v3.8.0 => v3.10.0) [30.9MiB/11.80s] Writing lock file [14.7MiB/11.83s] Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead. [15.0MiB/12.02s] No security vulnerability advisories found. [15.4MiB/12.02s] Memory usage: 15.44MB (peak: 227.11MB), time: 12.03s. [15.4MiB/12.03s] Finished Composer Cloud resolving. # Job ID XlhLEXoUrQ4ibFxkAZHOjYnX2ZExSikZVFVkdRhHGAAeDid0be1lLAqVTJHvZ6wXZQuMbh4BXaHgYeBxBQot8XfeZfa4jTCunlHwZ1oXCH completed in 14 seconds # Memory usage: 15.44MB (peak: 227.11MB), time: 12.03s. $ /opt/php82/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 /hp/bv/ac/fw/www/xxx.de/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. 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... Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping. 107 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 /hp/bv/ac/fw/www/xxx.de/web/app.php file. Added the /hp/bv/ac/fw/www/xxx.de/web/index.php file. Added the /hp/bv/ac/fw/www/xxx.de/web/preview.php file. Trying to install assets as relative symbolic links. --- ------------------------------------------ ------------------ Bundle Method / Error --- ------------------------------------------ ------------------ ? ContaoCoreBundle relative symlink ? ContaoCookiebar relative symlink ? VotingBundle relative symlink ? MarketingSuiteBundle relative symlink ? ContaoFaqBundle relative symlink ? PdirThemeOddBundle relative symlink ? HofffContaoRecursiveDownloadFolderBundle relative symlink ? ContaoCommentsBundle relative symlink ? ThemeHelperBundle relative symlink ? RockSolidFrontendHelperBundle relative symlink ? ContaoDDAdvancedClassesBundle relative symlink --- ------------------------------------------ ------------------ [OK] All assets were successfully installed. --- ---------------------------------------- ---------------------------------------------------------------- Symlink Target / Error --- ---------------------------------------- ---------------------------------------------------------------- ? web/files/odd files/odd ? web/files/Formulare und Anleitungen files/Formulare und Anleitungen ? web/files/Anlagen files/Anlagen ? system/themes/flexible vendor/contao/core-bundle/src/Resources/contao/themes/flexible ? web/assets assets ? web/system/themes system/themes ? system/logs var/logs ? web/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. // Clearing the cache for the dev environment with debug // true [OK] Cache for the "dev" environment (debug=true) was successfully cleared. // Warming up the cache for the prod environment with debug // false 11:37:54 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "You must call "setEnvironment()" before calling "Twig\Extension\EscaperExtension::setEscaper()"." ["exception" => LogicException { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "You must call "setEnvironment()" before calling "Twig\Extension\EscaperExtension::setEscaper()"."] In EscaperExtension.php line 127: You must call "setEnvironment()" before calling "Twig\Extension\EscaperExte nsion::setEscaper()". cache:warmup [--no-optional-warmers] 11:37:54 CRITICAL [console] An error occurred while using the console. Message: "An error occurred while executing the "/opt/php8.2.2/bin/php -dmemory_limit=-1 /hp/bv/ac/fw/www/xxx.de/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: 11:37:54 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "You must call "setEnvironment()" before calling "Twig\Extension\EscaperExtension::setEscaper()"." ["exception" => LogicException { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "You must call "setEnvironment()" before calling "Twig\Extension\EscaperExtension::setEscaper()"."] In EscaperExtension.php line 127: You must call "setEnvironment()" before calling "Twig\Extension\EscaperExte nsion::setEscaper()". cache:warmup [--no-optional-warmers] " ["exception" => RuntimeException { …},"message" => """ An error occurred while executing the "/opt/php8.2.2/bin/php -dmemory_limit=-1 /hp/bv/ac/fw/www/xxx.de/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: 11:37:54 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "You must call "setEnvironment()" before calling "Twig\Extension\EscaperExtension::setEscaper()"." ["exception" => LogicException { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "You must call "setEnvironment()" before calling "Twig\Extension\EscaperExtension::setEscaper()"."]\n \n In EscaperExtension.php line 127:\n \n You must call "setEnvironment()" before calling "Twig\Extension\EscaperExte \n nsion::setEscaper()". \n \n \n cache:warmup [--no-optional-warmers]\n \n """] In ContaoSetupCommand.php line 146: An error occurred while executing the "/opt/php8.2.2/bin/php -dmemory_limit =-1 /hp/bv/ac/fw/www/xxx.de/vendor/contao/manager-bund le/bin/contao-console cache:warmup --env=prod --no-ansi" command: 11:37:54 CRITICAL [console] Error thrown while running command "cache:warmup --env= prod --no-ansi". Message: "You must call "setEnvironment()" before calling "Twig\Extension\EscaperExtension::setEscaper()"." ["exception" => LogicExce ption { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "Y ou must call "setEnvironment()" before calling "Twig\Extension\EscaperExten sion::setEscaper()"."] In EscaperExtension.php line 127: You must call "setEnvironment()" before calling "Twig\Extension\EscaperEx te nsion::setEscaper()". cache:warmup [--no-optional-warmers] 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
Lesezeichen