Closed akroii closed 5 years ago
Can you give a try with version 0.4.8
?
Nope:
$ /opt/php7.3/bin/php '-q' '/var/www/w35gbmh/htdocs/contao/web/contao-manager.phar.php' 'composer' 'require' 'oneup/contao-security-checker-bundle' '--no-suggest' '--no-update' '--no-scripts' '--prefer-stable' '--sort-packages' '--no-ansi' '--no-interaction' 2>&1
Using version ^0.4.8 for oneup/contao-security-checker-bundle
/var/www/w35gbmh/htdocs/contao/composer.json has been updated
# Process terminated with exit code 0
# Result: OK
> Resolving dependencies using Composer Cloud v2.0.11
# Job ID OMm1bRqJuDHW07Ex8zaES1i4d3JXWBRSpqNQnNZ4I2GSa456jprpEUDynzDGmPXZHNSTcNKA completed in 69 seconds
# Memory usage: 752.56MB (peak: 3391.92MB), time: 68.1s.
$ /opt/php7.3/bin/php '-q' '/var/www/w35gbmh/htdocs/contao/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
Package operations: 2 installs, 0 updates, 0 removals
As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Installing 'unzip' may remediate them.
- Installing sensiolabs/security-checker (v5.0.3): Loading from cache
- Installing oneup/contao-security-checker-bundle (0.4.8): Loading from cache
Package heimrichhannot/contao-fieldpalette is abandoned, you should avoid using it. Use heimrichhannot/contao-fieldpalette-bundle instead.
Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instead.
Generating optimized autoload files
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
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
In CheckExceptionOnInvalidReferenceBehaviorPass.php line 86:
The service "oneup_contao_security_checker.notification_listener" has a dep
endency on a non-existent service "templating".
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 89:
An error occurred while executing the "contao:install-web-dir" command:
In CheckExceptionOnInvalidReferenceBehaviorPass.php line 86:
The service "oneup_contao_security_checker.notification_listener" has a d
ep
endency on a non-existent service "templating".
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 ###
It's funny, because it runs on my contao demo. can you paste your composer.json
?
{
"type": "project",
"require": {
"alnv/catalog-manager": "^1.30",
"alnv/catalog-manager-export": "^1.0",
"alnv/catalog-manager-importer": "^1.2",
"alnv/catalog-manager-switch": "^1.0",
"contao/calendar-bundle": "^4.7",
"contao/conflicts": "*@dev",
"contao/manager-bundle": "4.8",
"derhaeuptling/contao-lazy-images": "^3.0",
"fritzmg/contao-lazy-load-element": "^1.0",
"hofff/contao-shariff": "^3.0",
"oneup/contao-cache-warmup": "^2.1",
"oneup/contao-security-checker-bundle": "^0.4.8",
"richardhj/contao-ajax_reload_element": "^2.1",
"trilobit-gmbh/contao-headerfootercode-bundle": "^1.0",
"trilobit-gmbh/contao-serverhint-bundle": "^1.0"
},
"extra": {
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}
Thanks, reproducable. I'll check.
Are you using the Contao Manager?
Yes. Latest Version
Fixed in 0.4.9
.
I've updated Contao 4.7 to 4.8 and I'am getting this error in Manager Console:
My composer.json: