Danke für den Tipp.
Leider hat es nichts genützt. Die Konsole meldet beim ersten Aufruf:
Code:
$ /usr/bin/php -q /var/www/eis96pw/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
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.
Nothing to install or update
Generating optimized autoload files
InvalidArgumentException: Config file "/var/www/eis96pw/contao-manager/composer-install.set.json" does not exist. in phar:///var/www/eis96pw/web/contao-manager.phar.php/api/Process/AbstractProcess.php:56
Stack trace:
#0 phar:///var/www/eis96pw/web/contao-manager.phar.php/api/Process/ProcessRunner.php(183): Contao\ManagerApi\Process\AbstractProcess::readConfig('/var/www/eis96p...')
#1 phar:///var/www/eis96pw/web/contao-manager.phar.php/api/Process/ProcessRunner.php(114): Contao\ManagerApi\Process\ProcessRunner->loadConfig()
#2 phar:///var/www/eis96pw/web/contao-manager.phar.php/api/Process/ProcessRunner.php(59): Contao\ManagerApi\Process\ProcessRunner->wait(1)
#3 phar:///var/www/eis96pw/web/contao-manager.phar.php/api/Command/ProcessRunnerCommand.php(46): Contao\ManagerApi\Process\ProcessRunner->run()
#4 phar:///var/www/eis96pw/web/contao-manager.phar.php/vendor/symfony/console/Command/Command.php(255): Contao\ManagerApi\Command\ProcessRunnerCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 phar:///var/www/eis96pw/web/contao-manager.phar.php/vendor/symfony/console/Application.php(933): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 phar:///var/www/eis96pw/web/contao-manager.phar.php/vendor/symfony/console/Application.php(272): Symfony\Component\Console\Application->doRunCommand(Object(Contao\ManagerApi\Command\ProcessRunnerCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 phar:///var/www/eis96pw/web/contao-manager.phar.php/api/ApiApplication.php(72): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 phar:///var/www/eis96pw/web/contao-manager.phar.php/vendor/symfony/console/Application.php(148): Contao\ManagerApi\ApiApplication->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 phar:///var/www/eis96pw/web/contao-manager.phar.php/api/console(86): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput))
#10 /var/www/eis96pw/web/contao-manager.phar.php(57): require('phar:///var/www...')
#11 {main}
# Process terminated with exit code 143
# Result: Termination (request to terminate) [signal 15]
---
### Der Hintergrundprozess wurde unerwartet beendet ###
Dann beim Wiederaufsetzen:
Code:
$ /usr/bin/php -q /var/www/eis96pw/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
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
In FileLoader.php line 166:
The file "/var/www/eis96pw/vendor/contao/manager-bundle/src/Resources/skele
ton/config/config.yml" does not contain valid YAML: The constant "PDO::MYSQ
L_ATTR_MULTI_STATEMENTS" is not defined at line 54 (near "!php/const PDO::M
YSQL_ATTR_MULTI_STATEMENTS: false") in /var/www/eis96pw/vendor/contao/manag
er-bundle/src/Resources/skeleton/config/config.yml (which is being imported
from "/var/www/eis96pw/vendor/contao/manager-bundle/src/Resources/skeleton
/config/config_prod.yml").
In YamlFileLoader.php line 649:
The file "/var/www/eis96pw/vendor/contao/manager-bundle/src/Resources/skele
ton/config/config.yml" does not contain valid YAML: The constant "PDO::MYSQ
L_ATTR_MULTI_STATEMENTS" is not defined at line 54 (near "!php/const PDO::M
YSQL_ATTR_MULTI_STATEMENTS: false").
In Inline.php line 597:
The constant "PDO::MYSQL_ATTR_MULTI_STATEMENTS" is not defined at line 54 (
near "!php/const PDO::MYSQL_ATTR_MULTI_STATEMENTS: false").
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: 162 installs, 0 updates, 0 removals
Failed to download contao-components/installer from dist: The zip extension and unzip command are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
Now trying to download from source
- Installing contao-components/installer (1.3.1): Cloning 0d04932172 from cache
Failed to download ocramius/package-versions from dist: The zip extension and unzip command are both missing, skipping.
[Hier mehrere hundert Zeilen praktisch identischer Meldungen, die ich euch erspare]
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
Now trying to download from source
- Installing contao/news-bundle (4.8.4): Cloning 142b717197 from cache
Failed to download contao/newsletter-bundle from dist: The zip extension and unzip command are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
Now trying to download from source
- Installing contao/newsletter-bundle (4.8.4): Cloning 1639001de6 from cache
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 "contao:install-web-dir" command:
In FileLoader.php line 166:
The file "/var/www/eis96pw/vendor/contao/manager-bundle/src/Resources/ske
le
ton/config/config.yml" does not contain valid YAML: The constant "PDO::MY
SQ
L_ATTR_MULTI_STATEMENTS" is not defined at line 54 (near "!php/const PDO:
:M
YSQL_ATTR_MULTI_STATEMENTS: false") in /var/www/eis96pw/vendor/contao/man
ag
er-bundle/src/Resources/skeleton/config/config.yml (which is being import
ed
from "/var/www/eis96pw/vendor/contao/manager-bundle/src/Resources/skelet
on
/config/config_prod.yml").
In YamlFileLoader.php line 649:
The file "/var/www/eis96pw/vendor/contao/manager-bundle/src/Resources/ske
le
ton/config/config.yml" does not contain valid YAML: The constant "PDO::MY
SQ
L_ATTR_MULTI_STATEMENTS" is not defined at line 54 (near "!php/const PDO:
:M
YSQL_ATTR_MULTI_STATEMENTS: false").
In Inline.php line 597:
The constant "PDO::MYSQL_ATTR_MULTI_STATEMENTS" is not defined at line 54
(
near "!php/const PDO::MYSQL_ATTR_MULTI_STATEMENTS: false").
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 ###
Es läuft also wieder aufs Selbe raus. Ich vermute, dass das Problem irgendwo bei der Serverkonfiguration liegt - aber wo genau?