Anwendungscache und Update auf aktuelle 4.9
Hallo zusammen,
ich wollte gerade den Anwendungscache über den Contao-Manager löschen. Leider ohne Erfolg. Ebenso kann ich auch das Contao nicht updaten.
Contao-Version ist 4.9.1
PHP-Version ist 7.3.23
Folgender Fehler wird beim Löschen des Anwendungscaches ausgegeben:
Code:
$ /data/php/..../cgi/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /..../vendor/contao/manager-bundle/bin/contao-console cache:clear --env=prod --no-warmup
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
[WARNING] Some commands could not be registered:
In MemoryTokenStorage.php line 104:
MemoryTokenStorage must not be accessed before it was initialized.
[WARNING] Some commands could not be registered:
In MemoryTokenStorage.php line 104:
MemoryTokenStorage must not be accessed before it was initialized.
# Process terminated with exit code 0
# Result: OK
$ /data/php/..../cgi/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /..../vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod
// Warming up the cache for the prod environment with debug
// false
[WARNING] Some commands could not be registered:
In MemoryTokenStorage.php line 104:
MemoryTokenStorage must not be accessed before it was initialized.
[WARNING] Some commands could not be registered:
In MemoryTokenStorage.php line 104:
MemoryTokenStorage must not be accessed before it was initialized.
14:37:18 ERROR [console] Error thrown while running command "cache:warmup --env=prod". Message: "Failed to start the session because headers have already been sent by "" at line 0." ["exception" => RuntimeException { …},"command" => "cache:warmup --env=prod","message" => "Failed to start the session because headers have already been sent by "" at line 0."]
In NativeSessionStorage.php line 152:
Failed to start the session because headers have already been sent by "" at
line 0.
cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--]
# Process terminated with exit code 1
# Result: General error
Hat jemand vielleicht eine Idee?