Contao-Summit 2026

Ankündigung

Collapse
No announcement yet.

[4.13.x] con4gis-Reservation, Update von 3.6.37 auf 4.01 funktioniert nicht

Collapse
X
 
  • Filter
  • Zeit
  • Show
Clear All
new posts

    [4.13.x] con4gis-Reservation, Update von 3.6.37 auf 4.01 funktioniert nicht

    Hallo,

    aktuelle Installation:Contao 4.13.52, php 8.2.27, con4gis-Reservation 3.6.37, con4gis-Export 2.4.2
    Laut Paketdetails (Reservation: ontao/core-bundle: ^4.13 || ^5.3) lässt sich die akuelle Version auch auf 4.13.xx installieren.
    Wird aber komischerweise im Manager nicht automatisch als Update (^3.6) angezeigt.
    Bei manueller Änderung auf '^4.0' wird nun ein Aktualisieren möglich.
    Die Installation bricht aber mit folgender Fehlermeldung im Composer ab:
    v4.0.1].
    - con4gis/reservation[v4.0.0, ..., v4.0.1] require con4gis/projects ^5.0.1 -> found con4gis/projects[v5.0.1] but these were not loaded, likely because it conflicts with another require.
    [132.7MiB/14.07s] <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>
    [60.1MiB/14.14s] Memory usage: 60.1MB (peak: 222.23MB), time: 14.14s.
    [60.1MiB/14.14s] Finished Composer Cloud resolving.


    Habe eine manuelle Installation von con4gis/projects über Pakete nicht gefunden.

    Die dazugehörende Erweiterung con4gis-Export 2.4.2 auf 2.5.0 wird ohne Fehlermeldung nicht upgedatet.

    Wie soll ich weiter machen? Was ist falsch?

    #2
    Hast du eine vollständige Paketaktualisierung durchgeführt?
    Contao-Association unterstützen

    Comment


      #3
      Ja habe parallel die zwei con4gis mehrfac versucht zu aktualisieren. Cache usw. auch zuvor gelöscht.

      Comment


        #4
        Poste deine composer.json
        Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
        Contao-Online-Video-Kurse: Contao Academy
        Funktionalität erweitern: Contao-Erweiterungen

        :cool:Für Dinge die man mit HTML und CSS lösen kann, braucht man kein javascript.





        Comment


          #5
          Zitat von hpt Beitrag anzeigen
          Ja habe parallel die zwei con4gis mehrfac versucht zu aktualisieren. Cache usw. auch zuvor gelöscht.
          Hast Du wirklich "Alle Pakete aktualisieren" im Manager ausgewählt?

          Click image for larger version

Name:	2025-02-10_102951.png
Views:	1
Size:	15,2 KB
ID:	936459
          Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
          Contao-Online-Video-Kurse: Contao Academy
          Funktionalität erweitern: Contao-Erweiterungen

          :cool:Für Dinge die man mit HTML und CSS lösen kann, braucht man kein javascript.





          Comment


            #6
            Kannte den Befehl "Alle Pakete aktualisieren" bisher nicht.
            Mich verwundert, dass das Update nicht automatisch angezeigt wird:
            Click image for larger version

Name:	Reservation_1.jpg
Views:	1
Size:	12,3 KB
ID:	936460
            Wird erst angeboten wenn ich manuell auf ^4.0 ändere:
            Click image for larger version

