Installation weder über Contao Manager noch über Konsole möglich
Hallo Community,
ich versuche gerade, eine Contao Installation auf den neuesten Stand zu bringen.
Obwohl die Seite bei Strato gehostet ist (ja... i know), hat es bisher immer funktioniert.
Wenn ich versuche, z.b. die codefog/contao-cookiebar Extension zu installieren, bricht die Installation über den CM immer mit der Meldung ab
Code:
$ /opt/RZphp72/bin/php-cli -q -d max_execution_time=300 /mnt/path/website2018/web/contao-manager.phar.php composer require codefog/contao-cookiebar --no-suggest --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
Using config.component-dir has been deprecated. Please use extra.contao-component-dir instead.
Using version ^2.1 for codefog/contao-cookiebar
/mnt/path/website2018/composer.json has been updated
# Process terminated with exit code 0
# Result: OK > Resolving dependencies using Composer Cloud v2.0.11
# Job ID LpU25PscUHvC8pPYMN0kDdgpmOdLErFxGfqlGDk7CoV4z4mIEu5sgEMoGkLthMLnEkduKQpckQWqiz174sZyGXvxMTotoCytvnh3Yd completed in 55 seconds
# Memory usage: 777.68MB (peak: 3940.77MB), time: 54.54s. $ /opt/RZphp72/bin/php-cli -q -d max_execution_time=300 /mnt/path/website2018/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
Using config.component-dir has been deprecated.
Please use extra.contao-component-dir instead.
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
contao/manager-plugin: Generating plugin class...
contao/manager-plugin: ...done generating plugin class
Added the web/app.php file.
Added the web/index.php file.
Added the web/preview.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
21:51:14 ERROR [console] Error thrown while running command "cache:warmup --env=prod". Message: "RecursiveDirectoryIterator::__construct(/mnt/path/website2018/system/modules/divider/languages/de): failed to open dir: Too many open files" ["exception" => UnexpectedValueException { …},"command" => "cache:warmup --env=prod","message" => "RecursiveDirectoryIterator::__construct(/mnt/path/website2018/system/modules/divider/languages/de): failed to open dir: Too many open files"]
In RecursiveDirectoryIterator.php line 48:
RecursiveDirectoryIterator::__construct(/mnt/webq/d0/11/562311/htdocs/websi te2018/system/modules/divider/languages/de): failed to open dir: Too many o pen files
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>
Loading composer repositories with package information
Installing dependencies from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them. Package operations: 1 install, 0 updates, 0 removals - Installing codefog/contao-cookiebar (2.1.6): Downloading (100%) Generating optimized autoload files > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception In ScriptHandler.php line 88: An error occurred while executing the "cache:warmup" command: 21:51:14 ERROR
[console] Error thrown while running command "cache:warmup --env=prod ". Message: "RecursiveDirectoryIterator::__construct(/mnt/webq/d0/11/562311 /htdocs/website2018/system/modules/divider/languages/de): failed to open di r: Too many open files" ["exception" => UnexpectedValueException { …},"comm and" => "cache:warmup --env=prod","message" => "RecursiveDirectoryIterator: :__construct(/mnt/path/website2018/system/modules/divid er/languages/de): failed to open dir: Too many open files"]
In RecursiveDirectoryIterator.php line 48: RecursiveDirectoryIterator::__construct(/mnt/path/web si te2018/system/modules/divider/languages/de): failed to open dir: Too many o pen files
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] [--] <command>
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>...]
# Process terminated with exit code 1 # Result: General error
---
### Der Hintergrundprozess wurde unerwartet beendet ###
Wenn ich dann versuche, das ganze per Konsole zu initieren, erhalte ich folgende Fehlermeldung...
Code:
php -d memory_limit=-1 contao-manager.phar.php composer update
Using config.component-dir has been deprecated. Please use extra.contao-component-dir instead.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 41 installs, 0 updates, 0 removals
- Installing marebe1602/mae_event_categories (1.5.1): Loading from cache
In AbstractModuleInstaller.php line 582:
Installation target "/mnt/path/website2018/web/system/m
odules/mae_event_categories" already exists
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>...]
X-Powered-By: PHP/7.2.23
Content-type: text/html
Ich bin leider mit meinem Latein am Ende, hat jemand eine Idee...