Ergebnis 1 bis 9 von 9

Thema: Pakete nicht installiert und kann nicht entfernt werden

  1. #1
    Contao-Fan
    Registriert seit
    20.06.2009.
    Ort
    Küps
    Beiträge
    344

    Standard Pakete nicht installiert und kann nicht entfernt werden

    Habe hier gerade eine Neuinstallation!!

    PHP8 und 4.13 LTS

    wenn ich das Komplett Paket "Leaflet Maps für Contao" installieren will bricht er ab und zeigt am Schluß neben den Paketnamen "manuell entfernt" an und darüber "Dieses Paket wird entfernt, wenn du die Änderungen anwendest."

    Contao-Manager ist aktuell und auch 2 andere Pakete davor würden super installiert.

    Ich kann das Paket nicht entfernen und wenn ich dann wieder Pakt installieren klicke kommt:

    Code:
    > Resolving dependencies using Composer Cloud v3.6.0-1-g9d9036c
    
    
    [7.0MiB/0.18s] Loading composer repositories with package information
    
    [72.2MiB/8.69s] Updating dependencies
    
    [29.3MiB/9.09s] Lock file operations: 9 installs, 3 updates, 0 removals
    
    [29.3MiB/9.10s]   - Locking contao-community-alliance/meta-palettes (2.1.3)
    
    [29.3MiB/9.10s]   - Locking menatwork/contao-multicolumnwizard-bundle (3.5.9)
    
    [29.3MiB/9.10s]   - Locking netzmacht/contao-leaflet-geocode-widget (1.4.0)
    
    [29.3MiB/9.10s]   - Locking netzmacht/contao-leaflet-libraries (1.9.3.0)
    
    [29.3MiB/9.10s]   - Locking netzmacht/contao-leaflet-maps (3.2.4)
    
    [29.3MiB/9.10s]   - Locking netzmacht/contao-page-context (1.1.2)
    
    [29.3MiB/9.10s]   - Locking netzmacht/contao-toolkit (3.8.3)
    
    [29.3MiB/9.10s]   - Locking netzmacht/php-javascript-builder (1.0.3)
    
    [29.3MiB/9.10s]   - Locking netzmacht/php-leaflet (1.1.3)
    
    [29.3MiB/9.10s]   - Downgrading psr/log (2.0.0 => 1.1.4)
    
    [29.3MiB/9.11s]   - Downgrading symfony/event-dispatcher-contracts (v3.0.2 => v2.5.2)
    
    [29.3MiB/9.11s]   - Downgrading symfony/templating (v6.0.19 => v5.4.21)
    
    [28.6MiB/9.12s] Writing lock file
    
    [13.5MiB/9.14s] <warning>Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.</warning>
    
    
    [13.7MiB/9.33s] No security vulnerability advisories found
    
    [14.2MiB/9.33s] Memory usage: 14.24MB (peak: 203.34MB), time: 9.33s.
    
    [14.2MiB/9.33s] Finished Composer Cloud resolving.
    
    
    
    
    
    # Job ID bDlmD9myXDRfBrQH1iBlCs6nUDaI36r0nqUsoStmXc30fDn7JfSJUZWh0I9bjeTCKKTeyoBGEVwQh3kbz2MAl6pv8rPCiiWBDVtF4iW2rTZauKrWxuXt completed in 14 seconds
    
    # Memory usage: 14.24MB (peak: 203.34MB), time: 9.33s.
    Ich denke es ist die Fett markierte Zeile die Probleme macht?

  2. #2
    Contao-Fan
    Registriert seit
    20.06.2009.
    Ort
    Küps
    Beiträge
    344

    Standard

    okay mit der Meldung hat es nichts zu tun. Habe mir mal die Logs unter Contao-manager angeschaut. Dort kommt es immer als Warnung.

    Wie kann ich so ein Paket wieder entfernen?
    Oder dennoch installieren bzw die Meldung wieso es nicht installiert werden kann anzeigen.

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

    Standard

    Das ist nur eine Warnung. Das Paket kannst du nicht deinstallieren, weil das als Abhängigkeit reinkommt.
    » sponsor me via GitHub or PayPal or Revolut

  4. #4
    Contao-Fan
    Registriert seit
    20.06.2009.
    Ort
    Küps
    Beiträge
    344

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Das ist nur eine Warnung. Das Paket kannst du nicht deinstallieren, weil das als Abhängigkeit reinkommt.
    Kann es mit den Zeilen zu tun haben?

    Code:
    [29.3MiB/9.10s]   - Downgrading psr/log (2.0.0 => 1.1.4)
    [29.3MiB/9.11s]   - Downgrading symfony/event-dispatcher-contracts (v3.0.2 => v2.5.2)
    [29.3MiB/9.11s]   - Downgrading symfony/templating (v6.0.19 => v5.4.21)
    Bin gerade ratlos weil ich das Leaflet nicht mehr wegbekomme und es auch nicht installiert wird.

    Laut Packagist sollte Contao 4.13.30 mitbringen bzw unterstützen:

    psr/log: ^1.0 || ^2.0 || ^3.0
    symfony/event-dispatcher-contracts: ^2.0 || ^3.0
    nur das symfony/templating finde ich gerade nicht in der Auflistung.

    Scheint aber dann das leaflet gar nicht richtig lauffähig unter 4.13.30 wäre.

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

    Standard

    Du musst zuerst posten, was genau das Problem ist. Du schreibst zwar eingangs, dass das Paket nicht installiert werden kann - aber hast nicht die Konsolenausgabe dazu gepostet.
    » sponsor me via GitHub or PayPal or Revolut

  6. #6
    Contao-Fan
    Registriert seit
    20.06.2009.
    Ort
    Küps
    Beiträge
    344

    Standard

    Wie komme ich an die nochmal ran?

    Weil derzeit bricht es bei der Konsolenausgabe ab.

    Dann poste ich die sehr gerne

  7. #7
    Contao-Fan
    Registriert seit
    20.06.2009.
    Ort
    Küps
    Beiträge
    344

    Standard

    Hier wenn ich es nochmal per Manager installieren möchte!!

    composer require netzmacht/contao-leaflet-maps
    Code:
    $ /usr/bin/php8.0 -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 /var/www/html/werbegemeinschaft-Projekt/web/contao-manager.phar.php composer require netzmacht/contao-leaflet-maps --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
    
    
    Info from https://repo.packagist.org: #StandWithUkraine
    
    Using version ^3.2 for netzmacht/contao-leaflet-maps
    
    /var/www/html/werbegemeinschaft-Projekt/composer.json has been updated
    
    
    
    # Process terminated with exit code 0
    
    # Result: OK
    composer update netzmacht/contao-leaflet-maps contao/conflicts --no-install
    Code:
    > Resolving dependencies using Composer Cloud v3.6.0-1-g9d9036c
    
    
    [7.0MiB/0.19s] Loading composer repositories with package information
    
    [72.2MiB/8.91s] Updating dependencies
    
    [29.3MiB/9.27s] Lock file operations: 9 installs, 3 updates, 0 removals
    
    [29.3MiB/9.28s]   - Locking contao-community-alliance/meta-palettes (2.1.3)
    
    [29.3MiB/9.28s]   - Locking menatwork/contao-multicolumnwizard-bundle (3.5.9)
    
    [29.3MiB/9.28s]   - Locking netzmacht/contao-leaflet-geocode-widget (1.4.0)
    
    [29.3MiB/9.28s]   - Locking netzmacht/contao-leaflet-libraries (1.9.3.0)
    
    [29.3MiB/9.28s]   - Locking netzmacht/contao-leaflet-maps (3.2.4)
    
    [29.3MiB/9.28s]   - Locking netzmacht/contao-page-context (1.1.2)
    
    [29.3MiB/9.28s]   - Locking netzmacht/contao-toolkit (3.8.3)
    
    [29.3MiB/9.28s]   - Locking netzmacht/php-javascript-builder (1.0.3)
    
    [29.3MiB/9.28s]   - Locking netzmacht/php-leaflet (1.1.3)
    
    [29.3MiB/9.29s]   - Downgrading psr/log (2.0.0 => 1.1.4)
    
    [29.3MiB/9.29s]   - Downgrading symfony/event-dispatcher-contracts (v3.0.2 => v2.5.2)
    
    [29.3MiB/9.29s]   - Downgrading symfony/templating (v6.0.19 => v5.4.21)
    
    [28.6MiB/9.30s] Writing lock file
    
    [13.5MiB/9.32s] <warning>Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.</warning>
    
    [13.7MiB/9.50s] No security vulnerability advisories found
    
    [14.2MiB/9.50s] Memory usage: 14.24MB (peak: 203.34MB), time: 9.51s.
    
    [14.2MiB/9.51s] Finished Composer Cloud resolving.
    
    
    
    
    
    # Job ID Ddck0lL7SDLnpt1IbAktjNSOnFys76LPdlIVMVtrHNewRMk59kpsUhOvZtZg6Cgu7fUhDjkboC3MQ3ZhqrZ86CAUMpkGTXoVj4FjJ5QVDePyzd1Uu96Tmvl8SPxPL4B completed in 14 seconds
    
    # Memory usage: 14.24MB (peak: 203.34MB), time: 9.51s.
    die anderen Tasks werden nicht ausgeführt:
    X vendor/bin/contao-console contao:maintenance-mode enable
    X composer install
    X vendor/bin/contao-console contao:maintenance-mode disable

    daher frage ich wie man es nochmal ausführen kann um den Fehler wirklich zu finden

  8. #8
    Contao-Fan
    Registriert seit
    20.06.2009.
    Ort
    Küps
    Beiträge
    344

    Standard

    Okay habe nochmal neu installiert alles und nun das Leaflet Paket als erstes installiert:

    Er bricht bei Composer Install bei Versuch 5/5 ab mit dieser Meldung:

    Code:
    $ /usr/bin/php8.0 -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 /var/www/html/werbegemeinschaft-Projekt/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
    
    Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
    
    108 packages you are using are looking for funding.
    
    Use the `composer fund` command to find out more!
    
    > @php vendor/bin/contao-setup
    
    Added the /var/www/html/werbegemeinschaft-Projekt/web/preview.php file.
    
    Added the /var/www/html/werbegemeinschaft-Projekt/web/app.php file.
    
    Added the /var/www/html/werbegemeinschaft-Projekt/web/index.php file.
    
    
    
     Trying to install assets as relative symbolic links.
    
    
    
     --- ------------------------------ ------------------ 
    
          Bundle                         Method / Error    
    
     --- ------------------------------ ------------------ 
    
      ?   ContaoCoreBundle               relative symlink  
    
      ?   LeafletGeocodeWidgetBundle     relative symlink  
    
      ?   MultiColumnWizardBundle        relative symlink  
    
      ?   ContaoFaqBundle                relative symlink  
    
      ?   ContaoCommentsBundle           relative symlink  
    
      ?   ContaoNewsBundle               relative symlink  
    
      ?   ContaoCalendarBundle           relative symlink  
    
      ?   ContaoNewsletterBundle         relative symlink  
    
      ?   NetzmachtContaoLeafletBundle   relative symlink  
    
     --- ------------------------------ ------------------ 
    
    
    
     [OK] All assets were successfully installed.                                   
    
    
    
    
    
     --- ---------------------------------------- ---------------------------------------------------------------- 
    
          Symlink                                  Target / Error                                                  
    
     --- ---------------------------------------- ---------------------------------------------------------------- 
    
      ?   system/themes/flexible                   vendor/contao/core-bundle/src/Resources/contao/themes/flexible  
    
      ?   web/assets                               assets                                                          
    
      ?   web/system/themes                        system/themes                                                   
    
      ?   system/logs                              var/logs                                                        
    
      ?   web/vendor/scrivo/highlight_php/styles   vendor/scrivo/highlight.php/styles                              
    
     --- ---------------------------------------- ---------------------------------------------------------------- 
    
    
    
    
    
     // Clearing the cache for the prod environment with debug                      
    
     // false                                                                       
    
    
    
     [OK] Cache for the "prod" environment (debug=false) was successfully cleared.  
    
    
    
    
    
     // Clearing the cache for the dev environment with debug                       
    
     // true                                                                        
    
    
    
     [OK] Cache for the "dev" environment (debug=true) was successfully cleared.    
    
    
    
    
    
     // Warming up the cache for the prod environment with debug                    
    
     // false                                                                       
    
    
    
    PHP Warning:  Undefined array key "LEAFLET_LIBRARIES" in /var/www/html/werbegemeinschaft-Projekt/vendor/netzmacht/contao-leaflet-maps/src/Frontend/Assets/LibrariesConfiguration.php on line 54
    
    19:41:14 CRITICAL  [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "ArrayIterator::__construct(): Argument #1 ($array) must be of type array, null given" ["exception" => TypeError { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "ArrayIterator::__construct(): Argument #1 ($array) must be of type array, null given"]
    
    
    
    In LibrariesConfiguration.php line 54:
    
                                                                                   
    
      ArrayIterator::__construct(): Argument #1 ($array) must be of type array, n  
    
      ull given                                                                    
    
                                                                                   
    
    
    
    cache:warmup [--no-optional-warmers]
    
    
    
    19:41:14 CRITICAL  [console] An error occurred while using the console. Message: "An error occurred while executing the "/usr/bin/php8.0 -dmemory_limit=-1 /var/www/html/werbegemeinschaft-Projekt/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: PHP Warning:  Undefined array key "LEAFLET_LIBRARIES" in /var/www/html/werbegemeinschaft-Projekt/vendor/netzmacht/contao-leaflet-maps/src/Frontend/Assets/LibrariesConfiguration.php on line 54
    
    19:41:14 CRITICAL  [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "ArrayIterator::__construct(): Argument #1 ($array) must be of type array, null given" ["exception" => TypeError { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "ArrayIterator::__construct(): Argument #1 ($array) must be of type array, null given"]
    
    
    
    In LibrariesConfiguration.php line 54:
    
                                                                                   
    
      ArrayIterator::__construct(): Argument #1 ($array) must be of type array, n  
    
      ull given                                                                    
    
                                                                                   
    
    
    
    cache:warmup [--no-optional-warmers]
    
    
    
    " ["exception" => RuntimeException { …},"message" => """  An error occurred while executing the "/usr/bin/php8.0 -dmemory_limit=-1 /var/www/html/werbegemeinschaft-Projekt/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: PHP Warning:  Undefined array key "LEAFLET_LIBRARIES" in /var/www/html/werbegemeinschaft-Projekt/vendor/netzmacht/contao-leaflet-maps/src/Frontend/Assets/LibrariesConfiguration.php on line 54\n  19:41:14 CRITICAL  [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "ArrayIterator::__construct(): Argument #1 ($array) must be of type array, null given" ["exception" => TypeError { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "ArrayIterator::__construct(): Argument #1 ($array) must be of type array, null given"]\n  \n  In LibrariesConfiguration.php line 54:\n                                                                                 \n    ArrayIterator::__construct(): Argument #1 ($array) must be of type array, n  \n    ull given                                                                    \n                                                                                 \n  \n  cache:warmup [--no-optional-warmers]\n  \n  """]
    
    
    
    In ContaoSetupCommand.php line 146:
    
                                                                                   
    
      An error occurred while executing the "/usr/bin/php8.0 -dmemory_limit=-1 /v  
    
      ar/www/html/werbegemeinschaft-Projekt/vendor/contao/manager-bundle/bin/cont  
    
      ao-console cache:warmup --env=prod --no-ansi" command: PHP Warning:  Undefi  
    
      ned array key "LEAFLET_LIBRARIES" in /var/www/html/werbegemeinschaft-Projek  
    
      t/vendor/netzmacht/contao-leaflet-maps/src/Frontend/Assets/LibrariesConfigu  
    
      ration.php on line 54                                                        
    
      19:41:14 CRITICAL  [console] Error thrown while running command "cache:warm  
    
      up --env=prod --no-ansi". Message: "ArrayIterator::__construct(): Argument   
    
      #1 ($array) must be of type array, null given" ["exception" => TypeError {   
    
      …},"command" => "cache:warmup --env=prod --no-ansi","message" => "ArrayIter  
    
      ator::__construct(): Argument #1 ($array) must be of type array, null given  
    
      "]                                                                           
    
                                                                                   
    
      In LibrariesConfiguration.php line 54:                                       
    
                                                                                   
    
                                                                                   
    
        ArrayIterator::__construct(): Argument #1 ($array) must be of type array,  
    
       n                                                                           
    
        ull given                                                                  
    
                                                                                   
    
                                                                                   
    
                                                                                   
    
                                                                                   
    
      cache:warmup [--no-optional-warmers]                                         
    
                                                                                   
    
    
    
    contao:setup
    
    
    
    Script @php vendor/bin/contao-setup handling the post-install-cmd event returned with error code 1
    
    
    
    # Process terminated with exit code 1
    
    # Result: General error
    muss das jetzt selbst mal studieren an was es liegt vielleicht finde ich es selbst raus!

  9. #9
    Contao-Fan
    Registriert seit
    20.06.2009.
    Ort
    Küps
    Beiträge
    344

    Standard

    Okay bestätigter BUG in gitHub mal schauen ob der eine Vorschlag klappt!!

    https://github.com/netzmacht/contao-...aps/issues/124

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
  •