-
Update auf 5.2
Moin in die Runde,
ich wollte grade von Contao 4.13 auf Cantao 5.2 upaten.
Jetzt bekomme ich allerdings eine Fehlermeldung die ich nicht verstehe. Sehr ihr den Fehler? Ich tue es nicht ....
HTML-Code:
> Resolving dependencies using Composer Cloud v3.6.0-1-g9d9036c
[6.6MiB/0.18s] Loading composer repositories with package information
[72.7MiB/8.44s] Updating dependencies
[128.6MiB/9.04s] Your requirements could not be resolved to an installable set of packages.
[128.6MiB/9.04s]
Problem 1
- Root composer.json requires contao/listing-bundle 5.2.6 -> satisfiable by contao/listing-bundle[5.2.6].
- contao/listing-bundle 5.2.6 requires contao/core-bundle 5.2.6 -> found contao/core-bundle[5.2.6] but these were not loaded, likely because it conflicts with another require.
Problem 2
- Root composer.json requires contao/manager-bundle 5.2.6 -> satisfiable by contao/manager-bundle[5.2.6].
- contao/manager-bundle 5.2.6 requires contao/core-bundle 5.2.6 -> found contao/core-bundle[5.2.6] but these were not loaded, likely because it conflicts with another require.
Problem 3
- Root composer.json requires contao/newsletter-bundle 5.2.6 -> satisfiable by contao/newsletter-bundle[5.2.6].
- contao/newsletter-bundle 5.2.6 requires contao/core-bundle 5.2.6 -> found contao/core-bundle[5.2.6] but these were not loaded, likely because it conflicts with another require.
[128.6MiB/9.04s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
[40.6MiB/9.10s] Memory usage: 40.61MB (peak: 195.4MB), time: 9.1s.
[40.6MiB/9.10s] Finished Composer Cloud resolving.
-
Was steht denn in Deiner composer.json. Ich vermute, daß Du dort irgendwo noch Contao 4.x requirest.
-
Das dachte ich erst auch,
aber ich glaube dort ist alles richtig
HTML-Code:
{
"type": "project",
"require": {
"alpdesk/contao-google-fonts": "^1.3",
"contao/conflicts": "*@dev",
"contao/listing-bundle": "5.2.6",
"contao/manager-bundle": "5.2.6",
"contao/newsletter-bundle": "5.2.6",
"gfg-development/linkslist": "^1.3",
"premium-contao-themes/pct_theme_installer": "^1.6"
},
"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"
]
}
}
-
gfg-development/linkslist und premium-contao-themes/pct_theme_installer sind nicht mit Contao 5 kompatibel.
-
Du musst dafür auf "Alle Pakete aktualisieren" klicken, nicht auf anwenden.
-
Hallo in die Runde,
danke fuer die Hilfe. Ich bin weiter gekommen. Aber jetzt gibts eine neue Meldung:
Wisst ihr wie ich das loesen kann?
HTML-Code:
composer install
$ /opt/plesk/php/8.1/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=UTC /var/www/vhosts/die-unfassbaren.de/neu.die-unfassbaren.de/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 php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
Generating optimized autoload files
contao/manager-plugin: Dumping generated plugins file...
Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
101 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
contao/manager-plugin: ...done dumping generated plugins file
> @php vendor/bin/contao-setup
In ArrayNode.php line 327:
Unrecognized option "url_suffix" under "contao". Available options are "bac
kend", "backup", "crawl", "csrf_cookie_prefix", "csrf_token_name", "editabl
e_files", "error_level", "image", "insert_tags", "intl", "localconfig", "lo
cales", "mailer", "pretty_error_screens", "preview_script", "sanitizer", "s
earch", "security", "upload_path", "web_dir".
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
-
Du musst die Zeile mit url_suffix aus deiner config.yml entfernen. Die Einstellung ist stattdessen jetzt immer in der Seitenstruktur.