Name:	Reservation_2.jpg
Views:	1
Size:	12,2 KB
ID:	936461

            Gleiche Fehlermeldung auch bei "Alle Pakete aktualisieren"

            Composer.json
            Code:
            {
                "type": "project",
                "require": {
                    "bugbuster/contao-visitors-bundle": "1.8.*",
                    "cgoit/calendar-extended-bundle": "^2.4",
                    "con4gis/export": "^2.3",
                    "con4gis/forum": "^4.1",
                    "con4gis/reservation": "^3.6",
                    "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.*",
                    "do-while/contao-backupdb-bundle": "^1.4",
                    "madeyourday/contao-rocksolid-antispam": "^2.0",
                    "mindbird/contao-calendar-editor": "^4.3",
                    "oveleon/contao-cookiebar": "1.15.*",
                    "pdir/contao-survey": "^3.6",
                    "terminal42/contao-rte_table": "^1.0"
                },
                "extra": {
                    "contao-component-dir": "assets"
                },
                "scripts": {
                    "post-install-cmd": [
                        "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
                    ],
                    "post-update-cmd": [
                        "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
                    ]
                }
            }
            Last edited by hpt; 10.02.2025, 16:17.

            Comment


              #7
              Zitat von hpt Beitrag anzeigen
              Gleiche Fehlermeldung auch bei "Alle Pakete aktualisieren"
              Immer die Konsolenausgabe posten.
              » sponsor me via GitHub or Revolut

              Comment


                #8
                Konsolenausgabe ...
                Code:
                $ /usr/bin/php8.2-cli -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=Europe/Berlin /homepages/32/d650190606/htdocs/test/web/contao-manager.phar.php composer require con4gis/reservation=^4.0 --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
                
                /homepages/32/d650190606/htdocs/test/composer.json has been updated
                
                # Process terminated with exit code 0
                # Result: OK
                
                
                > Resolving dependencies using Composer Cloud v3.8.1
                
                [7.6MiB/0.19s] Loading composer repositories with package information
                [103.0MiB/12.62s] Updating dependencies
                [248.1MiB/14.31s] Your requirements could not be resolved to an installable set of packages.
                [248.1MiB/14.31s] 
                  Problem 1
                    - Root composer.json requires con4gis/forum ^4.1 -> satisfiable by con4gis/forum[v4.1.0, ..., 4.1.27].
                    - Root composer.json requires con4gis/reservation ^4.0 -> satisfiable by con4gis/reservation[v4.0.0, v4.0.1].
                    - con4gis/forum[v4.1.0, ..., v4.1.2] require con4gis/projects ^4.0.0 -> satisfiable by con4gis/projects[v4.0.0, ..., v4.0.41].
                    - con4gis/forum[v4.1.8, ..., v4.1.11] require con4gis/projects ^4.0.14 -> satisfiable by con4gis/projects[v4.0.14, ..., v4.0.41].
                    - con4gis/forum[v4.1.12, ..., v4.1.15] require con4gis/projects ^4.0.24 -> satisfiable by con4gis/projects[v4.0.24, ..., v4.0.41].
                    - con4gis/forum v4.1.16 requires con4gis/projects ^4.0.27 -> satisfiable by con4gis/projects[v4.0.27, ..., v4.0.41].
                    - con4gis/forum[v4.1.17, ..., v4.1.18] require con4gis/projects ^4.0.32 -> satisfiable by con4gis/projects[v4.0.32, ..., v4.0.41].
                    - con4gis/forum v4.1.19 requires con4gis/projects ^4.0.35 -> satisfiable by con4gis/projects[v4.0.35, ..., v4.0.41].
                    - con4gis/forum[v4.1.20, ..., v4.1.26] require con4gis/projects ^4.0.36 -> satisfiable by con4gis/projects[v4.0.36, ..., v4.0.41].
                    - con4gis/forum 4.1.27 requires con4gis/projects ^4.0.40 -> satisfiable by con4gis/projects[v4.0.41].
                    - con4gis/forum v4.1.3 requires con4gis/projects ^4.0.2 -> satisfiable by con4gis/projects[v4.0.2, ..., v4.0.41].
                    - con4gis/forum v4.1.4 requires con4gis/projects ^4.0.4 -> satisfiable by con4gis/projects[v4.0.4, ..., v4.0.41].
                    - con4gis/forum[v4.1.5, ..., v4.1.6] require con4gis/projects ^4.0.6 -> satisfiable by con4gis/projects[v4.0.6, ..., v4.0.41].
                    - con4gis/forum v4.1.7 requires con4gis/projects ^4.0.12 -> satisfiable by con4gis/projects[v4.0.12, ..., v4.0.41].
                    - con4gis/reservation[v4.0.0, ..., v4.0.1] require con4gis/projects ^5.0.1 -> satisfiable by con4gis/projects[v5.0.1].
                    - You can only install one version of a package, so only one of these can be installed: con4gis/projects[v4.0.0, ..., v4.0.41, v5.0.0, v5.0.1].
                
                Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
                [248.1MiB/14.31s] 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.
                [70.6MiB/14.51s] Memory usage: 70.6MB (peak: 249.35MB), time: 14.52s.
                [70.6MiB/14.51s] Finished Composer Cloud resolving.
                
                
                # Cloud Job ID bcj6cyoLCgnfIQFytfGrjxNI7vpsvXcAEqk1V4NCAjTgdAvXsGvy540Z4vU9gXd4MQdEpkD3DhqNIgJSDIdqLkC20wgtxWZ082Jh5E56Ej failed

                Comment


                  #9
                  Wie vermutet ist es nicht die selbe Fehlermeldung.

                  Du musst auch con4gis/forum aktualisieren im selben Zug.
                  » sponsor me via GitHub or Revolut

                  Comment


                    #10
                    Habe nun versucht mit manuellem Setzen (Aktualisierung) der con4gis Pakete zu aktualisieren. Obwohl beim forum keine neuere Version angeboten wurde.
                    Hier die Konsolenausgabe ...
                    Code:
                    $ /usr/bin/php8.2-cli -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=Europe/Berlin /homepages/32/d650190606/htdocs/test/web/contao-manager.phar.php composer require con4gis/reservation=^4.0 --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
                    
                    /homepages/32/d650190606/htdocs/test/composer.json has been updated
                    
                    # Process terminated with exit code 0
                    # Result: OK
                    
                    
                    > Resolving dependencies using Composer Cloud v3.8.1
                    
                    [7.6MiB/0.19s] Loading composer repositories with package information
                    [91.2MiB/12.70s] Updating dependencies
                    [135.6MiB/13.40s] Your requirements could not be resolved to an installable set of packages.
                    [135.6MiB/13.40s] 
                      Problem 1
                        - Root composer.json requires con4gis/forum ^4.1 -> satisfiable by con4gis/forum[v4.1.0, ..., 4.1.27].
                        - Root composer.json requires con4gis/reservation ^4.0 -> satisfiable by con4gis/reservation[v4.0.0, v4.0.1].
                        - con4gis/forum[v4.1.0, ..., v4.1.2] require con4gis/projects ^4.0.0 -> satisfiable by con4gis/projects[v4.0.0, ..., v4.0.41].
                        - con4gis/forum[v4.1.8, ..., v4.1.11] require con4gis/projects ^4.0.14 -> satisfiable by con4gis/projects[v4.0.14, ..., v4.0.41].
                        - con4gis/forum[v4.1.12, ..., v4.1.15] require con4gis/projects ^4.0.24 -> satisfiable by con4gis/projects[v4.0.24, ..., v4.0.41].
                        - con4gis/forum v4.1.16 requires con4gis/projects ^4.0.27 -> satisfiable by con4gis/projects[v4.0.27, ..., v4.0.41].
                        - con4gis/forum[v4.1.17, ..., v4.1.18] require con4gis/projects ^4.0.32 -> satisfiable by con4gis/projects[v4.0.32, ..., v4.0.41].
                        - con4gis/forum v4.1.19 requires con4gis/projects ^4.0.35 -> satisfiable by con4gis/projects[v4.0.35, ..., v4.0.41].
                        - con4gis/forum[v4.1.20, ..., v4.1.26] require con4gis/projects ^4.0.36 -> satisfiable by con4gis/projects[v4.0.36, ..., v4.0.41].
                        - con4gis/forum 4.1.27 requires con4gis/projects ^4.0.40 -> satisfiable by con4gis/projects[v4.0.41].
                        - con4gis/forum v4.1.3 requires con4gis/projects ^4.0.2 -> satisfiable by con4gis/projects[v4.0.2, ..., v4.0.41].
                        - con4gis/forum v4.1.4 requires con4gis/projects ^4.0.4 -> satisfiable by con4gis/projects[v4.0.4, ..., v4.0.41].
                        - con4gis/forum[v4.1.5, ..., v4.1.6] require con4gis/projects ^4.0.6 -> satisfiable by con4gis/projects[v4.0.6, ..., v4.0.41].
                        - con4gis/forum v4.1.7 requires con4gis/projects ^4.0.12 -> satisfiable by con4gis/projects[v4.0.12, ..., v4.0.41].
                        - con4gis/projects[v4.0.0, ..., v4.0.7] require guzzlehttp/guzzle ^6.5 -> found guzzlehttp/guzzle[6.5.0, ..., 6.5.8] but these were not loaded, likely because it conflicts with another require.
                        - con4gis/projects[v4.0.8, ..., v4.0.15] require menatwork/contao-multicolumnwizard-bundle 3.5.2 -> found menatwork/contao-multicolumnwizard-bundle[3.5.2] but these were not loaded, likely because it conflicts with another require.
                        - con4gis/projects[v4.0.16, ..., v4.0.20] require menatwork/contao-multicolumnwizard-bundle 3.5.4 -> found menatwork/contao-multicolumnwizard-bundle[3.5.4] but these were not loaded, likely because it conflicts with another require.
                        - con4gis/reservation[v4.0.0, ..., v4.0.1] require con4gis/projects ^5.0.1 -> satisfiable by con4gis/projects[v5.0.1].
                        - You can only install one version of a package, so only one of these can be installed: con4gis/projects[v4.0.0, ..., v4.0.41, v5.0.0, v5.0.1].
                    
                    [135.6MiB/13.40s] 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.
                    [60.3MiB/13.47s] Memory usage: 60.26MB (peak: 222.85MB), time: 13.47s.
                    [60.3MiB/13.47s] Finished Composer Cloud resolving.
                    
                    
                    # Cloud Job ID qSy3D04d4SOmyEGoz0yZXZ1qzMpRdVBgbPJp59ZisjVxaS9Qoorm1pZZOYik3zXTq2fS8O1yVhOnhBtlQVig8mjsFNmqcJMbIeOCG5B failed
                    Ich habe nun das con4gis/forum deinstalliert!
                    Danach wurde con4gis-Reservation erfolgreich installiert.
                    Eine Datenbankaktualisierung wird nicht ausgeführt. Wird auch mit dem Installtool nicht ausgeführt.
                    Code:
                    ALTER TABLE tl_c4g_reservation_object CHANGE maxBeg*****e maxBeg*****e VARCHAR(10) DEFAULT '' NOT NULL
                    Wie könnte ich dieses Problem lösen? Manuell direkt in der DB?

                    Comment


                      #11
                      Das kannst du ignorieren.
                      » sponsor me via GitHub or Revolut

                      Comment

                      Working...
                      X