Hallo zusammen!
Leider reißen die Probleme nicht ab. Contao 4.11.9 habe ich gerade aktualisiert.
Das Erneuern des Caches im CM führt wiederholt zu folgendem Fehler:
Was kann die Ursache sein?
Roland
Code:
vendor/bin/contao-console cache:warmup
$ /opt/rh/rh-php73/root/usr/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /var/www/htdocs/europaschulen/docroot/contao411/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod
// Warming up the cache for the prod environment with debug
// false
15:02:39 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod". Message: "An exception occurred while executing 'SELECT * FROM tl_ctselements WHERE iswrapper != ''':
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away" ["exception" => Doctrine\DBAL\Exception\ConnectionLost { …},"command" => "cache:warmup --env=prod","message" => """ An exception occurred while executing 'SELECT * FROM tl_ctselements WHERE iswrapper != ''':\n \n SQLSTATE[HY000]: General error: 2006 MySQL server has gone away """]
In AbstractMySQLDriver.php line 115:
An exception occurred while executing 'SELECT * FROM tl_ctselements WHERE i
swrapper != ''':
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
In Exception.php line 18:
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
In PDOConnection.php line 137:
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--] <command>
# Process terminated with exit code 1
# Result: General error