Fehler bei Composer Update
Hallo, habe folgendes Problem:
Ich habe eine Contao-Installation unter einer neuen Subdomain installiert:
Habe ALLE Ordner und Dateien 1:1 der Installation ins neue Verzeichniss geschoben und:
– neue DB in der parameters.yml angepasst
– auf PHP8 umgestellt
– den contao-manager ersetzt und die Systemwartungen DB aktualisiert /
Composer Update / Prod.Cache und Systemwartung gemacht.
Das Frontend funktioniert aber das Backend nicht (JavaScript scheint in Ihrem Browser deaktiviert zu sein. Das Contao-Backend funktioniert ohne JavaScript nur eingeschränkt.)
Composer Update habe ich folgende Fehlermeldung bekommen:
Code:
$ /usr/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Zurich /home/xxxxxx/www/xxxxxxx/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package contao-components/highlight is abandoned, you should avoid using it. No replacement was suggested.
Package lexik/maintenance-bundle is abandoned, you should avoid using it. No replacement was suggested.
Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Package symfony/swiftmailer-bundle is abandoned, you should avoid using it. Use symfony/mailer instead.
Package true/punycode is abandoned, you should avoid using it. No replacement was suggested.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating optimized autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
contao/manager-plugin: Dumping generated plugins file...
contao/manager-plugin: ...done dumping generated plugins file
Could not open input file: vendor/bin/contao-setup
Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
104 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-install-cmd event returned with error code 1
# Process terminated with exit code 1
# Result: General error
Meine Composer.json sieht so aus:
Code:
{
"type": "project",
"require": {
"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.*",
"fritzmg/contao-newslist-extended": "^1.2",
"madeyourday/contao-rocksolid-antispam": "^2.0",
"numero2/contao-proper-filenames": "^2.1",
"oneup/contao-language-dependent-modules-bundle": "^1.0",
"premium-contao-themes/pct_customelements_plugin_cc_frontedit": "^1.4",
"terminal42/contao-autoregistration": "^2.1",
"terminal42/contao-mailusername": "^2.0"
},
"extra": {
"public-dir": "web",
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"@php vendor/bin/contao-setup"
],
"post-update-cmd": [
"@php vendor/bin/contao-setup"
]
}
}
Habe ich bei der neuinstallation was übersehen?
Dank für Eure Hilfe :-)