Zitat von
Spooky
Führe über SSH ein composer update durch.
Ich habe einen Fehler in der "parameters.yml". Dabei habe ich die Synatax eigentlich eingehalten.
Hier die Fehlermeldung:
Code:
[Symfony\Component\DependencyInjection\Exception\InvalidArgumentException]
The file "/is/htdocs/xxx/www/xxx/app/con
fig/parameters.yml" does not contain valid YAML.
[Symfony\Component\Yaml\Exception\ParseException]
A YAML file cannot contain tabs as indentation at line 9 (near " prepend_lo
cale: true").
--------------------------------------------------------
Exception occured: The command "/usr/bin/php7.0 '-q' '-d' 'memory_limit=2048M' '-d' 'suhosin.executor.include.whitelist="phar://,http://,https://"' '/is/htdocs/xxx/www/xxx/vendor/bin/contao-console' 'cache:clear' '--env=prod' '--no-warmup'" failed.
Exit Code: 1(General error)
Working directory: /is/htdocs/xxx/www/xxx
Output:
================
Error Output:
================
[Symfony\Component\DependencyInjection\Exception\InvalidArgumentException]
The file "/is/htdocs/xxx/www/xxx/app/con
fig/parameters.yml" does not contain valid YAML.
[Symfony\Component\Yaml\Exception\ParseException]
A YAML file cannot contain tabs as indentation at line 9 (near " prepend_lo
cale: true").
#0 phar:///is/htdocs/xxx/www/xxx/web/contao-manager.phar.php/api/Tenside/Task/RebuildCacheTask.php(86): Tenside\Core\Task\AbstractCliSpawningTask->runProcess(Object(Symfony\Component\Process\Process))
#1 phar:///is/htdocs/xxx/www/xxx/web/contao-manager.phar.php/api/Tenside/Task/RebuildCacheTask.php(51): Contao\ManagerApi\Tenside\Task\RebuildCacheTask->runSymfonyCommand('cache:clear', Array)
#2 phar:///is/htdocs/xxx/www/xxx/web/contao-manager.phar.php/vendor/tenside/core/src/Task/Task.php(173): Contao\ManagerApi\Tenside\Task\RebuildCacheTask->doPerform()
#3 phar:///is/htdocs/xxx/www/xxx/web/contao-manager.phar.php/vendor/tenside/core/src/Task/Runner.php(89): Tenside\Core\Task\Task->perform('/is/htdocs/wp11...')
#4 phar:///is/htdocs/xxx/www/xxx/web/contao-manager.phar.php/vendor/tenside/core-bundle/src/Command/RunTaskCommand.php(82): Tenside\Core\Task\Runner->run('/is/htdocs/wp11...')
#5 phar:///is/htdocs/xxx/www/xxx/web/contao-manager.phar.php/vendor/symfony/console/Command/Command.php(264): Tenside\CoreBundle\Command\RunTaskCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 phar:///is/htdocs/xxx/www/xxx/web/contao-manager.phar.php/vendor/tenside/core-bundle/src/Command/RunTaskCommand.php(61): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 phar:///is/htdocs/xxx/www/xxx/web/contao-manager.phar.php/vendor/symfony/console/Application.php(887): Tenside\CoreBundle\Command\RunTaskCommand->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 phar:///is/htdocs/xxx/www/xxx/web/contao-manager.phar.php/vendor/symfony/console/Application.php(223): Symfony\Component\Console\Application->doRunCommand(Object(Tenside\CoreBundle\Command\RunTaskCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 phar:///is/htdocs/xxx/www/xxx/web/contao-manager.phar.php/api/ApiApplication.php(71): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 phar:///is/htdocs/xxx/www/xxx/web/contao-manager.phar.php/vendor/symfony/console/Application.php(130): Contao\ManagerApi\ApiApplication->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 phar:///is/htdocs/xxx/www/xxx/web/contao-manager.phar.php/api/console(74): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /is/htdocs/xxx/www/xxx/web/contao-manager.phar.php(55): require('phar:///is/htdo...')
#13 {main}
--------------------------------------------------------
Process terminated with exit code 1
Reason: General error