Ergebnis 1 bis 2 von 2

Thema: Fehler beim Composer Update

  1. #1
    Contao-Nutzer Avatar von snarosy
    Registriert seit
    27.04.2012.
    Beiträge
    148

    Standard Fehler beim Composer Update

    Bei der Durchführung des Composer Updates kommt folgende Fehlermeldung:
    Code:
    > Resolving dependencies using Composer Cloud v3.7.0
    
    [6.8MiB/0.19s] Loading composer repositories with package information
    [96.3MiB/11.11s] Updating dependencies
    [34.0MiB/12.74s] Lock file operations: 1 install, 6 updates, 0 removals
    [34.0MiB/12.74s]   - Upgrading codefog/contao-haste (4.25.28 => 5.1.17)
    [34.0MiB/12.74s]   - Upgrading doctrine/cache (1.13.0 => 2.2.0)
    [34.0MiB/12.75s]   - Upgrading league/flysystem (2.5.0 => 3.27.0)
    [34.0MiB/12.75s]   - Upgrading league/flysystem-bundle (2.4.0 => 3.3.3)
    [34.0MiB/12.75s]   - Locking league/flysystem-local (3.25.1)
    [34.0MiB/12.75s]   - Upgrading terminal42/dcawizard (2.7.4 => 3.0.3)
    [34.0MiB/12.75s]   - Upgrading terminal42/notification_center (1.6.18 => 1.7.9)
    [33.3MiB/12.77s] Writing lock file
    [16.6MiB/12.79s] Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
    [16.8MiB/12.95s] No security vulnerability advisories found.
    [17.3MiB/12.95s] Memory usage: 17.31MB (peak: 231.57MB), time: 12.95s.
    [17.3MiB/12.95s] Finished Composer Cloud resolving.
    
    
    # Job ID 8GB7u09L6c44XzsI56T35t7EEk0v8nYmOsT0YNJYDSMDbfnAO87EIfba18HuIKaroNXw8D completed in 13 seconds
    # Memory usage: 17.31MB (peak: 231.57MB), time: 12.95s.
    
    $ /bin/php82 -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 /usr/www/users/narosy/c413/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.
    Package operations: 0 installs, 3 updates, 0 removals
        Update of codefog/contao-haste failed
        Update of terminal42/dcawizard failed
        Update of terminal42/notification_center failed
    
    In AbstractModuleInstaller.php line 568:
                                                                                   
      "/usr/www/users/narosy/c413/system/modules/haste" is not a link to "/usr/ww  
      w/users/narosy/c413/vendor/codefog/contao-haste" (expected "/usr/www/users/  
      narosy/c413/vendor/codefog/contao-haste" but got "/usr/www/users/narosy/c41  
      3/system/modules/haste")                                                     
                                                                                   
    
    install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [...]
    
    
    # Process terminated with exit code 1
    # Result: General error
    Die composer.json sieht folgendermaßen aus:
    Code:
    {
        "type": "project",
        "require": {
            "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.*",
            "terminal42/notification_center": "^1.6"
        },
        "extra": {
            "contao-component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        }
    }
    Ich verstehe nicht ganz, wieso das System auf codefog/contao-haste (4.25.28 => 5.1.17) und terminal42/notification_center (1.6.18 => 1.7.9) upgraden möchte, wenn in der composer.json dies nicht so definiert ist?

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

    Standard

    Du hast ^1.6 als Version Requirement definiert, das inkludiert auch 1.7.* (siehe https://getcomposer.org/doc/articles...version-range-)

    Lösche system/modules/haste und führe nochmal eine vollständige Paketaktualisierung durch.
    » sponsor me via GitHub or PayPal or Revolut

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
  •