Aktuell sorgt wohl das Paket heimrichhannot/contao-utils-bundle für einen Fehler und killt die Webseite. Contao Manager will/muss einen Restore machen....der schlägt fehl.
Durch Einspielen eines Backups (composer.json und composer.lock) und anschließendem Repair läuft wieder alles. Daher das mal zur Info. Weiter kann ich es leider nicht eingrenzen.
Contao 4.7.7
Fehlermeldung beim Update:
Code:
> Resolving dependencies using Composer Cloud v2.0.11# Job ID WBwZ87YMIymz3RPSEFwCdmSQowrKtYg7q7QFwj07VwCTDmZM1tp6iJkSnbplJEt1cydoZycTME completed in 122 seconds# Memory usage: 768.63MB (peak: 3381.31MB), time: 120.93s.$ /usr/bin/php7.3-cli '-q' '-d' 'memory_limit=-1' '/homepages/46/xxx/htdocs/jagdbildungszentrum-v2/web/contao-manager.phar.php' 'composer' 'install' '--prefer-dist' '--no-dev' '--no-progress' '--no-suggest' '--no-ansi' '--no-interaction' '--optimize-autoloader' 2>&1Loading composer repositories with package informationInstalling dependencies from lock file
Package operations: 0 installs, 9 updates, 0 removals
- Updating composer/ca-bundle (1.2.2 => 1.2.3): Loading from cache
- Updating eluceo/ical (0.15.0 => 0.15.1): Loading from cache
- Updating symfony/polyfill-mbstring (v1.11.0 => v1.12.0): Loading from cache
- Updating symfony/polyfill-ctype (v1.11.0 => v1.12.0): Loading from cache
- Updating php-http/message (1.7.2 => 1.8.0): Loading from cache
- Updating symfony/polyfill-php72 (v1.11.0 => v1.12.0): Loading from cache
- Updating symfony/polyfill-intl-idn (v1.11.0 => v1.12.0): Loading from cache
- Updating symfony/polyfill-iconv (v1.11.0 => v1.12.0): Loading from cache
- Updating heimrichhannot/contao-utils-bundle (2.102.0 => 2.104.1): Loading from cache
Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instead.
Generating optimized autoload filesocramius/package-versions: Generating version class...ocramius/package-versions: ...done generating version classcontao/manager-plugin:
Generating plugin class...contao/manager-plugin: ...done generating plugin class>
Contao\ManagerBundle\Composer\ScriptHandler::initializeApplicationIn DefinitionErrorExceptionPass.php line 54:
Cannot autowire service "HeimrichHannot\UtilsBundle\File\FolderUtil": argument "$symlinksCommand" of method "__construct()" references class "Contao\CoreBundle\Command\SymlinksCommand" but no such service exists. You should maybe alias this class to the existing "contao.command.symlinks" service.
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exceptionIn ScriptHandler.php line 89:
An error occurred while executing the "contao:install-web-dir" command:
In DefinitionErrorExceptionPass.php line 54: Cannot autowire service "HeimrichHannot\UtilsBundle\File\FolderUtil": argument "$symlinksCommand" of method "__construct()" references class "Contao \CoreBundle\Command\SymlinksCommand" but no such service exists. You should maybe alias this class to the existing "contao.command.symlinks" service.
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---### The background task has stopped unexpectedly ###
composer.json (vor dem Update)
Code:
{ "type": "project",
"require": {
"bugbuster/contao-dlstats-bundle": "^1.0",
"codefog/contao-cookiebar": "^2.1",
"codefog/contao-events_subscriptions": "^2.3",
"contao-bootstrap/core": "^2.0",
"contao-bootstrap/grid": "^2.0",
"contao-bootstrap/layout": "^2.0",
"contao-bootstrap/navbar": "^2.1",
"contao/calendar-bundle": "^4.6",
"contao/comments-bundle": "^4.7",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "^4.6",
"contao/listing-bundle": "^4.6",
"contao/manager-bundle": "4.7.*",
"contao/news-bundle": "^4.6",
"dklemmt/contao_dk_mmenu": "^3.0",
"do-while/contao-backupdb-bundle": "^1.3",
"heimrichhannot/contao-teaser-bundle": "^0.3.2",
"hofff/contao-calendarfield": "^3.0",
"jrgregory/m17-sticky-backend-footer": "^2.0",
"kmielke/calendar-extended-bundle": "^1.0",
"oneup/contao-ical-export": "^2.0",
"phpoffice/phpexcel": "^1.8",
"richardhj/contao-childlayouts": "^1.1",
"sioweb/glossar": "^1.4",
"terminal42/contao-ce-access": "^2.0",
"terminal42/contao-easy_themes": "^2.2",
"terminal42/contao-leads": ">=1.4.10.0,<1.5-dev",
"terminal42/contao-pageimage": ">=3.3.0.0,<3.4-dev",
"terminal42/notification_center": "^1.4",
"w3scout/contao-searchfaq-bundle": "^1.0"
},
"extra": {
"contao-component-dir": "assets"
},
"conflict": {
"doctrine/dbal": "2.9.1|2.9.2"
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}
VG
Lesezeichen