Contao-Camp 2024
Ergebnis 1 bis 6 von 6

Thema: 4.6.6 Problem bei Umzug und Update auf 4.10

  1. #1
    Contao-Fan
    Registriert seit
    03.01.2012.
    Beiträge
    809

    Standard 4.6.6 Problem bei Umzug und Update auf 4.10

    Hallo,

    innerhalb von 1&1 Ionos möchte ich eine Contao-Installation auf eine andere Domain umziehen. Wie sonst auch immer, habe ich mich an der Anleitung von Erdmann orientiert: https://erdmann-freunde.de/logbuch/contao-4-4-umziehen/

    Es handelt sich um Contao 4.6.6, durch den Download des aktuellen Contao Managers wird es aber ein Update auf 4.10

    Wenn ich im Contao Manager meine Erweiterungen installieren/aktualisieren möchte, erhalte ich folgende Fehlermeldung:

    Code:
    > Resolving dependencies using Composer Cloud v2.4.3
    
    [7.2MiB/0.20s] Loading composer repositories with package information
    [7.6MiB/0.31s] Updating dependencies
    [2986.1MiB/32.48s] Your requirements could not be resolved to an installable set of packages.
    [2986.1MiB/32.48s] 
      Problem 1
        - The requested package contao/manager-bundle (locked at 4.10.0, required as 4.6.*) is satisfiable by contao/manager-bundle[4.10.0] but these conflict with your requirements or minimum-stability.
      Problem 2
        - contao/manager-bundle 4.6.14 requires contao/installation-bundle 4.6.14 -> satisfiable by contao/installation-bundle[4.6.14].
        - Conclusion: don't install contao/installation-bundle 4.6.14
        - contao/manager-bundle 4.6.13 requires contao/installation-bundle 4.6.13 -> satisfiable by contao/installation-bundle[4.6.13].
        - Conclusion: don't install contao/installation-bundle 4.6.13
        - contao/manager-bundle 4.6.12 requires contao/installation-bundle 4.6.12 -> satisfiable by contao/installation-bundle[4.6.12].
        - Conclusion: don't install contao/installation-bundle 4.6.12
        - contao/manager-bundle 4.6.11 requires contao/installation-bundle 4.6.11 -> satisfiable by contao/installation-bundle[4.6.11].
        - Conclusion: don't install contao/installation-bundle 4.6.11
        - contao/manager-bundle 4.6.10 requires contao/installation-bundle 4.6.10 -> satisfiable by contao/installation-bundle[4.6.10].
        - Conclusion: don't install contao/installation-bundle 4.6.10
        - contao/manager-bundle 4.6.9 requires contao/installation-bundle 4.6.9 -> satisfiable by contao/installation-bundle[4.6.9].
        - Conclusion: don't install contao/installation-bundle 4.6.9
        - contao/manager-bundle 4.6.8 requires contao/installation-bundle 4.6.8 -> satisfiable by contao/installation-bundle[4.6.8].
        - Conclusion: don't install contao/installation-bundle 4.6.8
        - contao/manager-bundle 4.6.7 requires contao/installation-bundle 4.6.7 -> satisfiable by contao/installation-bundle[4.6.7].
        - Conclusion: don't install contao/installation-bundle 4.6.7
        - contao/manager-bundle 4.6.6 requires contao/installation-bundle 4.6.6 -> satisfiable by contao/installation-bundle[4.6.6].
        - Conclusion: don't install contao/installation-bundle 4.6.6
        - contao/manager-bundle 4.6.5 requires contao/installation-bundle 4.6.5 -> satisfiable by contao/installation-bundle[4.6.5].
        - Conclusion: don't install contao/installation-bundle 4.6.5
        - contao/manager-bundle 4.6.4 requires contao/installation-bundle 4.6.4 -> satisfiable by contao/installation-bundle[4.6.4].
        - Conclusion: don't install contao/installation-bundle 4.6.4
        - contao/manager-bundle 4.6.3 requires contao/installation-bundle 4.6.3 -> satisfiable by contao/installation-bundle[4.6.3].
        - Conclusion: don't install contao/installation-bundle 4.6.3
        - contao/manager-bundle 4.6.2 requires contao/installation-bundle 4.6.2 -> satisfiable by contao/installation-bundle[4.6.2].
        - Conclusion: don't install contao/installation-bundle 4.6.2
        - contao/manager-bundle 4.6.1 requires contao/installation-bundle 4.6.1 -> satisfiable by contao/installation-bundle[4.6.1].
        - Conclusion: don't install contao/installation-bundle 4.6.1
        - Can only install one of: contao/installation-bundle[4.6.0, 4.10.0].
        - Can only install one of: contao/installation-bundle[4.6.0, 4.10.0].
        - contao/manager-bundle 4.6.0 requires contao/installation-bundle 4.6.0 -> satisfiable by contao/installation-bundle[4.6.0].
        - Installation request for contao/manager-bundle 4.6.* -> satisfiable by contao/manager-bundle[4.6.0, 4.6.1, 4.6.10, 4.6.11, 4.6.12, 4.6.13, 4.6.14, 4.6.2, 4.6.3, 4.6.4, 4.6.5, 4.6.6, 4.6.7, 4.6.8, 4.6.9].
        - Installation request for contao/installation-bundle (locked at 4.10.0) -> satisfiable by contao/installation-bundle[4.10.0].
    
    [2986.2MiB/32.48s] <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>
    [532.9MiB/34.40s] Memory usage: 532.9MB (peak: 2990.16MB), time: 34.41s.
    [532.9MiB/34.41s] Finished Composer Cloud resolving.
    
    
    # Cloud Job ID OJVLSmIIMHWiSVM37byf4lLefk2cjRCWQw2q3knck4WVHq93lHhnyosq5t9pH0wo02guadZpwmpErRXHQ3vvuMYTviOShP9ns4NzSI0TO0PDEZmQ2hHaezV3Mj failed
    
    ---
    
    ### Der Hintergrundprozess wurde unerwartet beendet ###
    Und hier meine composer.json:

    Code:
    {
        "name": "contao/managed-edition",
        "type": "project",
        "description": "Contao Open Source CMS",
        "license": "LGPL-3.0-or-later",
        "authors": [
            {
                "name": "Leo Feyer",
                "homepage": "https://github.com/leofeyer"
            }
        ],
        "require": {
            "php": "^7.1",
            "contao/calendar-bundle": "^4.6",
            "contao/comments-bundle": "^4.6",
            "contao/faq-bundle": "^4.6",
            "contao/listing-bundle": "^4.6",
            "contao/manager-bundle": "4.6.*",
            "contao/news-bundle": "^4.6",
            "contao/newsletter-bundle": "^4.6",
            "delahaye/dlh_googlemaps": "^2.4",
            "derhaeuptling/contao-mega-menu": "^1.0",
            "derhaeuptling/contao-seo-serp-preview": "^3.0",
            "do-while/contao-backupdb-bundle": "^1.3",
            "jrgregory/m17-sticky-backend-footer": "^2.0",
            "madeyourday/contao-rocksolid-columns": "^2.0",
            "madeyourday/contao-rocksolid-custom-elements": "^2.2",
            "omosde/contao-om-backend": "^1.3",
            "syncgw/contao-spambot": "^1.0"
        },
        "config": {
            "component-dir": "assets"
        },
        "extra": {
            "branch-alias": {
                "dev-4.5": "4.5.x-dev"
            }
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        }
    }
    Ich kann damit leider nicht viel anfangen und hoffe hier auf Hilfe.
    Geändert von dazzle89 (07.09.2020 um 14:44 Uhr)

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

    Standard

    Zitat Zitat von dazzle89 Beitrag anzeigen
    Es handelt sich um Contao 4.6.6, durch den Download des aktuellen Contao Managers wird es aber ein Update auf 4.10
    Der bloße Download des aktuellen Contao Manager führt keine Aktualisierung von Contao durch.

    Zur Aktualisierung von Contao gibt es hier einen eigenen Beitrag: https://docs.contao.org/manual/de/in...aktualisieren/

  3. #3
    Contao-Fan
    Registriert seit
    03.01.2012.
    Beiträge
    809

    Standard

    Ich möchte es gar nicht zwingend aktualisieren. Gerne kann die Installation auf 4.6.6 bleiben, zumindest vorübergehend. Erstmal will ich die Seite zum laufen kriegen und danach könnte ich es immer noch aktualisieren.

    Ich habe es dennoch mal probiert, indem ich bei "Symfony bundle for the Contao Managed Edition" bei der Version 4.10 draus mache und dann auf "Änderungen anwenden" gehe, dann ist aber gar nichts mehr passiert, der Manager hat 15 Minuten lang ohne Fortschritte gearbeitet...

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

    Standard

    Zitat Zitat von dazzle89 Beitrag anzeigen
    Ich möchte es gar nicht zwingend aktualisieren. Gerne kann die Installation auf 4.6.6 bleiben, zumindest vorübergehend.
    Warum hast du's dann versucht?



    Zitat Zitat von dazzle89 Beitrag anzeigen
    Erstmal will ich die Seite zum laufen kriegen und danach könnte ich es immer noch aktualisieren.
    Was genau funktioniert nicht?

  5. #5
    Contao-Fan
    Registriert seit
    03.01.2012.
    Beiträge
    809

    Standard

    Guten Morgen und 1000 Dank für die Hilfe. Das Update scheint soweit funktioniert zu haben, zumindest sieht das Backend soweit okay.

    Im Frontend habe ich jedoch eine Fehlermeldung...

    Code:
    [2020-09-07 16:52:02] request.INFO: Matched route "tl_page.3.root". {"route":"tl_page.3.root","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex:renderPage","_scope":"frontend","_locale":"de","_format":"html","parameters":"","pageModel":"[object] (Contao\\PageModel: {})","_route":"tl_page.3.root","_route_object":"[object] (Symfony\\Component\\Routing\\Route: {})"},"request_uri":"https://www.domain.de/de/","method":"GET"} []
    [2020-09-07 16:52:02] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2020-09-07 16:52:02] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Asset\Exception\InvalidArgumentException: "There is no "contao-components/html5shiv" asset package." at /homepages/10/d141584079/htdocs/domain/vendor/symfony/asset/Packages.php line 76 {"exception":"[object] (Symfony\\Component\\Asset\\Exception\\InvalidArgumentException(code: 0): There is no \"contao-components/html5shiv\" asset package. at /homepages/10/d141584079/htdocs/domain/vendor/symfony/asset/Packages.php:76)"} []
    [2020-09-07 16:52:16] request.INFO: Matched route "tl_page.3.root". {"route":"tl_page.3.root","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex:renderPage","_scope":"frontend","_locale":"de","_format":"html","parameters":"","pageModel":"[object] (Contao\\PageModel: {})","_route":"tl_page.3.root","_route_object":"[object] (Symfony\\Component\\Routing\\Route: {})"},"request_uri":"https://www.domain.de/de/","method":"GET"} []
    [2020-09-07 16:52:17] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2020-09-07 16:52:17] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Asset\Exception\InvalidArgumentException: "There is no "contao-components/html5shiv" asset package." at /homepages/10/d141584079/htdocs/domain/vendor/symfony/asset/Packages.php line 76 {"exception":"[object] (Symfony\\Component\\Asset\\Exception\\InvalidArgumentException(code: 0): There is no \"contao-components/html5shiv\" asset package. at /homepages/10/d141584079/htdocs/domain/vendor/symfony/asset/Packages.php:76)"} []
    Bin mir unsicher ob das überhaupt mit dem Update zu tun hat. Hier im Forum hatte eine Person ein ähnliches Problem, allerdings lag es dort an einer falschen SSL-Konfiguration. Da ich bei beiden Domains die SSL-Zertifikate gleich konfiguriert habe, würde ich das aber ausschließen.

    Edit: Wenn ich meine eigene fe_page.html5 umbenenne oder lösche, ist das Frontend aufrufbar.

    Edit edit: Und wenn ich in der fe_page den Block den html5-shiv-Block entferne, scheint alles wieder zu funktionieren.
    Geändert von dazzle89 (08.09.2020 um 07:17 Uhr)

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

    Standard

    Ja, du musst das fe_page Template aktualisieren, wenn du das angepasst hast. Generell musst du bei einem Contao Update auch ggf. alle angepassten Templates auf Updates überprüfen.

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
  •