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
Liste der Anhänge anzeigen (Anzahl: 4)
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
Anhang 21199
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.
Anhang 21200
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
Anhang 21202
Es bleibt eine Frage: Warum wird im Contao Backend immer noch 4.5.10 angezeigt?
Anhang 21201