Hallo,
Ausgangsitution:
- Update 4.9.31 auf 4.9.34 via Contao Manager » lief einwandfrei durch
- Update Testlauf 4.9.34 auf 4.13.10 via Contao Manger » läuft ohne Fehler durch
- Update 4.9.34 auf 4.13.10 via Contao Manger » CM bricht mit error code 1 ab:
PHP-Code:
...
120 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php vendor/bin/contao-setup
Script @php vendor/bin/contao-setup handling the post-update-cmd event returned with error code 1
# Process terminated with exit code 1
# Result: General error
composer.json angepasst auf
PHP-Code:
"scripts": {
"post-install-cmd": [
"@php vendor/bin/contao-setup --ansi"
],
"post-update-cmd": [
"@php vendor/bin/contao-setup --ansi"
]
},
[Composer Update ausführen] im Contao Manager bricht ebenfalls ab:
PHP-Code:
Use the `composer fund` command to find out more!
> @php vendor/bin/contao-setup --ansi
Script @php vendor/bin/contao-setup --ansi handling the post-update-cmd event returned with error code 1
# Process terminated with exit code 1
# Result: General error
Was mir aufgefallen ist, dass die vorherige composer.json so aussah:
PHP-Code:
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
},
und bereits nach dem Testlauf sich geändert hat. bzw. auch nach einer manuellen Rückänderung auf Contao\\ManagerBundle\\Composer\\ScriptHandler::in itializeApplication sich das wieder auf @php vendor/bin/contao-setup geändert hat.
meine aktuelle composer.json:
PHP-Code:
{
"type": "project",
"require": {
"bugbuster/contao-visitors-bundle": "^1.6",
"codefog/contao-news_categories": "^3.4",
"contao/calendar-bundle": "4.9.*",
"contao/comments-bundle": "4.9.*",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "4.9.*",
"contao/listing-bundle": "4.9.*",
"contao/manager-bundle": "4.9.*",
"contao/news-bundle": "4.9.*",
"contao/newsletter-bundle": "4.9.*",
"do-while/contao-backupdb-bundle": "^1.4",
"hofff/contao-consent": "1.0",
"hofff/contao-shariff": "^3.0",
"inspiredminds/contao-isotope-pdf-templates": "^2.1",
"inszenium/isotope-export": "^2.0",
"isotope/isotope-core": "2.7.3 || ^2.8",
"madeyourday/contao-rocksolid-columns": "^2.0",
"madeyourday/contao-rocksolid-custom-elements": "^2.2",
"madeyourday/contao-rocksolid-icon-picker": "^2.0",
"richardhj/contao-isotope_simple_stockmanagement": "^2.0"
},
"conflict": {
"contao/core-bundle": "4.9.27"
},
"extra": {
"contao-component-dir": "assets",
"public-dir": "web"
},
"scripts": {
"post-install-cmd": [
"@php vendor/bin/contao-setup --ansi"
],
"post-update-cmd": [
"@php vendor/bin/contao-setup --ansi"
]
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
}
}
Kann jemand weiterhelfen?
vielen Dank schon mal
Lesezeichen