Moin,
ich wollte über den Contao Manager eine Erweiterung (changelanguage) installieren. Nachdem das im Testlauf noch alles funktioniert, gibts jetzt den Fehler, dass der Speicher überläuft, wenn ich ich die Erweiterung installieren möchte. Das Ganze liegt auf einem Managed Server bei der domainfactory, wir konnten da also schon was an den Speichergrenzen drehen und haben das auch schon getan.
Für in der php.ini sind 3GB memory_limit zugewiesen und für die Prozesse der Domain auf 1GB. Trotzdem meldet sich hier die Contao Manager:
Code:
$ /usr/local/bin/php7.0.28-cli '-q' '/kunden/web/contao-manager.phar.php' 'composer' 'require' 'terminal42/contao-changelanguage' '--no-progress' '--no-suggest' '--no-update' '--no-scripts' '--prefer-stable' '--sort-packages' '--no-ansi' '--no-interaction' 2>&1
Using version ^3.1 for terminal42/contao-changelanguage
/kunden/composer.json has been updated
# Process terminated with exit code 0
# Result: OK
$ /usr/local/bin/php7.0.28-cli '-q' '/kunden/web/contao-manager.phar.php' 'composer' 'update' 'terminal42/contao-changelanguage' 'terminal42/contao-changelanguage' '--with-dependencies' '--prefer-dist' '--no-dev' '--no-progress' '--no-suggest' '--no-ansi' '--no-interaction' '--optimize-autoloader' 2>&1
Loading composer repositories with package information
Updating dependencies
Package operations: 4 installs, 0 updates, 0 removals
- Installing contao-community-alliance/composer-plugin (3.0.9): Downloading (100%)
- Installing menatwork/contao-multicolumnwizard (3.3.16): Downloading (100%)
- Installing codefog/contao-haste (4.20.3): Downloading (100%)
- Installing terminal42/contao-changelanguage (3.1.9): Downloading (100%)
Writing lock file
Generating optimized autoload files
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Added/updated the web/app_dev.php file.
Added/updated the web/app.php file.
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
// Warming up the cache for the prod environment with debug
// false
Fatal error: Allowed memory size of 104857600 bytes exhausted (tried to allocate 1892352 bytes) in /kunden/vendor/twig/twig/lib/Twig/Lexer.php on line 173
In Lexer.php line 173:
Error: Allowed memory size of 104857600 bytes exhausted (tried to allocate
1892352 bytes)
cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-update-cmd event terminated with an exception
In ScriptHandler.php line 113:
An error occurred while executing the "cache:warmup" command:
In Lexer.php line 173:
Error: Allowed memory size of 104857600 bytes exhausted (tried to allocat
e
1892352 bytes)
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] [--no-debug] [--] <command>
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...
# Process terminated with exit code 1
# Result: General error
Hat jemand eine Idee, woran das liegen kann und was man hier machen kann?
Version 1.0.4 vom Manager läuft. Und es tritt auch mit oder ohne Composer Cloud auf.
Viele Grüße
Markus
Lesezeichen