Contao-Camp 2024
Ergebnis 1 bis 10 von 10

Thema: MM kann nicht installiert werden

  1. #1
    Contao-Nutzer
    Registriert seit
    27.05.2014.
    Beiträge
    119

    Standard MM kann nicht installiert werden

    Hallo zusammen,

    ich wollte mal wieder MM bei einem Projekt einsetzen, allerdings lässt es sich nicht über den Contao Manager installieren- folgende Fehlermeldung wird ausgespuckt bei metamodels/bundle_all:
    Code:
    Your requirements could not be resolved to an installable set of packages.
      Problem 1
        - Installation request for menatwork/contao-multicolumnwizard (locked at 3.3.16) -> satisfiable by menatwork/contao-multicolumnwizard[3.3.16].
        - metamodels/bundle_all 2.1.0 requires metamodels/bundle_filter ^2.1 -> satisfiable by metamodels/bundle_filter[2.1.0].
        - metamodels/bundle_all 2.1.1 requires metamodels/bundle_filter ^2.1 -> satisfiable by metamodels/bundle_filter[2.1.0].
        - metamodels/bundle_filter 2.1.0 requires metamodels/filter_select ^2.1 -> satisfiable by metamodels/filter_select[2.1.0].
        - Conclusion: don't install metamodels/filter_select 2.1.0
        - Installation request for metamodels/bundle_all ^2.1 -> satisfiable by metamodels/bundle_all[2.1.0, 2.1.1].
    Versuch nur den Core zu installieren:
    Code:
    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - Conclusion: don't install metamodels/core 2.1.7
        - Conclusion: don't install metamodels/core 2.1.6
        - Conclusion: don't install metamodels/core 2.1.5
        - Conclusion: don't install metamodels/core 2.1.4
        - Conclusion: don't install metamodels/core 2.1.3
        - Conclusion: don't install metamodels/core 2.1.2
        - Conclusion: don't install metamodels/core 2.1.1
        - Conclusion: remove menatwork/contao-multicolumnwizard 3.3.16
        - Installation request for metamodels/core ^2.1 -> satisfiable by metamodels/core[2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.1.7].
        - Conclusion: don't install menatwork/contao-multicolumnwizard 3.3.16
        - metamodels/core 2.1.0 requires contao-community-alliance/dc-general ^2.1.0 -> satisfiable by contao-community-alliance/dc-general[2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5].
        - contao-community-alliance/dc-general 2.1.0 conflicts with menatwork/contao-multicolumnwizard[3.3.16].
        - contao-community-alliance/dc-general 2.1.1 conflicts with menatwork/contao-multicolumnwizard[3.3.16].
        - contao-community-alliance/dc-general 2.1.2 conflicts with menatwork/contao-multicolumnwizard[3.3.16].
        - contao-community-alliance/dc-general 2.1.3 conflicts with menatwork/contao-multicolumnwizard[3.3.16].
        - contao-community-alliance/dc-general 2.1.4 conflicts with menatwork/contao-multicolumnwizard[3.3.16].
        - contao-community-alliance/dc-general 2.1.5 conflicts with menatwork/contao-multicolumnwizard[3.3.16].
        - Installation request for menatwork/contao-multicolumnwizard (locked at 3.3.16) -> satisfiable by menatwork/contao-multicolumnwizard[3.3.16].
    Meine composer.json:
    Code:
    {
        "type": "project",
        "require": {
            "contao/calendar-bundle": "^4.4",
            "contao/comments-bundle": "^4.4",
            "contao/conflicts": "*@dev",
            "contao/faq-bundle": "^4.4",
            "contao/listing-bundle": "^4.4",
            "contao/manager-bundle": "4.4.*",
            "contao/news-bundle": "^4.4",
            "contao/newsletter-bundle": "^4.4",
            "delahaye/dlh_googlemaps": "^2.4",
            "derhaeuptling/contao-seo-serp-preview": "^3.0",
            "dieschittigs/contao-recaptcha": "^1.2",
            "hofff/contao-googleanalytics": "^1.5",
            "madeyourday/contao-rocksolid-columns": "^2.0",
            "madeyourday/contao-rocksolid-custom-elements": "^2.2",
            "madeyourday/contao-rocksolid-frontend-helper": "^2.0",
            "madeyourday/contao-rocksolid-icon-picker": "^2.0",
            "madeyourday/contao-rocksolid-mega-menu": "^2.0",
            "madeyourday/contao-rocksolid-slider": "^2.0",
            "madeyourday/contao-rocksolid-theme-assistant": "^2.0",
            "terminal42/contao-changelanguage": "^3.1",
            "terminal42/notification_center": "^1.5"
        },
        "extra": {
            "contao-component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        }
    }
    Contao 4.4.46
    PHP 7.3.13 / 7.2.26 (beides probiert)
    12GB RAM
    Geändert von d33eniz (24.01.2020 um 10:36 Uhr)

  2. #2
    Administratorin Avatar von lucina
    Registriert seit
    19.06.2009.
    Ort
    Kiel (DE)
    Beiträge
    7.328
    Partner-ID
    152
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Das Übliche in diesem Fall: Vor der Auswahl des MetaModel-Paketes alle anderen Pakete zum Update markieren ...

  3. #3
    Contao-Nutzer
    Registriert seit
    27.05.2014.
    Beiträge
    119

    Standard

    Danke, hat funktioniert! Könntest du mir nettweise erklären, warum das so ist? Ich habe alle Pakete VOR der Installation von MM aktualisiert und dachte, im Nachgang installiere ich dann MM- es gibt auch keine "alle auswählen" Funktion, sobald man ein neues Paket im Manager hinzugefügt an. Ich musste also alle weiteren Pakete manuell anwählen, was mir dann instinktiv nicht richtig vorkam.

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

    Support Contao

    Standard

    Zitat Zitat von d33eniz Beitrag anzeigen
    Könntest du mir nettweise erklären, warum das so ist?
    Weil nur in dem Fall alle Abhängigkeiten auch unter Berücksichtigung von MetaModells (und seinen Abhängigkeiten) aufgelöst werden.

    Zitat Zitat von d33eniz Beitrag anzeigen
    Ich musste also alle weiteren Pakete manuell anwählen, was mir dann instinktiv nicht richtig vorkam.
    Du kann auch zu erst alle Pakete zum aktualisieren wählen - der Button oben "Pakete aktualisieren" - und erst danach das Paket zur Installation auswählen. Ist einfacher als nachher alle Pakete einzeln auszuwählen.
    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.




  5. #5

  6. #6
    Contao-Nutzer Avatar von btosh
    Registriert seit
    11.12.2015.
    Beiträge
    58

    Standard MetaModels Fehler "/metamodels.png does not exist" bei Installation

    Hallo zusammen,

    ich wollte MM bei einem Projekt einsetzen, allerdings lässt es sich nicht über den Contao Manager installieren. Folgende Fehlermeldung wird in der Konsolenausgabe angezeigt:

    Code:
    $ /usr/local/bin/php -q /var/www/share/project/web/contao-manager.php composer require metamodels/bundle_all --no-suggest --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
    
    Using version ^2.1 for metamodels/bundle_all
    /var/www/share/project/composer.json has been updated
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    > Resolving dependencies using Composer Cloud v2.2.4
    
    # Job ID xZVdxFND5hzs1EDor85wMBtmXMyZzGVs6s0jtmAf26mO8EehlZSX1R1w4nmhJ3t63OiPYWxu4jiEyb5L914xey1TAkRJ completed in 39 seconds
    # Memory usage: 422.27MB (peak: 1949.45MB), time: 39.26s.
    
    $ /usr/local/bin/php -q /var/www/share/project/web/contao-manager.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
    
    ocramius/package-versions:  Generating version class...
    ocramius/package-versions: ...done generating version class
    contao/manager-plugin: Generating plugin class...
    contao/manager-plugin: ...done generating plugin class
    Added the web/preview.php file.
    Added the web/app.php file.
    Added the web/index.php file.
    
     // Clearing the cache for the prod environment with debug                      
     // false                                                                       
    
     [OK] Cache for the "prod" environment (debug=false) was successfully cleared.  
    
    
     // Warming up the cache for the prod environment with debug                    
     // false                                                                       
    
    18:32:58 ERROR     [console] Error thrown while running command "cache:warmup --env=prod". Message: "/var/www/share/project/web/bundles/metamodelscore/images/icons/metamodels.png does not exist" ["exception" => InvalidArgumentException { …},"command" => "cache:warmup --env=prod","message" => "/var/www/share/project/web/bundles/metamodelscore/images/icons/metamodels.png does not exist"]
    
    In Image.php line 61:
                                                                                   
      /var/www/share/project/web/bundles/metamodelscore/images/icons/metamodels.p  
      ng does not exist                                                            
                                                                                   
    
    cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--] <command>
    
    Loading composer repositories with package information
    Installing dependencies from lock file
    Package operations: 45 installs, 0 updates, 0 removals
      - Installing pimple/pimple (v1.1.1): Loading from cache
      - Installing contao-community-alliance/dependency-container (2.0.3): Loading from cache
      - Installing contao-community-alliance/event-dispatcher (2.0.5): Loading from cache
      - Installing contao-community-alliance/events-contao-bindings (4.4.5): Loading from cache
      - Installing contao-community-alliance/meta-palettes (2.0.7): Loading from cache
      - Installing contao-community-alliance/url-builder (1.3.2): Loading from cache
      - Installing discordier/justtextwidgets (1.2.1): Loading from cache
      - Installing contao-community-alliance/translator (2.1.4): Loading from cache
      - Installing menatwork/contao-multicolumnwizard-bundle (3.4.3): Loading from cache
      - Installing contao-community-alliance/dc-general (2.1.5): Loading from cache
      - Installing metamodels/core (2.1.7): Loading from cache
      - Installing metamodels/filter_text (2.1.0): Loading from cache
      - Installing metamodels/filter_tags (2.1.0): Loading from cache
      - Installing metamodels/filter_select (2.1.0): Loading from cache
      - Installing metamodels/filter_range (2.1.1): Loading from cache
      - Installing metamodels/filter_fromto (2.1.1): Loading from cache
      - Installing metamodels/filter_checkbox (2.1.2): Loading from cache
      - Installing metamodels/bundle_filter (2.1.0)
      - Installing metamodels/attribute_translatedurl (2.1.0): Loading from cache
      - Installing metamodels/attribute_text (2.1.0): Loading from cache
      - Installing metamodels/attribute_translatedtext (2.1.1): Loading from cache
      - Installing metamodels/attribute_translatedtabletext (2.1.0): Loading from cache
      - Installing metamodels/attribute_translatedlongtext (2.1.0): Loading from cache
      - Installing metamodels/attribute_file (2.1.2): Loading from cache
      - Installing metamodels/attribute_translatedfile (2.1.0): Loading from cache
      - Installing metamodels/attribute_translatedcombinedvalues (2.1.0): Loading from cache
      - Installing metamodels/attribute_translatedcheckbox (2.1.2): Loading from cache
      - Installing metamodels/attribute_translatedalias (2.1.1): Loading from cache
      - Installing metamodels/bundle_translated (2.1.0)
      - Installing metamodels/attribute_url (2.1.0): Loading from cache
      - Installing metamodels/attribute_tags (2.1.0): Loading from cache
      - Installing metamodels/attribute_tabletext (2.1.0): Loading from cache
      - Installing metamodels/attribute_select (2.1.0): Loading from cache
      - Installing metamodels/attribute_longtext (2.1.1): Loading from cache
      - Installing metamodels/attribute_combinedvalues (2.1.0): Loading from cache
      - Installing metamodels/attribute_checkbox (2.1.0): Loading from cache
      - Installing metamodels/attribute_alias (2.1.0): Loading from cache
      - Installing metamodels/bundle_nontranslated (2.1.0)
      - Installing metamodels/attribute_numeric (2.1.1): Loading from cache
      - Installing metamodels/attribute_timestamp (2.1.0): Loading from cache
      - Installing metamodels/attribute_langcode (2.1.0): Loading from cache
      - Installing metamodels/attribute_decimal (2.1.1): Loading from cache
      - Installing metamodels/attribute_country (2.1.1): Loading from cache
      - Installing metamodels/bundle_attributes (2.1.1)
      - Installing metamodels/bundle_all (2.1.1)
    Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead.
    Generating optimized autoload files
    > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
    Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
    
    In ScriptHandler.php line 88:
                                                                                   
      An error occurred while executing the "cache:warmup" command: 18:32:58 ERRO  
      R     [console] Error thrown while running command "cache:warmup --env=prod  
      ". Message: "/var/www/share/project/web/bundles/metamodelscore/images/icons  
      /metamodels.png does not exist" ["exception" => InvalidArgumentException {   
      …},"command" => "cache:warmup --env=prod","message" => "/var/www/share/proj  
      ect/web/bundles/metamodelscore/images/icons/metamodels.png does not exist"]  
                                                                                   
      In Image.php line 61:                                                        
                                                                                   
                                                                                   
        /var/www/share/project/web/bundles/metamodelscore/images/icons/metamodels  
      .p                                                                           
        ng does not exist                                                          
                                                                                   
                                                                                   
                                                                                   
                                                                                   
      cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--  
      verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--en  
      v ENV] [--] <command>                                                        
                                                                                   
    
    install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>...]
    
    
    # Process terminated with exit code 1
    # Result: General error
    
    
    ---
    
    ### Der Hintergrundprozess wurde unerwartet beendet ###
    Contao Version 4.8.7
    PHP Version 7.1.12

    Die Composer.json sieht wie folgt aus:

    Code:
    {
        "type": "project",
        "require": {
            "contao/conflicts": "*@dev",
            "contao/manager-bundle": "4.8.*"
        },
        "extra": {
            "contao-component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        }
    }
    Ich habe auch vor dem Hinzufügen von MetaModels bei allen anderen Paketen das Update aktiviert.

    Vielen Dank schon mal für Eure Hilfe! Wenn Ihr sonst weitere Infos für ein Feedback braucht, einfach Bescheid geben.

  7. #7
    Contao-Urgestein Avatar von zonky
    Registriert seit
    19.03.2010.
    Ort
    Berlin, Rdf
    Beiträge
    9.682
    User beschenken
    Wunschliste

    Standard

    siehe Handbuch: Contao 4.4

    MM 2.2 für Contao 4.9 kommt noch - siehe News

  8. #8
    Contao-Nutzer Avatar von btosh
    Registriert seit
    11.12.2015.
    Beiträge
    58

    Standard

    Morgen zonky,

    danke für die Antwort. Die Website wird eigentlich nur "umgezogen". Und derzeit läuft diese genau in dieser Konstellation. Die Installation hat vorher also schon funktioniert.

  9. #9
    Contao-Urgestein Avatar von zonky
    Registriert seit
    19.03.2010.
    Ort
    Berlin, Rdf
    Beiträge
    9.682
    User beschenken
    Wunschliste

    Standard

    wie geschrieben - kann funktionieren, muss aber nicht

  10. #10
    Contao-Nutzer Avatar von btosh
    Registriert seit
    11.12.2015.
    Beiträge
    58

    Standard

    Ok, danke.

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
  •