Hallo zusammen,
beim Update über den Manager wird mir eine neue Abhängigkeit im Task angezeigt.
Leider bekomme ich die Installation nicht mehr zum laufen und habe auch schon folgendes versucht.
Die composer.lock umbenannt, den Cache unter /var/cache gelöscht.
Hier der Fehler aus dem Task:
HTML-Code:
$ /opt/plesk/php/7.2/bin/php '-q' '/var/www/vhosts/xxxxx.com/c4-projekt/web/contao-manager.phar.php' 'composer' 'install' '--prefer-dist' '--no-dev' '--no-progress' '--no-suggest' '--no-ansi' '--no-interaction' '--optimize-autoloader' 2>&1
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Package heimrichhannot/contao-request is abandoned, you should avoid using it. Use heimrichhannot/contao-request-bundle instead.
Generating optimized autoload files
contao/manager-plugin: Generating plugin class...
contao/manager-plugin: ...done generating plugin class
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
PHP Fatal error: During class fetch: Uncaught ReflectionException: Class System not found in /var/www/vhosts/xxxxx.com/c4-projekt/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:40
Stack trace:
#0 /var/www/vhosts/xxxxx.com/c4-projekt/vendor/composer/ClassLoader.php(444): include('/var/www/vhosts...')
#1 /var/www/vhosts/xxxxx.com/c4-projekt/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/var/www/vhosts...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('Contao\\Controll...')
#3 /var/www/vhosts/xxxxx.com/c4-projekt/vendor/menatwork/contao-multicolumnwizard-bundle/src/EventListener/BaseListener.php(32): spl_autoload_call('Contao\\Controll...')
#4 /var/www/vhosts/xxxxx.com/c4-projekt/vendor/composer/ClassLoader.php(444): include('/var/www/vhosts...')
#5 /var/www/vhosts/xxxxx.com/c4-projekt/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/var/www/vhosts...')
#6 [internal function]: Composer\Autoload\ClassLoader->loadClass('MenAtWork\\Multi.. in /var/www/vhosts/xxxxx.com/c4-projekt/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php on line 40
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 113:
An error occurred while executing the "contao:install-web-dir" command: PHP
Fatal error: During class fetch: Uncaught ReflectionException: Class Syst
em not found in /var/www/vhosts/xxxxx.com/c4-projekt/vendor/contao/core-bun
dle/src/Resources/contao/library/Contao/Controller.php:40
Stack trace:
#0 /var/www/vhosts/xxxxx.com/c4-projekt/vendor/composer/ClassLoader.php(444
): include('/var/www/vhosts...')
#1 /var/www/vhosts/xxxxx.com/c4-projekt/vendor/composer/ClassLoader.php(322
): Composer\Autoload\includeFile('/var/www/vhosts...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('Contao\\C
ontroll...')
#3 /var/www/vhosts/xxxxx.com/c4-projekt/vendor/menatwork/contao-multicolumn
wizard-bundle/src/EventListener/BaseListener.php(32): spl_autoload_call('Co
ntao\\Controll...')
#4 /var/www/vhosts/xxxxx.com/c4-projekt/vendor/composer/ClassLoader.php(444
): include('/var/www/vhosts...')
#5 /var/www/vhosts/xxxxx.com/c4-projekt/vendor/composer/ClassLoader.php(322
): Composer\Autoload\includeFile('/var/www/vhosts...')
#6 [internal function]: Composer\Autoload\ClassLoader->loadClass('MenAtWork
\\Multi.. in /var/www/vhosts/xxxxx.com/c4-projekt/vendor/contao/core-bundle
/src/Resources/contao/library/Contao/Controller.php on line 40
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 ###
Und hier die json:
HTML-Code:
{
"type": "project",
"require": {
"codefog/contao-cookiebar": "^2.1",
"contao/calendar-bundle": "^4.4",
"contao/comments-bundle": "^4.4",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "^4.4",
"contao/listing-bundle": "^4.4",
"contao/manager-bundle": "4.4.*",
"contao/news-bundle": "^4.4",
"contao/newsletter-bundle": "^4.4",
"delahaye/dlh_googlemaps": "^2.4",
"do-while/contao-backupdb-bundle": "^1.3",
"heimrichhannot/contao-news_pagination": "^2.2",
"heimrichhannot/contao-subcolumns-bootstrap-bundle": "^1.3",
"madeyourday/contao-rocksolid-columns": "^2.0",
"madeyourday/contao-rocksolid-custom-elements": "^2.2",
"madeyourday/contao-rocksolid-icon-picker": "^2.0",
"metamodels/bundle_all": "^2.1",
"metamodels/core": "^2.1",
"terminal42/contao-ajaxform": "^1.0",
"terminal42/contao-changelanguage": "^3.1",
"terminal42/contao-pageimage": "^3.3"
},
"extra": {
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}
Die Installtion ist bisher gut gelaufen. Wollte aber vor dem GoLive noch mal alle Erweiterungen / Core auf den aktuellesten Stand bringen.
Mist! Falscher Fehler! Besser jetzt als später.
Habt ihr noch einen Tipp?
Viele Grüße
Markus
Lesezeichen