Ergebnis 1 bis 14 von 14

Thema: Update Contao 4.10.*

  1. #1
    Contao-Nutzer
    Registriert seit
    30.03.2022.
    Beiträge
    20

    Standard Update Contao 4.10.*

    Hallo,
    versuche bereits den ganzen Tag ein Update auf Contao 4.10.
    Leider bekomme ich immer folgende Fehlermeldung:

    Code:
    6.9MiB/0.19s] Loading composer repositories with package information
    [71.0MiB/6.48s] Updating dependencies
    [139.4MiB/7.03s] Your requirements could not be resolved to an installable set of packages.
    [139.4MiB/7.03s] 
      Problem 1
        - Root composer.json requires hschottm/tags 4.5 -> satisfiable by hschottm/tags[4.5.0].
        - contao/newsletter-bundle 4.10.2 requires contao/core-bundle 4.10.2 -> satisfiable by contao/core-bundle[4.10.2].
        - Conclusion: don't install contao/core-bundle 4.10.2 (conflict analysis result)
        - contao/newsletter-bundle 4.10.3 requires contao/core-bundle 4.10.3 -> satisfiable by contao/core-bundle[4.10.3].
        - Conclusion: don't install contao/core-bundle 4.10.3 (conflict analysis result)
        - contao/newsletter-bundle 4.10.4 requires contao/core-bundle 4.10.4 -> satisfiable by contao/core-bundle[4.10.4].
        - Conclusion: don't install contao/core-bundle 4.10.4 (conflict analysis result)
        - contao/newsletter-bundle 4.10.5 requires contao/core-bundle 4.10.5 -> satisfiable by contao/core-bundle[4.10.5].
        - Conclusion: don't install contao/core-bundle 4.10.5 (conflict analysis result)
        - contao/newsletter-bundle 4.10.6 requires contao/core-bundle 4.10.6 -> satisfiable by contao/core-bundle[4.10.6].
        - Conclusion: don't install contao/core-bundle 4.10.6 (conflict analysis result)
        - contao/newsletter-bundle 4.10.7 requires contao/core-bundle 4.10.7 -> satisfiable by contao/core-bundle[4.10.7].
        - Conclusion: don't install contao/core-bundle 4.10.7 (conflict analysis result)
        - contao/newsletter-bundle 4.10.1 requires contao/core-bundle 4.10.1 -> satisfiable by contao/core-bundle[4.10.1].
        - Conclusion: don't install contao/core-bundle 4.10.1 (conflict analysis result)
        - hschottm/tags 4.5.0 requires contao/core-bundle ~4.9.0 -> satisfiable by contao/core-bundle[4.9.0, ..., 4.9.28].
        - Only one of these can be installed: contao/core[2.6.0, ..., 2.11.17, 3.0.0, ..., 3.5.40], contao/core-bundle[4.1.0, ..., 4.13.2]. contao/core replaces contao/core-bundle and thus cannot coexist with it.
        - contao/newsletter-bundle 4.10.0 requires contao/core-bundle 4.10.0 -> satisfiable by contao/core-bundle[4.10.0].
        - Root composer.json requires contao/newsletter-bundle 4.10.* -> satisfiable by contao/newsletter-bundle[4.10.0, ..., 4.10.7].
    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
    [139.4MiB/7.03s] <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>
    [39.7MiB/7.09s] Memory usage: 39.72MB (peak: 179.55MB), time: 7.1s.
    [39.7MiB/7.09s] Finished Composer Cloud resolving.
    Kann mir eventuell jemand helfen?

    LG

    Markus

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

    Standard

    Zitat Zitat von markus_ico Beitrag anzeigen
    versuche bereits den ganzen Tag ein Update auf Contao 4.10.
    Contao 4.10 hat schon lange das Lebensende erreicht. Du müsstest wenn dann auf Contao 4.13.2 aktualisieren.
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Nutzer
    Registriert seit
    30.03.2022.
    Beiträge
    20

    Standard

    Vielen Dank für die schnelle Antwort. Das wollte ich dann im nächsten Schritt machen oder kann ich direkt auf die 4.13 gehen?

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

    Standard

    Du musst das machen .
    » sponsor me via GitHub or PayPal or Revolut

  5. #5
    Contao-Nutzer
    Registriert seit
    30.03.2022.
    Beiträge
    20

    Standard

    Habe es nun mal versucht auf Version 4.13
    Leider mit dieser Fehlermeldung:

    Code:
    > Resolving dependencies using Composer Cloud v3.4.2
    !!! Current server is sponsored by: Contao Association !!!
    [6.9MiB/0.18s] Loading composer repositories with package information
    [65.8MiB/6.72s] Updating dependencies
    [114.9MiB/7.13s] Your requirements could not be resolved to an installable set of packages.
    [114.9MiB/7.13s] 
      Problem 1
        - contao/core-bundle[4.13.0, ..., 4.13.2] require symfony/filesystem ^5.4 -> found symfony/filesystem[v5.4.0, ..., v5.4.7] but these were not loaded, likely because it conflicts with another require.
        - codefog/contao-news_categories 3.4.17 requires contao/news-bundle ^4.4 -> satisfiable by contao/news-bundle[4.13.0, 4.13.1, 4.13.2].
        - contao/news-bundle 4.13.0 requires contao/core-bundle 4.13.0 -> satisfiable by contao/core-bundle[4.13.0].
        - contao/news-bundle 4.13.1 requires contao/core-bundle 4.13.1 -> satisfiable by contao/core-bundle[4.13.1].
        - contao/news-bundle 4.13.2 requires contao/core-bundle 4.13.2 -> satisfiable by contao/core-bundle[4.13.2].
        - codefog/contao-news_categories is locked to version 3.4.17 and an update of this package was not requested.
    [114.9MiB/7.14s] <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>
    [38.6MiB/7.18s] Memory usage: 38.57MB (peak: 168.94MB), time: 7.19s.
    [38.6MiB/7.18s] Finished Composer Cloud resolving.
    # Cloud Job ID M3f4Qx00RvwAZttlcrs0fNRDmB9lDe59ksSb5NO6a19LopPcCbpiPpisXaIaF0nAvYnLwCHWMePxsFcHFogWHgUekYlCF0SDvNRhCg9R4wuNFt failed
    composer install
    Contao Manager 1.5.2

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

    Standard

    Du musst eine vollständige Paketaktualisierung beim Update durchführen.
    » sponsor me via GitHub or PayPal or Revolut

  7. #7
    Contao-Nutzer
    Registriert seit
    30.03.2022.
    Beiträge
    20

    Standard

    Das habe ich gemacht:

    Code:
      Problem 1
        - Root composer.json requires isotope/isotope-core ^2.7 -> satisfiable by isotope/isotope-core[2.7.0, ..., 2.7.4].
        - contao/manager-bundle[4.13.0, ..., 4.13.2] require symfony/filesystem ^5.4 -> satisfiable by symfony/filesystem[v5.4.0, ..., v5.4.7].
        - Conclusion: don't install symfony/filesystem v5.4.7 (conflict analysis result)
        - Root composer.json requires contao/manager-bundle 4.13.* -> satisfiable by contao/manager-bundle[4.13.0, 4.13.1, 4.13.2].

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

    Standard

    Isotope 2.7.x kann nicht in Contao 4.13 genutzt werden. Erst Isotope 2.8 wird mit Contao 4.13 kompatibel sein. Dazu gibt es aber noch keinen offiziellen Release. Du kannst aber vorab 2.8.x-dev installieren.
    » sponsor me via GitHub or PayPal or Revolut

  9. #9
    Contao-Nutzer
    Registriert seit
    30.03.2022.
    Beiträge
    20

    Standard

    Ok, Danke.
    Wollte jetzt Isotope entfernen und dann erstmal die 4.13 installieren.
    Aber Isotope lässt sich nicht entfernen, sieht so aus also würde der Contao Manager die Pakete erst entfernen und im nächsten Schritt wieder installieren....

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

    Standard

    Entferne es einfach manuell aus der composer.json (und setze dort auch manuell in der composer.json die Version des contao/manager-bundle auf 4.13.*) und dann über die Systemwartung "Composer Update ausführen".
    » sponsor me via GitHub or PayPal or Revolut

  11. #11
    Contao-Nutzer
    Registriert seit
    30.03.2022.
    Beiträge
    20

    Standard

    Ok, das hat jetzt zwar geklappt, aber dafür bekomme ich beim Datenbank aktulisieren einen Fehler:

    Code:
    [2022-04-05T14:02:51.371034+01:00] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\DriverException: "An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1072 Key column 'featured' doesn't exist in table" at /mnt/web114/b1/43/510329143/htdocs/contao4/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 119 {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 1072): An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1072 Key column 'featured' doesn't exist in table at /mnt/web114/b1/43/510329143/htdocs/contao4/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:119)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1072): SQLSTATE[42000]: Syntax error or access violation: 1072 Key column 'featured' doesn't exist in table at /mnt/web114/b1/43/510329143/htdocs/contao4/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:30)\n[previous exception] [object] (PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1072 Key column 'featured' doesn't exist in table at /mnt/web114/b1/43/510329143/htdocs/contao4/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:34)"} []


    Kann ich die fehlende Spalte händisch anlegen und wenn ja in welche Tabelle?

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

    Standard

    Nutze den Debug-Modus und poste den Stack Trace.
    » sponsor me via GitHub or PayPal or Revolut

  13. #13
    Contao-Nutzer
    Registriert seit
    30.03.2022.
    Beiträge
    20

    Standard

    Ok, super jetzt hat alles gekllappt. Vielen Dank euch.
    Jetzt würde ich noch gern Isotope installieren.
    Wie schreib ich das in die composer.json das er die dev nimmt.

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

    Standard

    Einfach 2.8.x-dev, wie vorhin schon geschrieben.
    » sponsor me via GitHub or PayPal or Revolut

Aktive Benutzer

Aktive Benutzer

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

Lesezeichen

Lesezeichen

Berechtigungen

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