Ergebnis 1 bis 6 von 6

Thema: Update Contao 4.13.X auf 5.3 LTS klappt nicht wg. PHP-Version?

  1. #1
    Contao-Nutzer
    Registriert seit
    08.03.2011.
    Beiträge
    28

    Standard Update Contao 4.13.X auf 5.3 LTS klappt nicht wg. PHP-Version?

    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!

  2. #2
    Contao-Urgestein Avatar von fiedsch
    Registriert seit
    09.07.2009.
    Ort
    München
    Beiträge
    3.038

    Standard

    Das Problem ist

    Code:
    - 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].
    Ob es da eine Version gibt, die mit Contao 5.x kompatibel ist, kann ich Dir nicht sagen.

    Edit: Du wirst davon woh Version 2.0 benötigen: https://packagist.org/packages/premi...heme_installer
    Contao-Community-Treff Bayern: http://www.contao-bayern.de

  3. #3
    Community-Moderatorin & Contao-Urgestein Avatar von mlweb
    Registriert seit
    10.07.2011.
    Beiträge
    7.437
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Und dann muss auch das Theme kompatibel sein und wenn ja muss Du die dazugehörigen Module aktualisieren.

    Bei Detailfragen dazu bist Du dann besser im PCT-Forum aufgehoben.
    Ich habe Dir mit meinen Hinweisen geholfen und Du möchtest Dich bedanken?
    Unterstütze bitte das Contao-Projekt (Button Links)
    Weitere Spendenmöglichkeiten
    ------------------------------------------------------------------------------------------------------
    Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
    Contao-Online-Video-Kurse: Contao Academy
    Funktionalität erweitern: Contao-Erweiterungen

    Für Dinge die man mit html5 und css3 lösen kann, braucht man kein javascript.




  4. #4
    Contao-Nutzer
    Registriert seit
    08.03.2011.
    Beiträge
    28

    Standard

    Danke euch beiden. Das Theme lief schon in der aktuellsten Version.
    Beim Theme Installer dachte ich, dass er bereits in der aktuellen Version vorhanden ist wenn ich
    ihn aktualisiere.

    Ich habe dann die 2.0.2 manuell installiert, und dann ging es fast durch.

    Es kam dann der Fehler, dass ich prepend_locale: true noch entfernen soll.
    Falls noch jemand damit ein Problem hat -> muss man in den Seiteneinstellungen
    unter URL-Präfix dann machen.

    Jetzt sieht´s gut aus!

  5. #5
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    37.191
    Partner-ID
    10107

    Standard

    Hast du das Requirement auf 2.0.2 fixiert oder ^2.0 eingetragen?
    » sponsor me via GitHub or Revolut

  6. #6
    Contao-Nutzer
    Registriert seit
    08.03.2011.
    Beiträge
    28

    Standard

    Ich hatte es fixiert.

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •