Hallo,
ich erhalte aktuell bei dem Versuch die Pakete über den Contao-Manager die Fehlermeldung 'An error occurred while executing the "contao:symlinks" command'. Im Backend kann ich die Symlinks aber problemlos erneuern. Bei einem "composer install" bzw. "composer update" bekomme ich die Fehlermeldung ebenfalls.
Die Contao-Version ist die 4.4.32.
Hier meine aktuelle composer.json:
{
"type": "project",
"require": {
"php": ">=5.5.0",
"symfony/symfony": "~2.8|~3.0",
"contao/manager-bundle": "4.4.*",
"contao/calendar-bundle": "^4.4",
"contao/comments-bundle": "^4.4",
"contao/faq-bundle": "^4.4",
"contao/listing-bundle": "^4.4",
"contao/news-bundle": "^4.4",
"contao/newsletter-bundle": "^4.4"
},
"conflict": {
"symfony/symfony": "3.2.7"
},
"extra": {
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::i nitializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::i nitializeApplication"
]
}
}
Anbei die komplette Konsolenausgabe beim Update-Versuch der Pakete:
$ /bin/php73 -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /htdocs/contao_4_4/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
// 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
PHP Warning: Use of undefined constant REVOLUTIONSLIDER_VERSION - assumed 'REVOLUTIONSLIDER_VERSION' (this will throw an Error in a future version of PHP) in /htdocs/contao_4_4/system/modules/pct_revolutionslider/config/config.php on line 17
PHP Warning: Use of undefined constant REVOLUTIONSLIDER_PATH - assumed 'REVOLUTIONSLIDER_PATH' (this will throw an Error in a future version of PHP) in /htdocs/contao_4_4/system/modules/pct_revolutionslider/config/config.php on line 18
[OK] Cache for the "prod" environment (debug=false) was successfully warmed.
Trying to install assets as relative symbolic links.
--- ------------------------ ------------------
Bundle Method / Error
--- ------------------------ ------------------
? ContaoCoreBundle relative symlink
? ContaoFaqBundle relative symlink
? ContaoNewsBundle relative symlink
? ContaoNewsletterBundle relative symlink
? ContaoCalendarBundle relative symlink
? ContaoCommentsBundle relative symlink
--- ------------------------ ------------------
[OK] All assets were successfully installed.
Added the system/initialize.php file.
Symlinked the system/config/tcpdf.php file.
--- ------------------------------------------------ ----------------------------------------------------------------
Symlink Target / Error
--- ------------------------------------------------ ----------------------------------------------------------------
? web/files/cto_layout files/cto_layout
? web/system/modules/news_categories/assets system/modules/news_categories/assets
? web/system/modules/news/assets system/modules/news/assets
? web/system/modules/haste/assets system/modules/haste/assets
? web/system/modules/devtools/assets system/modules/devtools/assets
? web/system/modules/dk_mmenu/assets system/modules/dk_mmenu/assets
? web/system/modules/easy_themes/html system/modules/easy_themes/html
? web/system/modules/newsletter/assets system/modules/newsletter/assets
? web/system/modules/changelanguage/assets system/modules/changelanguage/assets
? web/system/modules/multicolumnwizard/html system/modules/multicolumnwizard/html
? web/system/modules/widget_tree_picker/public system/modules/widget_tree_picker/public
? web/system/modules/calendar/assets system/modules/calendar/assets
? web/system/modules/ce_be_remarks/html system/modules/ce_be_remarks/html
? web/system/modules/pct_revolutionslider/assets system/modules/pct_revolutionslider/assets
? web/system/modules/faq/assets system/modules/faq/assets
? web/system/modules/Subcolumns/assets system/modules/Subcolumns/assets
? web/system/modules/widget_tree_picker/assets system/modules/widget_tree_picker/assets
? web/system/modules/comments/assets system/modules/comments/assets
? system/themes/flexible The path "system/themes/flexible" exists and is not a symlink.
? web/assets assets
? web/system/themes system/themes
? system/logs The path "system/logs" exists and is not a symlink.
--- ------------------------------------------------ ----------------------------------------------------------------
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. It is recommended that you run `composer update` or `composer update <package name>`.
Nothing to install or update
Generating optimized autoload files
Deprecation Notice: Class Nelmio\SecurityBundle\ContentSecurityPolicy\Violat ion\ReportTest located in ./vendor/nelmio/security-bundle/Tests/ContentSecurityPolicy/Violation/ReportTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///htdocs/contao_4_4/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
> Contao\ManagerBundle\Composer\ScriptHandler::initi alizeApplication
Script Contao\ManagerBundle\Composer\ScriptHandler::initi alizeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 113:
An error occurred while executing the "contao:symlinks" 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
Lesezeichen