Contao-Camp 2024
Ergebnis 1 bis 18 von 18

Thema: Contao Manager hängt bei Update

  1. #1
    Contao-Nutzer
    Registriert seit
    25.07.2015.
    Ort
    Graz
    Beiträge
    59

    Standard Contao Manager hängt bei Update

    Beim Update des Package "Datenbanksicherung" blieb der Contao-Manager hängen.
    Immer wenn ich den Manager neu starte, kommt er wieder zum Update, obwohl schon auf abbrechen geklickt habe.
    Wie kann ich das beenden ?


    Contao.PNG

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

    Standard

    Lösche die contao-manager/tasks.json

  3. #3
    Contao-Nutzer
    Registriert seit
    25.07.2015.
    Ort
    Graz
    Beiträge
    59

    Standard Nächster Versuch, diesmal mit Contao-Manager 1.3.3

    Heute habe ich wieder mal versucht, ein Package zu aktualisieren.
    Neuerlicher Hang - auch wenn ich die Tasks.json lösche, hängt beim nächsten Versuch wieder alles.
    Seit der Version 1.2.7 des Contao-Managers sind für mich keine Updates mehr möglich und auch Neuinstallationen hängen.
    Siehe Bild.

    {"id":"e2d1bf1c-40f7-4a14-abfb-7749b924e1aa","name":"composer\/update","options":
    {"require":[],"remove":[],"update":["bugbuster\/contao-cron-bundle"],"uploads":true,"dry_run":false},
    "state":
    {"backup-artifacts":[],"backup-created":true,"cloud-job-attempts":1,"cloud-job":"thSmtDQxa1pqhI8msBQcC0dum66nFWbqTgJurtTQgG5M n6gXcIYGHEPOeedObWbfvTMzSfObuTTRrwj2EQrcPlqjmEFB14 a",
    "cloud-job-sstatus":
    {"jobId":"thSmtDQxa1pqhI8msBQcC0dum66nFWbqTgJurtTQ gG5Mn6gXcIYGHEPOeedObWbfvTMzSfObuTTRrwj2EQrcPlqjmE FB14a","status":"finished","retries":0,
    "worker":"contao-worker-00","queuePosition":1,"links":{"composerJson":"\/jobs\/thSmtDQxa1pqhI8msBQcC0dum66nFWbqTgJurtTQgG5Mn6gXcI YGHEPOeedObWbfvTMzSfObuTTRrwj2EQrcPlqjmEFB14a\/composerJson","composerLock":"\/jobs\/thSmtDQxa1pqhI8msBQcC0dum66nFWbqTgJurtTQgG5Mn6gXcI YGHEPOeedObWbfvTMzSfObuTTRrwj2EQrcPlqjmEFB14a\/composerLock","composerOutput":"\/jobs\/thSmtDQxa1pqhI8msBQcC0dum66nFWbqTgJurtTQgG5Mn6gXcI YGHEPOeedObWbfvTMzSfObuTTRrwj2EQrcPlqjmEFB14a\/composerOutput"},
    "stats":{"averageProcessingTimeInMs":39043.056,"nu mberOfJobsInQueue":0,"numberOfWorkers":9,"minNumbe rOfWorkers":1,"maxNumberOfWorkers":10,"appVersion" :"2.4.11","phpVersion":"7.4.12","composerVersion": "1.10.15"},"sponsoredBy":{"name":"Contao Association","link":"https:\/\/association.contao.org"}},
    "cloud-job-updated":1605456806,"cloud-job-processing":1605456726,"cloud-job-finished":1605456806,"cloud-job-successful":true,
    "cloud-job-output":"[5.9MiB\/0.21s] Loading composer repositories with package information\n[6.3MiB\/0.35s]
    Updating dependencies\n[556.9MiB\/79.10s] Package operations: 155 installs, 0 updates, 0 removals\n[556.9MiB\/79.10s]
    - Installing contao-components\/installer (1.4.0)\n[556.9MiB\/79.10s]
    - Installing symfony\/polyfill-ctype (v1.20.0)\n[556.9MiB\/79.10s]
    - Installing symfony\/polyfill-mbstring (v1.20.0)\n[556.9MiB\/79.11s]
    - Installing twig\/twig (v1.44.1)\n[556.9MiB\/79.11s]
    - Installing symfony\/polyfill-php70 (v1.20.0)\n[556.9MiB\/79.11s]
    - Installing symfony\/polyfill-php56 (v1.20.0)\n[556.9MiB\/79.12s]
    - Installing symfony\/symfony (v3.4.46)\n[556.9MiB\/79.12s]
    - Installing contao\/manager-plugin (2.8.0)\n[556.9MiB\/79.12s]
    - Installing contao-community-alliance\/composer-plugin (3.1.3)\n[556.9MiB\/79.13s]
    - Installing paragonie\/random_compat (v9.99.99)\n[556.9MiB\/79.13s]
    - Installing symfony\/polyfill-intl-icu (v1.20.0)\n[556.9MiB\/79.13s]
    - Installing symfony\/polyfill-apcu (v1.20.0)\n[556.9MiB\/79.14s]
    - Installing psr\/simple-cache (1.0.1)\n[556.9MiB\/79.14s]
    - Installing psr\/log (1.1.3)\n[557.0MiB\/79.14s]
    - Installing psr\/link (1.0.0)\n[557.0MiB\/79.15s]
    - Installing psr\/container (1.0.0)\n[557.0MiB\/79.15s]
    - Installing psr\/cache (1.0.1)\n[557.0MiB\/79.18s]
    - Installing fig\/link-util (1.1.1)\n[557.0MiB\/79.18s]
    - Installing doctrine\/lexer (1.2.1)\n[557.0MiB\/79.18s]
    - Installing doctrine\/annotations (1.11.1)\n[557.0MiB\/79.19s]
    - Installing doctrine\/reflection (1.2.2)\n[557.0MiB\/79.19s]
    - Installing doctrine\/event-manager (1.1.1)\n[557.0MiB\/79.19s]
    - Installing doctrine\/collections (1.6.7)\n[557.0MiB\/79.20s]
    - Installing doctrine\/cache (1.10.2)\n[557.0MiB\/79.20s]
    - Installing doctrine\/persistence (1.3.8)\n[557.0MiB\/79.20s]
    - Installing doctrine\/inflector (1.4.3)\n[557.0MiB\/79.21s]
    - Installing doctrine\/common (2.13.3)\n[557.0MiB\/79.21s]
    - Installing symfony\/polyfill-php80 (v1.20.0)\n[557.0MiB\/79.21s]
    - Installing symfony\/polyfill-php73 (v1.20.0)\n[557.0MiB\/79.22s]
    - Installing symfony\/polyfill-php72 (v1.20.0)\n[557.0MiB\/79.22s]
    - Installing symfony\/polyfill-intl-normalizer (v1.20.0)\n[557.0MiB\/79.23s]
    - Installing symfony\/polyfill-intl-idn (v1.20.0)\n[557.0MiB\/79.23s]
    - Installing symfony\/mime (v5.0.4)\n[557.0MiB\/79.23s]
    - Installing symfony\/http-client-contracts (v2.3.1)\n[557.0MiB\/79.24s]
    - Installing symfony\/service-contracts (v2.2.0)\n[557.0MiB\/79.25s]
    - Installing toflar\/psr6-symfony-http-cache-store (2.2.1)\n[557.0MiB\/79.26s]
    - Installing psr\/http-message (1.0.1)\n[557.0MiB\/79.26s]
    - Installing php-http\/message-factory (v1.0.2)\n[557.0MiB\/79.27s]
    - Installing clue\/stream-filter (v1.5.0)\n[557.0MiB\/79.27s]
    - Installing php-http\/message (1.10.0)\n[557.0MiB\/79.28s]
    - Installing php-http\/discovery (1.12.0)\n[557.0MiB\/79.28s]
    - Installing php-http\/promise (1.1.0)\n[557.0MiB\/79.29s]
    - Installing php-http\/httplug (v1.1.0)\n[557.0MiB\/79.29s]
    - Installing ralouphie\/getallheaders (3.0.3)\n[557.0MiB\/79.30s]
    - Installing guzzlehttp\/psr7 (1.7.0)\n[557.0MiB\/79.31s]
    - Installing guzzlehttp\/promises (1.4.0)\n[557.0MiB\/79.31s]
    - Installing guzzlehttp\/guzzle (6.5.5)\n[557.0MiB\/79.32s]
    - Installing symfony\/http-client (v5.1.8)\n[557.0MiB\/79.32s]
    - Installing php-http\/guzzle6-adapter (v1.1.1)\n[557.0MiB\/79.33s]
    - Installing php-http\/curl-client (v1.7.1)\n[557.0MiB\/79.33s]
    - Installing psr\/http-factory (1.0.1)\n[557.0MiB\/79.33s]
    - Installing php-http\/client-common (1.10.0)\n[557.0MiB\/79.34s]
    - Installing friendsofsymfony\/http-cache (2.9.2)\n[557.0MiB\/79.35s]
    - Installing friendsofsymfony\/http-cache-bundle (2.9.0)\n[557.0MiB\/79.35s]
    - Installing terminal42\/header-replay-bundle (1.5.3)\n[557.0MiB\/79.36s]
    - Installing swiftmailer\/swiftmailer (v5.4.12)\n[557.0MiB\/79.36s]
    - Installing symfony\/swiftmailer-bundle (v2.6.7)\n[557.0MiB\/79.37s]
    - Installing monolog\/monolog (1.25.3)\n[557.0MiB\/79.37s]
    - Installing symfony\/monolog-bundle (v3.5.0)\n[557.0MiB\/79.38s]
    - Installing composer\/ca-bundle (1.2.6)\n[557.0MiB\/79.38s]
    - Installing ua-parser\/uap-php (v3.9.7)\n[557.0MiB\/79.39s]
    - Installing nelmio\/security-bundle (2.7.0)\n[557.0MiB\/79.39s]
    - Installing lexik\/maintenance-bundle (v2.1.5)\n[557.0MiB\/79.40s]
    - Installing jdorn\/sql-formatter (v1.2.17)\n[557.0MiB\/79.40s]
    - Installing doctrine\/doctrine-cache-bundle (1.4.0)\n[557.0MiB\/79.41s]
    - Installing doctrine\/dbal (2.12.1)\n[557.0MiB\/79.41s]
    - Installing doctrine\/doctrine-bundle (1.12.12)\n[557.0MiB\/79.41s]
    - Installing sensiolabs\/ansi-to-html (v1.1.3)\n[557.0MiB\/79.42s]
    - Installing sensiolabs\/security-checker (v6.0.3)\n[557.0MiB\/79.42s]
    - Installing sensio\/distribution-bundle (v5.0.25)\n[557.0MiB\/79.43s]
    - Installing webmozart\/assert (1.9.1)\n[557.0MiB\/79.43s]
    - Installing webmozart\/path-util (2.3.0)\n[557.0MiB\/79.44s]
    - Installing true\/punycode (v2.1.1)\n[557.0MiB\/79.44s]
    - Installing tecnickcom\/tcpdf (6.3.5)\n[557.0MiB\/79.45s]
    - Installing simplepie\/simplepie (1.5.6)\n[557.0MiB\/79.45s]
    - Installing scssphp\/scssphp (v1.4.0)\n[557.0MiB\/79.46s]
    - Installing phpunit\/php-token-stream (3.1.1)\n[557.0MiB\/79.46s]
    - Installing phpspec\/php-diff (v1.1.3)\n[557.0MiB\/79.47s]
    - Installing patchwork\/utf8 (v1.3.2)\n[557.0MiB\/79.47s]
    - Installing oyejorge\/less.php (v1.7.0.14)\n[557.0MiB\/79.48s]
    - Installing nelmio\/cors-bundle (1.5.6)\n[557.0MiB\/79.49s]
    - Installing michelf\/php-markdown (1.9.0)\n[557.0MiB\/79.49s]
    - Installing matthiasmullie\/path-converter (1.1.3)\n[557.0MiB\/79.50s]
    - Installing matthiasmullie\/minify (1.3.63)\n[557.0MiB\/79.51s]
    - Installing jeremykendall\/php-domain-parser (3.0.0)\n[557.0MiB\/79.52s]
    - Installing league\/uri (4.2.2)\n[557.0MiB\/79.53s]
    - Installing knplabs\/knp-time-bundle (v1.10.0)\n[557.0MiB\/79.53s]
    - Installing knplabs\/knp-menu (2.6.0)\n[557.0MiB\/79.54s]
    - Installing knplabs\/knp-menu-bundle (v2.3.0)\n[557.0MiB\/79.55s]
    - Installing imagine\/imagine (1.2.4)\n[557.1MiB\/79.55s]
    - Installing contao\/imagine-svg (0.2.3)\n[557.1MiB\/79.56s]
    - Installing contao\/image (0.3.9)\n[557.1MiB\/79.57s]
    - Installing contao-components\/tinymce4 (4.6.7.3)\n[557.1MiB\/79.57s]
    - Installing contao-components\/tablesorter (2.31.3)\n[557.1MiB\/79.58s]
    - Installing contao-components\/tablesort (4.0.1)\n[557.1MiB\/79.58s]
    - Installing contao-components\/swipe (2.2.0)\n[557.1MiB\/79.59s]
    - Installing contao-components\/simplemodal (2.1.1)\n[557.1MiB\/79.59s]
    - Installing contao-components\/respimage (1.4.2)\n[557.1MiB\/79.60s]
    - Installing contao-components\/mootools (1.6.0.6)\n[557.1MiB\/79.61s]
    - Installing contao-components\/mediaelement (4.2.14)\n[557.1MiB\/79.61s]
    - Installing contao-components\/mediabox (1.5.5)\n[557.1MiB\/79.63s]
    - Installing contao-components\/jquery-ui (1.12.1.1)\n[557.1MiB\/79.63s]
    - Installing contao-components\/jquery (1.12.4)\n[557.1MiB\/79.64s]
    - Installing contao-components\/html5shiv (3.7.3)\n[557.1MiB\/79.65s]
    - Installing contao-components\/highlight (8.9.1)\n[557.1MiB\/79.65s]
    - Installing contao-components\/dropzone (4.3.0)\n[557.1MiB\/79.66s]
    - Installing contao-components\/datepicker (2.3.1)\n[557.1MiB\/79.66s]
    - Installing contao-components\/contao (7.1.6)\n[557.1MiB\/79.67s]
    - Installing contao-components\/compass (0.12.2.1)\n[557.1MiB\/79.67s]
    - Installing contao-components\/colorpicker (1.5.1)\n[557.1MiB\/79.68s]
    - Installing contao-components\/colorbox (1.6.6)\n[557.1MiB\/79.68s]
    - Installing contao-components\/chosen (1.2.4)\n[557.1MiB\/79.69s]
    - Installing contao-components\/ace (1.4.12)\n[557.1MiB\/79.71s]
    - Installing contao\/core-bundle (4.4.47)\n[557.1MiB\/79.71s]
    - Installing contao\/installation-bundle (4.4.47)\n[557.1MiB\/79.72s]
    - Installing contao\/manager-bundle (4.4.47)\n[557.1MiB\/79.73s]
    - Installing nyholm\/psr7 (1.3.2)\n[557.1MiB\/79.73s]
    - Installing ausi\/slug-generator (v1.1.0)\n[557.1MiB\/79.74s]
    - Installing friends-of-contao\/contao-memberlist (2.0.1)\n[557.1MiB\/79.74s]
    - Installing chrmue\/cm_googlemaps (2.0.7)\n[557.1MiB\/79.75s]
    - Installing chrmue\/cm_membergooglemaps (2.0.13)\n[557.1MiB\/79.75s]
    - Installing contao\/calendar-bundle (4.4.47)\n[557.1MiB\/79.76s]
    - Installing contao\/comments-bundle (4.4.47)\n[557.1MiB\/79.76s]
    - Installing contao\/conflicts (dev-master ba331b1)\n[557.1MiB\/79.77s]
    - Installing contao\/faq-bundle (4.4.47)\n[557.1MiB\/79.77s]
    - Installing contao\/listing-bundle (4.4.47)\n[557.1MiB\/79.78s]
    - Installing contao\/news-bundle (4.4.47)\n[557.1MiB\/79.78s]
    - Installing contao\/newsletter-bundle (4.4.47)\n[557.1MiB\/79.79s]
    - Installing delahaye\/dlh_geocode (1.1.4)\n[557.1MiB\/79.79s]
    - Installing delahaye\/dlh_googlemaps (2.4.1)\n[557.1MiB\/79.80s]
    - Installing do-while\/contao-backupdb-bundle (1.4.1)\n[557.1MiB\/79.81s]
    - Installing tijsverkoyen\/css-to-inline-styles (2.2.2)\n[557.1MiB\/79.81s]
    - Installing soundasleep\/html2text (1.1.0)\n[557.1MiB\/79.82s]
    - Installing wa72\/htmlpagedom (v1.4.2)\n[557.1MiB\/79.82s]
    - Installing heimrichhannot\/contao-request-bundle (1.1.0)\n[557.1MiB\/79.83s]
    - Installing hackzilla\/password-generator (1.5.0)\n[557.1MiB\/79.84s]
    - Installing heimrichhannot\/contao-utils-bundle (2.171.0)\n[557.1MiB\/79.85s]
    - Installing heimrichhannot\/contao-menu-bundle (0.0.2)\n[557.1MiB\/79.85s]
    - Installing menatwork\/contao-multicolumnwizard (3.3.17)\n[557.1MiB\/79.86s]
    - Installing hofff\/contao-calendarfield (3.0.2)\n[557.1MiB\/79.86s]
    - Installing kmielke\/calendar_extended (3.7.18)\n[557.1MiB\/79.87s]
    - Installing chrisjean\/php-ico (1.0.4)\n[557.1MiB\/79.88s]
    - Installing ma3xl3\/contao-easy-favicon (2.0.1)\n[557.1MiB\/79.88s]
    - Installing madeyourday\/contao-rocksolid-columns (v2.0.2)\n[557.1MiB\/79.89s]
    - Installing madeyourday\/contao-rocksolid-custom-elements (v2.2.14)\n[557.1MiB\/79.89s]
    - Installing madeyourday\/contao-rocksolid-frontend-helper (v2.0.8)\n[557.1MiB\/79.90s]
    - Installing madeyourday\/contao-rocksolid-icon-picker (v2.0.2)\n[557.1MiB\/79.90s]
    - Installing madeyourday\/contao-rocksolid-slider (v2.0.13)\n[557.1MiB\/79.91s]
    - Installing madeyourday\/contao-rocksolid-theme-assistant (v2.0.2)\n[557.1MiB\/79.92s]
    - Installing codefog\/contao-haste (4.24.10)\n[557.1MiB\/79.92s]
    - Installing terminal42\/contao-changelanguage (3.1.14)\n[557.1MiB\/79.93s]
    - Installing php-http\/stopwatch-plugin (1.3.0)\n[557.1MiB\/79.93s]
    - Installing php-http\/logger-plugin (1.2.0)\n[557.1MiB\/79.94s]
    - Installing php-http\/httplug-bundle (1.15.2)\n[557.1MiB\/79.95s]
    - Installing bugbuster\/contao-cron-bundle (1.3.8)\n[545.2MiB\/79.96s]
    <warning>Package doctrine\/reflection is abandoned, you should a void using it. Use roave\/better-reflection instead.
    <\/warning>\n[545.2MiB\/79.96s]
    <warning>Package sensio\/distribution-bundle is abandoned, you should avoid using it. No replacement was suggested.
    <\/warning>\n[545.2MiB\/79.96s]
    <warning>Package phpunit\/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
    <\/warning>\n[545.2MiB\/79.96s]
    <warning>Package oyejorge\/less.php is abandoned, you should avoid using it. No replacement was suggested.
    <\/warning>\n[545.2MiB\/79.96s]
    <warning>Package menatwork\/contao-multicolumnwizard is abandoned, you should avoid using it.
    Use menatwork\/contao-multicolumnwizard-bundle instead.
    <\/warning>\n[545.8MiB\/79.98s] Writing lock file\n
    [545.8MiB\/79.98s] 27 packages you are using are looking for funding.\n
    [545.8MiB\/79.98s]
    Use the `composer fund` command to find out more!\n
    [546.2MiB\/79.99s] Memory usage: 546.17MB (peak: 3398.74MB), time: 79.99s.\n
    [546.2MiB\/79.99s] Finished Composer Cloud resolving.\n"},
    "cancelled":false}
    Angehängte Grafiken Angehängte Grafiken
    Geändert von stefanwin (15.11.2020 um 17:39 Uhr)

  4. #4
    Contao-Nutzer
    Registriert seit
    25.07.2015.
    Ort
    Graz
    Beiträge
    59

    Standard Nächster Versuch, diemal mit Contao-Manager 1.4.3

    Geändert von stefanwin (26.04.2021 um 08:00 Uhr)

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

    Standard

    Du musst ein "Composer Update ausführen". Siehe dazu auch den Nachrichtenbeitrag auf contao.org
    » sponsor me via GitHub or PayPal or Revolut

  6. #6
    Contao-Nutzer
    Registriert seit
    25.07.2015.
    Ort
    Graz
    Beiträge
    59

    Standard composer update

    Leider erfolglos:

    Resolving dependencies using Composer Cloud v3.2.0
    !!! Current server is sponsored by: Contao Association !!!


    [6.2MiB/0.21s] Loading composer repositories with package information
    [76.2MiB/1.90s] Updating dependencies
    [154.2MiB/84.84s] Nothing to modify in lock file
    [79.0MiB/84.91s] Package contao-components/compass is abandoned, you should avoid using it. No replacement was suggested.
    [79.0MiB/84.91s] Package doctrine/doctrine-cache-bundle is abandoned, you should avoid using it. No replacement was suggested.
    [79.0MiB/84.91s] Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
    [79.0MiB/84.92s] Package kmielke/calendar_extended is abandoned, you should avoid using it. No replacement was suggested.
    [79.0MiB/84.92s] Package menatwork/contao-multicolumnwizard is abandoned, you should avoid using it. Use menatwork/contao-multicolumnwizard-bundle instead.
    [79.0MiB/84.92s] Package oyejorge/less.php is abandoned, you should avoid using it. No replacement was suggested.
    [79.0MiB/84.92s] Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    [79.0MiB/84.92s] Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
    [79.0MiB/84.92s] Package sensio/distribution-bundle is abandoned, you should avoid using it. No replacement was suggested.
    [79.0MiB/84.93s] Package sensiolabs/security-checker is abandoned, you should avoid using it. Use https://github.com/fabpot/local-php-security-checker instead.
    [79.0MiB/84.93s] Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
    [79.0MiB/84.93s] Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
    [79.4MiB/84.93s] Memory usage: 79.36MB (peak: 1791.77MB), time: 84.94s.
    [79.4MiB/84.94s] Finished Composer Cloud resolving.


    # Job ID k1irIv34SxIcdcWIMlJu22fnM9kfzUmN1iQJll106KkceGxlTT G9ERMWVT9OUeruuak8hqe7t72cTOlXcjrTUGjxltGVrRAzGhkK 0zWnBb completed in 79 seconds
    # Memory usage: 79.36MB (peak: 1791.77MB), time: 84.94s.

    $ /usr/bin/php73 -q /home/.sites/16/site8633274/web/Contao-4/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader


    Bei der letzten Zeile hängt sich das Ding immer wieder auf.
    Was ich festgestellt habe:
    Wenn ich diese Zeile in das Terminal eingebe, kommt der Fehler, dass "--no-suggest" ein ungültiger Parameter ist.

    Ich kann also nach wie vor nichts installieren oder updaten.

    Warum ist eigentlich der Composer im Terminal ein unbekannter Befehl ?
    Ich kann da nur /usr/bin/php73 Commands ausführen.

  7. #7
    Community-Moderatorin & Contao-Urgestein Avatar von mlweb
    Registriert seit
    10.07.2011.
    Beiträge
    6.715
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Zitat Zitat von stefanwin Beitrag anzeigen
    Warum ist eigentlich der Composer im Terminal ein unbekannter Befehl ?
    Ich kann da nur /usr/bin/php73 Commands ausführen.
    Was genau hast Du denn in der Konsole eingegeben?
    Zum einen muss entweder Composewr in Deiner Umgebung installiert sein oder Du musst speziell den mit dem Manager mitgelieferten Composer ansprechen.
    Außerdem musst Du beim Aufruf unter Umständen (je nach Konfiguration) den kompletten Pfad zur PHP-Version angeben.
    Ich habe Dir mit meinen Hinweisen geholfen und Du möchtest Dich bedanken?
    Unterstütze bitte das Contao-Projekt (Button Links)
    Weitere Spendenmöglichkeiten
    ------------------------------------------------------------------------------------------------------
    Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
    Contao-Online-Video-Kurse: Contao Academy
    Funktionalität erweitern: Contao-Erweiterungen

    Für Dinge die man mit html5 und css3 lösen kann, braucht man kein javascript.




  8. #8
    Contao-Nutzer
    Registriert seit
    25.07.2015.
    Ort
    Graz
    Beiträge
    59

    Standard

    Danke, ich habe es schon herausgefunden.
    Man muss vorher den contao-manager angeben.
    Also: /usr/bin/php74 contao-manager.phar.php composer .......
    Dann läuft's, wenn man bereits im richtigen Verzeichnis steht, wo der contao.manager liegt.

  9. #9
    Contao-Nutzer
    Registriert seit
    25.07.2015.
    Ort
    Graz
    Beiträge
    59

    Standard

    Wenn ich einen "composer install" im Terminal ausführe, sehe ich den Fehler, den ich aber nicht ganz verstehe.
    Es wird angezeigt dass "memberlist" bereits vorhanden ist. Wenn ich den Inhalt des Ordners lösche, läuft der Install zwar durch, sagt aber dann später beim Reload des Contao-Managers, dass "memberlist" NICHT vorhanden ist.

    - Installing madeyourday/contao-rocksolid-slider (v2.0.24): Extracting archive
    - Installing madeyourday/contao-rocksolid-theme-assistant (v2.0.3): Extracting archive
    - Installing phenx/php-font-lib (0.5.4): Extracting archive
    - Installing sabberworm/php-css-parser (8.4.0): Extracting archive
    - Installing phenx/php-svg-lib (0.3.4): Extracting archive
    - Installing dompdf/dompdf (v1.1.1): Extracting archive
    - Installing w3scout/contao-dompdf-bundle (1.0.5): Extracting archive
    Install of friends-of-contao/contao-memberlist failed
    Install of delahaye/dlh_googlemaps failed
    Install of menatwork/contao-multicolumnwizard failed
    Install of hofff/contao-calendarfield failed
    Install of kmielke/calendar_extended failed

    In AbstractModuleInstaller.php line 603:

    Installation target "/home/.sites/16/site8633274/web/Contao-4/web/system/modules/memberlist" al ready exists

  10. #10
    Contao-Urgestein Avatar von fiedsch
    Registriert seit
    09.07.2009.
    Ort
    München
    Beiträge
    2.935

    Standard

    Zitat Zitat von stefanwin Beitrag anzeigen
    Installation target "/home/.sites/16/site8633274/web/Contao-4/web/system/modules/memberlist" al ready exists
    Ist das angegebene ein Verzeichnis? Es sollte ein Symlink auf das entsprechende Verzeichnis aus dem vendor/ Ordner sein. Bei den anderen „failed“ Paketen analog.

    Zitat Zitat von stefanwin Beitrag anzeigen
    Wenn ich den Inhalt des Ordners lösche
    Meinst Du damit den Ordner in vendor/ oder den in web/?
    Contao-Community-Treff Bayern: http://www.contao-bayern.de

  11. #11
    Alter Contao-Hase Avatar von bizon
    Registriert seit
    16.06.2010.
    Beiträge
    1.121

    Standard

    Zitat Zitat von stefanwin
    Es wird angezeigt dass "memberlist" bereits vorhanden ist. Wenn ich den Inhalt des Ordners lösche, läuft der Install zwar durch, sagt aber dann später beim Reload des Contao-Managers, dass "memberlist" NICHT vorhanden ist.

    Installation target "/home/.sites/16/site8633274/web/Contao-4/web/system/modules/memberlist" al ready exists
    Du musst in o.g. Verzeichnis(web/system/modules/) den kompletten Ordner memberlist löschen, weil Contao an dieser Stelle einen Symlink mit dem Namen memberlist oder, je nach Extension, auch einen Ordner mit darin befindlichen Symlinks anlegen will. Das Erstellen der symbolischen Links geht immer schief, wenn dort bereits ein Ordner mit dem entsprechenden Namen existiert.

    Zitat Zitat von stefanwin
    Install of friends-of-contao/contao-memberlist failed
    Install of delahaye/dlh_googlemaps failed
    Install of menatwork/contao-multicolumnwizard failed
    Install of hofff/contao-calendarfield failed
    Install of kmielke/calendar_extended failed
    Das sind meistens veraltete Extensions, die für Contao 3.x gültig waren. Für Contao 4.x gibt es neue Bundles, die die alten Erweiterungen ersetzen. Die neuen Bundles müssen separat installiert werden.

    Das kann man auch hier überprüfen.

    Zitat Zitat von stefanwin
    Warum ist eigentlich der Composer im Terminal ein unbekannter Befehl ?
    Ich kann da nur /usr/bin/php73 Commands ausführen.
    Wenn du php mit /usr/bin/php73 aufrufst, dann gibst du an, wo deine php-version zu finden ist. Wenn dann lediglich composer angehängt wird, erwartet Linux den Composer im gerade aktuellen Verzeichnis. Wenn du also in deinem Contao Verzeichnis bist, klappt der Aufruf nicht, weil es hier keinen Composer gibt. Du musst deshalb auch den Pfad zum evtl. bereits installierten Composer mit angeben - z.B.:
    Code:
    /usr/bin/php73 /usr/bin/composer ...
    Ob und wo Composer installiert ist, kann man im Terminal prüfen mit:
    Code:
    which composer

  12. #12
    Contao-Nutzer
    Registriert seit
    25.07.2015.
    Ort
    Graz
    Beiträge
    59

    Standard

    So, jetzt habe ich's gelassen und Contao neu installiert - die Version 4.12.3
    Soweit so gut.
    Jetzt wollte ich die alte DB aus 4.4.47 einfach dranhängen und mit dem DB Update alles migrieren.
    Dabei erhalte ich folgenden Fehler:

    [2022-01-05T14:52:55.072461+01:00] request.CRITICAL: Uncaught PHP Exception InvalidArgumentException: "Invalid hash: cb1233fc751e418b16279a2900c62634" at /home/.sites/16/site8633274/web/web44/vendor/contao/installation-bundle/src/Database/Installer.php line 105 {"exception":"[object] (InvalidArgumentException(code: 0): Invalid hash: cb1233fc751e418b16279a2900c62634 at /home/.sites/16/site8633274/web/web44/vendor/contao/installation-bundle/src/Database/Installer.php:105)"} []

    Ich nehme an, dass die alte DB eine andere Secret verwendet ?
    Wo finde ich die ?

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

    Standard

    Zitat Zitat von stefanwin Beitrag anzeigen
    So, jetzt habe ich's gelassen und Contao neu installiert - die Version 4.12.3
    Die neueste Version ist 4.12.5.
    » sponsor me via GitHub or PayPal or Revolut

  14. #14
    Contao-Nutzer
    Registriert seit
    25.07.2015.
    Ort
    Graz
    Beiträge
    59

    Standard

    Genau 4.12.5.
    Habe jetzt von der alten DB sämtliche Daten importiert und leider auch den Admin User.
    Wenn das Admin Flag auf 0 setze und im Install-Tool einen neuen Admin User anlegen möchte, erhalte ich einen CONTAO Fehler (die schöne Webseite) und im Log gibt es keinen Eintrag.

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

    Standard

    Nutze den Debug-Modus und poste den Stack Trace.
    » sponsor me via GitHub or PayPal or Revolut

  16. #16
    Contao-Nutzer
    Registriert seit
    25.07.2015.
    Ort
    Graz
    Beiträge
    59

    Standard

    Hallo,
    die Seite läuft größtenteils wieder.
    Jetzt habe ich noch das Problem, wenn ich ein Formular habe, wo die Daten in der DB gespeichert werden sollen, erhalte ich immer folgenden Fehler:

    /home/.sites/16/site8633274/web/web44/vendor/contao/core-bundle/src/Resources/contao/library/Contao/System.php line 198 {"exception":"[object] (RuntimeException(code: 0): System::import() failed because class "App\\AppBundle\\StoreFormDataListener" is not a valid class name or does not exist. at /home/.sites/16/site8633274/web/web44/vendor/contao/core-bundle/src/Resources/contao/library/Contao/System.php:198)"} []

    Alle anderen Formulare laufen einwandfrei.

  17. #17
    Contao-Urgestein Avatar von fiedsch
    Registriert seit
    09.07.2009.
    Ort
    München
    Beiträge
    2.935

    Standard

    Du hast anscheinend irgendwo einen Hook registriert, die dort angegebene Klasse App\AppBundle\StoreFormDataListener existiert aber in dieser Installation nicht oder wird nicht gefunden.

    Edit:

    Alle anderen Formulare laufen einwandfrei.
    kann es sein, daß bei diesem Formular "Daten speichern" aktiviert ist, bei allen anderen aber nicht? Das würde zu obiger Aussage passen.
    Contao-Community-Treff Bayern: http://www.contao-bayern.de

  18. #18
    Contao-Nutzer
    Registriert seit
    25.07.2015.
    Ort
    Graz
    Beiträge
    59

    Standard

    Danke, das war auch meine Vermutung. War nur der Meinung, dass ich diesen Hook damals nicht brauchte.
    Gehe mal auf die Suche.

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
  •