Hallo zusammen,
ich möchte gerne in meiner Parallel-Installation Contao 4.13.53 auf Contao 5.3 LTS updaten.
Meine Vorgehensweise war:
- PHP für die Parallel-Installation (Subdomain) auf 8.3 geändert
- Alle Pakete aktualisiert
- 5.3.* eingetragen und im Pull-Down auf „Alle Pakete aktualisieren“ geklickt
—
Das klappt leider nicht. Laut Konsole hänt es an der PHP-Version, aber wie kann ich das ändern?
Wenn ich die alte PHP-Version eintrage (7.X) geht es ja auch nicht durch, da ich PHP 8 brauche.
Ich dachte nach der Umstellung auf PHP 8.3 und Aktualisierung der Pakete würde das durchlaufen.
Muss ich zuerst auf eine andere 5er-Version gehen?
Hier die Konsolenausgabe:
—
> Resolving dependencies using Composer Cloud v3.8.1
[6.9MiB/0.16s] Loading composer repositories with package information
[91.9MiB/10.39s] Updating dependencies
[179.4MiB/11.67s] Your requirements could not be resolved to an installable set of packages.
[179.4MiB/11.67s]
Problem 1
- Root composer.json requires contao/newsletter-bundle 5.3.* -> satisfiable by contao/newsletter-bundle[5.3.0, ..., 5.3.28].
- Root composer.json requires premium-contao-themes/pct_theme_installer ^1.6 -> satisfiable by premium-contao-themes/pct_theme_installer[1.6.0, ..., 1.6.4].
- contao/core-bundle[4.9.0, ..., 4.10.4] require php ^7.2 -> your php version (8.3.17.0) does not satisfy that requirement.
- contao/core-bundle 4.4.0 requires terminal42/header-replay-bundle ^1.0 -> satisfiable by terminal42/header-replay-bundle[1.0.0, ..., 1.5.3].
- contao/core-bundle[4.4.1, ..., 4.4.17] require php ^5.6|^7.0 -> your php version (8.3.17.0) does not satisfy that requirement.
- contao/core-bundle[4.4.18, ..., 4.4.57] require php ^5.6 || ^7.0 -> your php version (8.3.17.0) does not satisfy that requirement.
- contao/core-bundle[4.5.0, ..., 4.8.8] require php ^7.1 -> your php version (8.3.17.0) does not satisfy that requirement.
- contao/newsletter-bundle 5.3.0 requires contao/core-bundle 5.3.0 -> satisfiable by contao/core-bundle[5.3.0].
- contao/newsletter-bundle 5.3.1 requires contao/core-bundle 5.3.1 -> satisfiable by contao/core-bundle[5.3.1].
- contao/newsletter-bundle 5.3.10 requires contao/core-bundle 5.3.10 -> satisfiable by contao/core-bundle[5.3.10].
- contao/newsletter-bundle 5.3.11 requires contao/core-bundle 5.3.11 -> satisfiable by contao/core-bundle[5.3.11].
- contao/newsletter-bundle 5.3.12 requires contao/core-bundle 5.3.12 -> satisfiable by contao/core-bundle[5.3.12].
- contao/newsletter-bundle 5.3.13 requires contao/core-bundle 5.3.13 -> satisfiable by contao/core-bundle[5.3.13].
- contao/newsletter-bundle 5.3.14 requires contao/core-bundle 5.3.14 -> satisfiable by contao/core-bundle[5.3.14].
- contao/newsletter-bundle 5.3.15 requires contao/core-bundle 5.3.15 -> satisfiable by contao/core-bundle[5.3.15].
- contao/newsletter-bundle 5.3.16 requires contao/core-bundle 5.3.16 -> satisfiable by contao/core-bundle[5.3.16].
- contao/newsletter-bundle 5.3.17 requires contao/core-bundle 5.3.17 -> satisfiable by contao/core-bundle[5.3.17].
- contao/newsletter-bundle 5.3.18 requires contao/core-bundle 5.3.18 -> satisfiable by contao/core-bundle[5.3.18].
- contao/newsletter-bundle 5.3.19 requires contao/core-bundle 5.3.19 -> satisfiable by contao/core-bundle[5.3.19].
- contao/newsletter-bundle 5.3.2 requires contao/core-bundle 5.3.2 -> satisfiable by contao/core-bundle[5.3.2].
- contao/newsletter-bundle 5.3.20 requires contao/core-bundle 5.3.20 -> satisfiable by contao/core-bundle[5.3.20].
- contao/newsletter-bundle 5.3.21 requires contao/core-bundle 5.3.21 -> satisfiable by contao/core-bundle[5.3.21].
- contao/newsletter-bundle 5.3.22 requires contao/core-bundle 5.3.22 -> satisfiable by contao/core-bundle[5.3.22].
- contao/newsletter-bundle 5.3.23 requires contao/core-bundle 5.3.23 -> satisfiable by contao/core-bundle[5.3.23].
- contao/newsletter-bundle 5.3.24 requires contao/core-bundle 5.3.24 -> satisfiable by contao/core-bundle[5.3.24].
- contao/newsletter-bundle 5.3.25 requires contao/core-bundle 5.3.25 -> satisfiable by contao/core-bundle[5.3.25].
- contao/newsletter-bundle 5.3.26 requires contao/core-bundle 5.3.26 -> satisfiable by contao/core-bundle[5.3.26].
- contao/newsletter-bundle 5.3.27 requires contao/core-bundle 5.3.27 -> satisfiable by contao/core-bundle[5.3.27].
- contao/newsletter-bundle 5.3.28 requires contao/core-bundle 5.3.28 -> satisfiable by contao/core-bundle[5.3.28].
- contao/newsletter-bundle 5.3.3 requires contao/core-bundle 5.3.3 -> satisfiable by contao/core-bundle[5.3.3].
- contao/newsletter-bundle 5.3.4 requires contao/core-bundle 5.3.4 -> satisfiable by contao/core-bundle[5.3.4].
- contao/newsletter-bundle 5.3.5 requires contao/core-bundle 5.3.5 -> satisfiable by contao/core-bundle[5.3.5].
- contao/newsletter-bundle 5.3.6 requires contao/core-bundle 5.3.6 -> satisfiable by contao/core-bundle[5.3.6].
- contao/newsletter-bundle 5.3.7 requires contao/core-bundle 5.3.7 -> satisfiable by contao/core-bundle[5.3.7].
- contao/newsletter-bundle 5.3.8 requires contao/core-bundle 5.3.8 -> satisfiable by contao/core-bundle[5.3.8].
- contao/newsletter-bundle 5.3.9 requires contao/core-bundle 5.3.9 -> satisfiable by contao/core-bundle[5.3.9].
- premium-contao-themes/pct_theme_installer 1.6.0 requires contao/core-bundle ^3.5 || ~4.4 -> satisfiable by contao/core-bundle[4.4.0, ..., 4.13.53].
- premium-contao-themes/pct_theme_installer 1.6.1 requires contao/core-bundle ^4.9 -> satisfiable by contao/core-bundle[4.9.0, ..., 4.13.53].
- premium-contao-themes/pct_theme_installer[1.6.2, ..., 1.6.4] require contao/core-bundle ^4.9.0 || ^4.13.0 -> satisfiable by contao/core-bundle[4.9.0, ..., 4.13.53].
- terminal42/header-replay-bundle[1.0.0, ..., 1.4.4] require php >=5.6,<8 -> your php version (8.3.17.0) does not satisfy that requirement.
- terminal42/header-replay-bundle[1.5.0, ..., 1.5.3] require php ^5.6 | ^7.0 -> your php version (8.3.17.0) does not satisfy that requirement.
- Conclusion: don't install contao/core-bundle 5.3.1 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.2 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.3 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.4 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.5 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.6 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.7 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.8 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.9 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.10 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.11 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.12 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.13 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.14 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.15 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.16 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.17 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.18 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.19 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.20 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.21 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.22 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.23 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.24 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.25 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.26 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.27 (conflict analysis result)
- Conclusion: don't install contao/core-bundle 5.3.28 (conflict analysis result)
- You can only install one version of a package, so only one of these can be installed: contao/core-bundle[4.4.0, ..., 4.13.53, 5.0.0, ..., 5.5.3].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
[179.4MiB/11.67s] 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.
—
Meine composer.json sieht so aus:
—
{
"type": "project",
"require": {
"contao/calendar-bundle": "4.13.*",
"contao/comments-bundle": "4.13.*",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "4.13.*",
"contao/listing-bundle": "4.13.*",
"contao/manager-bundle": "4.13.*",
"contao/news-bundle": "4.13.*",
"contao/newsletter-bundle": "4.13.*",
"premium-contao-themes/pct_theme_installer": "^1.6",
"terminal42/contao-changelanguage": "^3.6"
},
"extra": {
"contao-component-dir": "assets",
"public-dir": "public"
},
"scripts": {
"post-install-cmd": [
"@php vendor/bin/contao-setup"
],
"post-update-cmd": [
"@php vendor/bin/contao-setup"
]
}
}
--
Vielen Dank im voraus für eure Hilfe!
—