Ergebnis 1 bis 4 von 4

Thema: 4.5.* "Console task terminated!" im Contao Manager

  1. #1
    Contao-Nutzer Avatar von Amasit
    Registriert seit
    05.11.2009.
    Ort
    Bern, Schweiz
    Beiträge
    19

    Standard 4.5.* "Console task terminated!" im Contao Manager

    Aktuelle Version: Contao Manager 1.0.3/ Contao Version 4.5.10

    Seit Tagen versuche ich mit dem Contao Manager das Contao Update 4.5.12 oder das Mate Theme zu installieren. Resultat ist jedesmal "Console task terminated! The background task has stopped unexpectedly. Please check the console protocol."

    Kann mir jemand helfen? Das Protokoll zu einer abgebrochenen Contao 4.5.12 Installation sieht so aus:

    Code:
    $ C:^\wamp64^\bin^\php^\php7.2.4^\php.exe "-q" "C:.../contao-manager.phar.php" "composer" "require" "contao/manager-bundle=4.5.12" "--no-progress" "--no-suggest" "--no-update" "--no-scripts" "--prefer-stable" "--sort-packages" "--no-ansi" "--no-interaction" 2>&1
    
    Using config.component-dir has been deprecated. Please use extra.contao-component-dir instead.
    C:...\composer.json has been updated
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    $ C:^\wamp64^\bin^\php^\php7.2.4^\php.exe "-q" "C:/Privat/Webstorm-Projects/matthiaskrebs/web/contao-manager.phar.php" "composer" "update" "contao/manager-bundle" "--with-dependencies" "--prefer-dist" "--no-dev" "--no-progress" "--no-suggest" "--no-ansi" "--no-interaction" "--optimize-autoloader" 2>&1
    
    Using config.component-dir has been deprecated. Please use extra.contao-component-dir instead.
    Loading composer repositories with package information
    Updating dependencies
    Nothing to install or update
    Writing lock file
    Generating optimized autoload files
    contao/manager-plugin: Generating plugin class...
    contao/manager-plugin: ...done generating plugin class
    ocramius/package-versions:  Generating version class...
    ocramius/package-versions: ...done generating version class
    > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
    
     Added/updated the web/app.php file.
     Added/updated the web/app_dev.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                                                                      
    
     [OK] Cache for the "prod" environment (debug=false) was successfully warmed.  
    
    
     Trying to install assets as relative symbolic links.
    
     --------- ------------------------ ------------------ 
                Bundle                   Method / Error    
     --------- ------------------------ ------------------ 
      WARNING   ContaoCoreBundle         absolute symlink  
      WARNING   ContaoFaqBundle          absolute symlink  
      WARNING   ContaoNewsBundle         absolute symlink  
      WARNING   ContaoNewsletterBundle   absolute symlink  
      WARNING   ContaoCalendarBundle     absolute symlink  
      WARNING   ContaoCommentsBundle     absolute symlink  
     --------- ------------------------ ------------------ 
    
     [OK] All assets were successfully installed.                                  
    
    
     ------- ------------------------------------------- ----------------------------------------------------------------- 
              Symlink                                     Target / Error                                                   
     ------- ------------------------------------------- ----------------------------------------------------------------- 
      OK      web/files/mate                              files/mate                                                       
      OK      web/system/modules/multicolumnwizard/html   system/modules/multicolumnwizard/html                            
      OK      system/themes/flexible                      vendor/contao/core-bundle/src/Resources/contao/themes/flexible   
      OK      web/assets                                  assets                                                           
      OK      web/system/themes                           system/themes                                                    
      OK      system/logs                                 var/logs                                                         
      ERROR   system/config/tcpdf.php                     The path "system/config/tcpdf.php" exists and is not a symlink.  
     ------- ------------------------------------------- ----------------------------------------------------------------- 
    
    Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-update-cmd event terminated with an exception
    
    In ScriptHandler.php line 95:
                                                                        
      An error occurred while executing the "contao:symlinks" command:  
                                                                        
    
    update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...
    
    
    # Process terminated with exit code 1
    # Result: General error
    MfG Amasit

  2. #2
    Administrator Avatar von xchs
    Registriert seit
    19.06.2009.
    Beiträge
    14.559
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Dein aktueller Windows-Benutzer scheint keine Rechte zum Setzen von Symlinks zu haben. Du kannst Deinen lokalen Webserver entweder als Administrator ausführen oder Du erteilst über die Gruppenrichtlinien Deinem Windows-Benutzer das entsprechende Recht. Die dazu notwendige Berechtigung SE_CREATE_SYMBOLIC_LINK_NAME kannst Du entweder mit dem Tool Polsedit oder über den Gruppenrichtlienieneditor gpedit.msc ergänzen.
    Contao Community Administrator

    [Unterstützungsmöglichkeiten]

  3. #3
    Contao-Nutzer Avatar von Amasit
    Registriert seit
    05.11.2009.
    Ort
    Bern, Schweiz
    Beiträge
    19

    Standard

    xchs, danke für die hilfreichen Tipps.

    Ich arbeite mit Wampserver64, den ich als Administrator installiert habe. Ich habe diesen mit "Run as Administrator" gestartet. Das Resultat war das gleiche. Contao 4.5.12 konnte nicht installiert werden. Gleiches Fehlerprotokoll
    wampserver - run as admnistrator.png

    Danach habe ich gemäss Tipp mit polesedit SE_CREATE_SYMBOLIC_LINK_NAME gesetzt. Ich arbeite auf dem Notebook mit dem Administrator-Account, also ohne extra User. Danach neu gestartet. Auch so lieferte die COntao 4.5.12 Installation das leiche Ergebnis, gleiche Protokoll.
    polsedit - create symbolic links.png

    So hab ich mich nur um die fehlerhafte Zeile im Protokoll gekümmert:
    Code:
    ERROR   system/config/tcpdf.php   The path "system/config/tcpdf.php" exists and is not a symlink.
    Ich habe den pfad tcpdf.php entfernt und neu als symlink kreiert. Danach lief die Contao 4.5.12 Installation mit dem Contao Manager problemlos durch.
    Code:
     OK   system/config/tcpdf.php   vendor/contao/core-bundle/src/Resources/contao/config/tcpdf.php
    Updateing Packages - Contao 4 5 12 - Console task complete.png

    Es bleibt eine Frage: Warum wird im Contao Backend immer noch 4.5.10 angezeigt?
    Contao Backend - Version bleibt 4 5 10 statt 4 5 12.png
    MfG Amasit

  4. #4
    Contao-Urgestein Avatar von Franko
    Registriert seit
    22.06.2009.
    Beiträge
    1.507
    Partner-ID
    6122

    Standard

    Zitat Zitat von Amasit Beitrag anzeigen
    Es bleibt eine Frage: Warum wird im Contao Backend immer noch 4.5.10 angezeigt?
    Kann sein das dies, ebenso wie bei einem Update auf eine 4.4.21, folgenden Grund hat:

    https://github.com/contao/contao/issues/10

    siehe auch:
    https://community.contao.org/de/showthread.php?71608-Contao-4-4-21-und-4-5-12-verfügbar
    Freelancer, Digital Design Enthusiast, Contao Aficionado and Tutorial Junkie @MoinFranko - Carpe diem ...

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
  •