Ergebnis 1 bis 7 von 7

Thema: Pb installing MM 2.3-beta2 on fresh Contao 4.13

  1. #1
    Contao-Nutzer
    Registriert seit
    07.11.2012.
    Beiträge
    112
    Contao-Projekt unterstützen

    Support Contao

    Frage Pb installing MM 2.3-beta2 on fresh Contao 4.13

    Hi everyone,

    On a fresh Contao 4.13.45 install, the Manager proposes to install MM 2.3.0-beta2 as "last version". But I get this error :
    Code:
    composer update metamodels/core contao/conflicts --no-install
    
    
    
    
    
    > Resolving dependencies using Composer Cloud v3.7.1
    
    
    
    [6.8MiB/0.21s] Loading composer repositories with package information
    
    [86.8MiB/10.39s] Updating dependencies
    
    [121.7MiB/10.68s] Your requirements could not be resolved to an installable set of packages.
    
    [121.7MiB/10.68s]
    
      Problem 1
    
        - contao-community-alliance/composer-plugin[2.0.0, ..., 2.3.3] require composer-plugin-api 1.0.0 -> found composer-plugin-api[2.6.0] but it does not match the constraint.
    
        - contao-community-alliance/composer-plugin[2.3.4, ..., 2.4.3] require composer-plugin-api ^1.0 -> found composer-plugin-api[2.6.0] but it does not match the constraint.
    
        - metamodels/core[1.0.0, ..., 1.0.16] require contao/core ~2.11 -> satisfiable by contao/core[2.11.0, ..., 2.11.17].
    
        - contao/core[2.11.0, ..., 2.11.17] require contao-community-alliance/composer-plugin ~2.0 -> satisfiable by contao-community-alliance/composer-plugin[2.0.0, ..., 2.4.3].
    
        - Root composer.json requires metamodels/core ^1.0 -> satisfiable by metamodels/core[1.0.0, ..., 1.0.16].
    
    
    
    [121.7MiB/10.69s] <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>
    
    [54.7MiB/10.74s] Memory usage: 54.75MB (peak: 222.73MB), time: 10.74s.
    
    [54.7MiB/10.74s] Finished Composer Cloud resolving.
    
    
    
    
    
    # Cloud Job ID oWRzmh5brHWEaGCXQUwNUmDCY1V6VL88eZKHOfj0d7yDtYQ79iAJsy5tC7uIPKO937fPgM1NFwx failed
    What's the wrong ? Thanks for your answer.

  2. #2
    Alter Contao-Hase
    Registriert seit
    24.02.2021.
    Beiträge
    1.471
    Partner-ID
    11715
    Contao-Projekt unterstützen

    Support Contao

    Standard

    @Charled

    If you are requiring contao-community-alliance/composer-plugin in your composer.json, remove it.

    It would help if you post your composer.json to analyze the problem.

  3. #3
    Contao-Nutzer
    Registriert seit
    07.11.2012.
    Beiträge
    112
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Thanks Zoglo.

    I don't see contao-community-alliance/composer-plugin in my composer.json. Here it is.

    Code:
    {
        "type": "project",
        "require": {
            "contao/conflicts": "*@dev",
            "contao/manager-bundle": "4.13.*",
            "contao/calendar-bundle": "4.13.*",
            "contao/comments-bundle": "4.13.*",
            "contao/faq-bundle": "4.13.*",
            "contao/listing-bundle": "4.13.*",
            "contao/news-bundle": "4.13.*",
            "contao/newsletter-bundle": "4.13.*"
        },
        "extra": {
            "public-dir": "web",
            "contao-component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "@php vendor/bin/contao-setup"
            ],
            "post-update-cmd": [
                "@php vendor/bin/contao-setup"
            ]
        }
    }

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

    Standard

    According to your log, you were trying to install metamodels/core ^1.0 - but that won't be compatible with Contao 4.13.
    » sponsor me via GitHub or Revolut

  5. #5
    Contao-Nutzer
    Registriert seit
    07.11.2012.
    Beiträge
    112
    Contao-Projekt unterstützen

    Support Contao

    Standard

    ok. I see it. So I precise "2.3.0-beta2".

    But now, still get an error :
    Code:
    $ /opt/alt/php81/usr/bin/php -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/Paris /home3/sc1baje7663/clients/laissons_nous_toucher/dev_413/web/contao-manager.phar.php composer require metamodels/core=2.3.0-beta2 --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
    
    /home3/sc1baje7663/clients/laissons_nous_toucher/dev_413/composer.json has been updated
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    > Resolving dependencies using Composer Cloud v3.7.1
    
    [6.8MiB/0.19s] Loading composer repositories with package information
    [83.5MiB/10.44s] Updating dependencies
    [29.6MiB/10.81s] Lock file operations: 8 installs, 1 update, 0 removals
    [29.6MiB/10.81s]   - Locking contao-community-alliance/dc-general (2.3.16)
    [29.6MiB/10.81s]   - Locking contao-community-alliance/events-contao-bindings (4.13.1)
    [29.6MiB/10.81s]   - Locking contao-community-alliance/meta-palettes (2.1.3)
    [29.6MiB/10.81s]   - Locking contao-community-alliance/translator (2.4.2)
    [29.6MiB/10.81s]   - Locking contao-community-alliance/url-builder (1.3.3)
    [29.6MiB/10.81s]   - Locking discordier/justtextwidgets (1.3.0)
    [29.6MiB/10.81s]   - Locking menatwork/contao-multicolumnwizard-bundle (3.6.8)
    [29.6MiB/10.81s]   - Locking metamodels/core (2.3.0-beta2)
    [29.6MiB/10.81s]   - Downgrading symfony/event-dispatcher-contracts (v3.5.0 => v2.5.3)
    [29.0MiB/10.82s] Writing lock file
    [13.4MiB/10.86s] Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
    [13.7MiB/11.19s] No security vulnerability advisories found.
    [14.2MiB/11.19s] Memory usage: 14.17MB (peak: 217.12MB), time: 11.19s.
    [14.2MiB/11.19s] Finished Composer Cloud resolving.
    
    
    # Job ID Cmxt3Z4SGSJHn3cHm87KRpKjYc52wQa6G9Zs1xvgzYOn5dFPbJyiHzwI28C5zHWbaI6sPzrW2Y8PLIfXw0MdTUPeR1i3SamJl3R completed in 14 seconds
    # Memory usage: 14.17MB (peak: 217.12MB), time: 11.19s.
    
    $ /opt/alt/php81/usr/bin/php -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/Paris /home3/sc1baje7663/clients/laissons_nous_toucher/dev_413/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
    
    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform.
    Nothing to install, update or remove
    Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
    Generating optimized autoload files
    contao/manager-plugin: Dumping generated plugins file...
    contao/manager-plugin: ...done dumping generated plugins file
    103 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    > @php vendor/bin/contao-setup
    
    In ExceptionConverter.php line 49:
                                                                                   
      An exception occurred while executing a query: SQLSTATE[42S02]: Base table   
      or view not found: 1146 Table 'sc1baje7663_lntouch_dev_413.tl_metamodel' do  
      esn't exist                                                                  
                                                                                   
    
    In Exception.php line 28:
                                                                                   
      SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sc1baje7663_lnto  
      uch_dev_413.tl_metamodel' doesn't exist                                      
                                                                                   
    
    In Connection.php line 71:
                                                                                   
      SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sc1baje7663_lnto  
      uch_dev_413.tl_metamodel' doesn't exist                                      
                                                                                   
    
    Script @php vendor/bin/contao-setup handling the post-install-cmd event returned with error code 255
    
    # Process terminated with exit code 255
    # Result: Unknown error
    Of course this table doesn't exist as this script should create it...

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

    Standard

    This is unfortunately likely a bug in MetaModels. Do you have SSH access?
    » sponsor me via GitHub or Revolut

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

    Standard

    Hi Charled,

    Version 2.3.0-betaX is currently intended more for developers of MM extensions. For all those who use MM 2.3 productively, there is special access via our early adopter programme (EAP) - as you know from previous versions.

    The EAP also gives you access to the appropriate attributes and filters for MM 2.3. So the 2.3.0-betaX is not much use to you on its own...

    For more on MM 2.3 see https://metamodels.readthedocs.io/de...-in-mm-23.html

    Gruss Ingolf

Aktive Benutzer

Aktive Benutzer

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

Berechtigungen

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