Hallo zusammen,
ich muss das Thema leider noch einmal aufwärmen.
Leeren beider (Produktionssumgebung und Entwicklungsumgebung) Caches hat leider nicht geholfen.
Ich habe nichts zusätzlich installiert, ist eine leere Grundinstallation von Contao. Ich kann auch keine Pakete installieren.
Contao Manager 1.4.8
Contao Version 4.9.21
SSL für Domain ist aktiv
Code:
In ScriptHandler.php line 89:
An error occurred while executing the "cache:warmup" command: 11:12:05 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod
". Message: "MemoryTokenStorage must not be accessed before it was initialized." ["exception" => LogicException { …},"command" => "cache:warmup --env=
prod","message" => "MemoryTokenStorage must not be accessed before it was initialized."]
In MemoryTokenStorage.php line 104:
MemoryTokenStorage must not be accessed before it was initialized.
die gesamte Konsolenausgabe im Anhang
Code:
> Resolving dependencies using Composer Cloud v3.2.0
!!! Current server is sponsored by: Contao Association !!!
[6.7MiB/0.18s] Loading composer repositories with package information
[55.5MiB/1.85s] Updating dependencies
[127.8MiB/50.72s] Nothing to modify in lock file
[77.0MiB/50.77s] Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
[77.0MiB/50.77s] Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
[77.5MiB/50.77s] Memory usage: 77.47MB (peak: 1442.03MB), time: 50.78s.
[77.5MiB/50.78s] Finished Composer Cloud resolving.
# Job ID 1JnsQLqRWrU5vcMrMBSklvhsVJYnvPisxf5wMhAVkjxgaPZXEh62CANz1u0OFKD7wPxorRNQgntKfrTRp1hKHxVNikYYcjeOngBzA5 completed in 62 seconds
# Memory usage: 77.47MB (peak: 1442.03MB), time: 50.78s.
$ /bin/php80 -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Vienna /var/home/haginvelt-golf_at/www/c4golf/web/contao-manager.phar.php composer install --prefer-dist --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 patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
87 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
contao/manager-plugin: Generating plugin class...
contao/manager-plugin: ...done generating plugin class
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Added the web/app.php file.
Added the web/preview.php file.
Added the web/index.php file.
X-Powered-By: PHP/8.0.12
Content-type: text/html; charset=UTF-8
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
X-Powered-By: PHP/8.0.12
Content-type: text/html; charset=UTF-8
// Clearing the cache for the dev environment with debug
// true
[OK] Cache for the "dev" environment (debug=true) was successfully cleared.
2021-10-20T11:12:01+02:00 [info] User Deprecated: The "Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand" class is deprecated since Symfony 4.2, use "Symfony\Component\Console\Command\Command" with dependency injection instead.
X-Powered-By: PHP/8.0.12
Content-type: text/html; charset=UTF-8
// Warming up the cache for the prod environment with debug
// false
11:12:05 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod". Message: "MemoryTokenStorage must not be accessed before it was initialized." ["exception" => LogicException { …},"command" => "cache:warmup --env=prod","message" => "MemoryTokenStorage must not be accessed before it was initialized."]
In MemoryTokenStorage.php line 104:
MemoryTokenStorage must not be accessed before it was initialized.
cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--]
X-Powered-By: PHP/8.0.12
Content-type: text/html; charset=UTF-8
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 89:
An error occurred while executing the "cache:warmup" command: 11:12:05 CRIT
ICAL [console] Error thrown while running command "cache:warmup --env=prod
". Message: "MemoryTokenStorage must not be accessed before it was initiali
zed." ["exception" => LogicException { …},"command" => "cache:warmup --env=
prod","message" => "MemoryTokenStorage must not be accessed before it was i
nitialized."]
In MemoryTokenStorage.php line 104:
MemoryTokenStorage must not be accessed before it was initialized.
cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--
verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--en
v ENV] [--]
install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-scripts] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [...]
# Process terminated with exit code 1
# Result: General error
Lesezeichen