Contao-Camp 2024
Ergebnis 1 bis 6 von 6

Thema: Versionskonflikte bei Contao 4.12.3

  1. #1
    Contao-Nutzer
    Registriert seit
    28.08.2009.
    Beiträge
    186

    Standard Versionskonflikte bei Contao 4.12.3

    Hallo zusammen!

    Es ist wieder das Übliche - leider!
    Ich habe eine aktuelle Contao-Version (4.12.3) mit dem CM installiert. Anschließend wollte ich die Erweiterung "Datenbanksicherung" von Hagen Klemp installieren.
    1. Versuch: "1 Änderung anwenden" --> Abbruch
    2. Versuch: auch Contao zur Aktualisierung ausgewählt, also "2 Änderungen anwenden" --> Abbruch
    Es werden zwar Symfony-Downgrades durchgeführt. Trotzdem ohne Erfolg.
    Schade! Ich mache das als Anwender jetzt schon 10 Jahre. Irre ich oder wird Contao in dieser Hinsicht immer weniger anwenderfreundlich ?

    Hat jemand einen hilfreichen Tipp?

    Danke & Gruß
    Roland


    Code:
    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform.
    Package operations: 1 install, 39 updates, 2 removals
    As there is no 'unzip' nor '7z' command installed zip files are being unpacked using the PHP zip extension.
    This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
    Installing 'unzip' or '7z' may remediate them.
      - Downloading contao-components/tinymce4 (5.10.2)
      - Downloading symfony/deprecation-contracts (v2.5.0)
      - Downloading symfony/yaml (v5.3.11)
      - Downloading symfony/http-foundation (v5.3.11)
      - Downloading symfony/http-client-contracts (v2.5.0)
      - Downloading symfony/event-dispatcher-contracts (v1.1.11)
      - Downloading symfony/event-dispatcher (v4.4.34)
      - Downloading symfony/var-dumper (v5.3.11)
      - Downloading symfony/error-handler (v4.4.34)
      - Downloading symfony/http-kernel (v4.4.34)
      - Downloading symfony/service-contracts (v2.5.0)
      - Downloading symfony/dependency-injection (v5.3.11)
      - Downloading symfony/config (v5.3.11)
      - Downloading symfony/http-client (v5.3.11)
      - Downloading symfony/translation-contracts (v2.5.0)
      - Downloading symfony/twig-bridge (v4.4.34)
      - Downloading symfony/twig-bundle (v4.4.30)
      - Downloading symfony/translation (v4.4.34)
      - Downloading symfony/security-core (v4.4.34)
      - Downloading symfony/security-http (v4.4.34)
      - Downloading symfony/security-guard (v4.4.27)
      - Downloading symfony/security-bundle (v4.4.34)
      - Downloading symfony/routing (v4.4.34)
      - Downloading symfony/process (v5.3.11)
      - Downloading symfony/monolog-bridge (v5.2.12)
      - Downloading symfony/mime (v5.3.11)
      - Downloading symfony/intl (v5.3.11)
      - Downloading symfony/var-exporter (v5.3.11)
      - Downloading symfony/cache-contracts (v2.5.0)
      - Downloading symfony/cache (v5.3.11)
      - Downloading symfony/framework-bundle (v4.4.34)
      - Downloading symfony/expression-language (v5.3.11)
      - Downloading symfony/console (v4.4.34)
      - Downloading symfony/asset (v5.3.11)
      - Downloading doctrine/dbal (2.13.5)
      - Downloading symfony/doctrine-bridge (v4.4.34)
      - Downloading doctrine/doctrine-bundle (2.5.0)
      - Downloading symfony/web-profiler-bundle (v4.4.31)
      - Downloading symfony/proxy-manager-bridge (v5.3.11)
      - Downloading do-while/contao-backupdb-bundle (1.4.2)
      - Removing symfony/password-hasher (v5.3.8)
      - Removing psr/event-dispatcher (1.0.0)
      - Upgrading contao-components/tinymce4 (5.10.1 => 5.10.2): Extracting archive
      - Upgrading symfony/deprecation-contracts (v2.4.0 => v2.5.0): Extracting archive
      - Upgrading symfony/yaml (v5.3.6 => v5.3.11): Extracting archive
      - Upgrading symfony/http-foundation (v5.3.10 => v5.3.11): Extracting archive
      - Upgrading symfony/http-client-contracts (v2.4.0 => v2.5.0): Extracting archive
      - Downgrading symfony/event-dispatcher-contracts (v2.4.0 => v1.1.11): Extracting archive
      - Downgrading symfony/event-dispatcher (v5.3.7 => v4.4.34): Extracting archive
      - Upgrading symfony/var-dumper (v5.3.10 => v5.3.11): Extracting archive
      - Downgrading symfony/error-handler (v5.3.7 => v4.4.34): Extracting archive
      - Downgrading symfony/http-kernel (v5.3.10 => v4.4.34): Extracting archive
      - Upgrading symfony/service-contracts (v2.4.0 => v2.5.0): Extracting archive
      - Upgrading symfony/dependency-injection (v5.3.10 => v5.3.11): Extracting archive
      - Upgrading symfony/config (v5.3.10 => v5.3.11): Extracting archive
      - Upgrading symfony/http-client (v5.3.10 => v5.3.11): Extracting archive
      - Upgrading symfony/translation-contracts (v2.4.0 => v2.5.0): Extracting archive
      - Downgrading symfony/twig-bridge (v5.3.7 => v4.4.34): Extracting archive
      - Downgrading symfony/twig-bundle (v5.3.10 => v4.4.30): Extracting archive
      - Downgrading symfony/translation (v5.3.10 => v4.4.34): Extracting archive
      - Downgrading symfony/security-core (v5.3.10 => v4.4.34): Extracting archive
      - Downgrading symfony/security-http (v5.3.10 => v4.4.34): Extracting archive
      - Downgrading symfony/security-guard (v5.3.7 => v4.4.27): Extracting archive
      - Downgrading symfony/security-bundle (v5.3.8 => v4.4.34): Extracting archive
      - Downgrading symfony/routing (v5.3.7 => v4.4.34): Extracting archive
      - Upgrading symfony/process (v5.3.7 => v5.3.11): Extracting archive
      - Downgrading symfony/monolog-bridge (v5.3.7 => v5.2.12): Extracting archive
      - Upgrading symfony/mime (v5.3.8 => v5.3.11): Extracting archive
      - Upgrading symfony/intl (v5.3.8 => v5.3.11): Extracting archive
      - Upgrading symfony/var-exporter (v5.3.8 => v5.3.11): Extracting archive
      - Upgrading symfony/cache-contracts (v2.4.0 => v2.5.0): Extracting archive
      - Upgrading symfony/cache (v5.3.10 => v5.3.11): Extracting archive
      - Downgrading symfony/framework-bundle (v5.3.10 => v4.4.34): Extracting archive
      - Upgrading symfony/expression-language (v5.3.7 => v5.3.11): Extracting archive
      - Downgrading symfony/console (v5.3.10 => v4.4.34): Extracting archive
      - Upgrading symfony/asset (v5.3.4 => v5.3.11): Extracting archive
      - Upgrading doctrine/dbal (2.13.4 => 2.13.5): Extracting archive
      - Downgrading symfony/doctrine-bridge (v5.3.8 => v4.4.34): Extracting archive
      - Upgrading doctrine/doctrine-bundle (2.4.3 => 2.5.0): Extracting archive
      - Downgrading symfony/web-profiler-bundle (v5.3.8 => v4.4.31): Extracting archive
      - Upgrading symfony/proxy-manager-bridge (v5.3.4 => v5.3.11): Extracting archive
      - Installing do-while/contao-backupdb-bundle (1.4.2): Extracting archive
    Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    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: Generating plugin class...
    contao/manager-plugin: ...done generating plugin class
    89 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    > @php vendor/bin/contao-setup
    In YamlFileLoader.php line 770:
                                                                                   
      The file "/home/webkftqc4/html/contao2021/config/config.yml" does not conta  
      in valid YAML: Mapping values are not allowed in multi-line blocks in "/hom  
      e/webkftqc4/html/contao2021/config/config.yml" at line 4 (near "Strict-Mode  
       entweder in Ihrer my.cnf-Datei ").                                          
                                                                                   
    In Parser.php line 461:
                                                                                   
      Mapping values are not allowed in multi-line blocks in "/home/webkftqc4/htm  
      l/contao2021/config/config.yml" at line 4 (near "Strict-Mode entweder in Ih  
      rer my.cnf-Datei ").                                                         
                                                                                   
    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
    Geändert von RoGer (23.11.2021 um 18:48 Uhr)

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

    Standard

    Siehe Fehlermeldung:
    Zitat Zitat von RoGer Beitrag anzeigen
    Code:
      The file "/home/webkftqc4/html/contao2021/config/config.yml" does not conta  
      in valid YAML: Mapping values are not allowed in multi-line blocks in "/hom  
      e/webkftqc4/html/contao2021/config/config.yml" at line 4 (near "Strict-Mode  
       entweder in Ihrer my.cnf-Datei ").                                          
                                                                                   
    In Parser.php line 461:
                                                                                   
      Mapping values are not allowed in multi-line blocks in "/home/webkftqc4/htm  
      l/contao2021/config/config.yml" at line 4 (near "Strict-Mode entweder in Ih  
      rer my.cnf-Datei ").
    Du hast deine config/config.yml nicht korrekt angelegt. Du darfst nicht Tabs und Leerzeichen mischen.
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Nutzer
    Registriert seit
    28.08.2009.
    Beiträge
    186

    Standard

    Vielen Dank für den Tipp. Ich hatte den bekannten Eintrag in einer neu angelegten config.yml vorgenommen. Den Eintrag habe ich jetzt wieder entfernt.
    Code:
    doctrine:
        dbal:
            connections:
                default:
                    options:
                        1002: "SET SESSION sql_mode=(SELECT CONCAT(@@sql_mode, ',TRADITIONAL'))"

    Dieses Problem ist damit verschwunden. Dafür taucht die nächste Baustelle bei verschiedenen Menüeinträgen auf (Artikel, Seitenstruktur...)auf:


    Die Reise geht weiter...

    Roland
    Angehängte Grafiken Angehängte Grafiken

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

    Standard

    Du musst sicherstellen, dass die PHP Konfiguration auf der Konsole die selbe ist wie für den Webprozess. Wenn bspw. Imagick auf der Konsole aktiv ist, im Web Prozess aber nicht, dann kann es zu so einem Fehler kommen.
    » sponsor me via GitHub or PayPal or Revolut

  5. #5
    Contao-Nutzer
    Registriert seit
    28.08.2009.
    Beiträge
    186

    Standard

    Tut mir Leid, das verstehe ich nicht.
    Ich habe Contao mit dem CM installiert - nicht mit der Konsole.
    Liegt das Problem nicht beim Provider? Dort ist PHP 7.4 installiert einschließlich Imagick... !?
    Ich hab ne Mail an den Provider geschrieben...oder kann ich selbst was machen ?

    Roland

  6. #6
    Wandelndes Contao-Lexikon Avatar von tab
    Registriert seit
    22.10.2013.
    Beiträge
    10.060
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Der Contao-Manager benutzt ja auch die Konsole und letztlich Composer. Wenn da in der Konsole imagick oder welche Bibliotheken und Module auch immer fehlen, dann installiert der Contao-Manager auch nichts, was diese Abhängigkeiten braucht.

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
  •