Ergebnis 1 bis 10 von 10

Thema: Seit Contao 5.3.4 probleme mit Updates

  1. #1
    Alter Contao-Hase
    Registriert seit
    20.06.2009.
    Ort
    Graz (Austria)
    Beiträge
    1.455

    Standard Seit Contao 5.3.4 probleme mit Updates

    Hallo, ich hatte vorige woche bei einer Seite das Update von Contao auf 3.5.4 eingespielt. Seitdem funktionieren die Updates nicht mehr. Hab jetzt auch versucht, mal von Contao 5.3.4 zurück auf die 5.3.3 zu gehen. Keine Ahnung ob das so funktioiniert hat, denn im CM wird Contao 5.3.4 angezeigt, aber wenn ich mir die Konsole ansehe, steht dort 5.3.3 -> 5.3.4 (siehe unten).

    Auch das deinstallieren von Paketen geht nicht mehr. Hier der Auszug aus dem CM. (Ich hatte auch schon den ordner "contao-manager" bereinigt/gelöscht, hat nichts gebracht)
    composer update bwein-net/contao-dismissable-banner-element contao/manager-bundle dklemmt/contao_dk_mmenu hofff/contao-calendarfield inspiredminds/contao-extended-form-fields madeyourday/contao-rocksolid-antispam madeyourday/contao-rocksolid-columns madeyourday/contao-rocksolid-custom-elements madeyourday/contao-rocksolid-icon-picker marcel-mathias-nolte/contao-filesmanager-fileusage netzmacht/contao-font-awesome-inserttag postyou/contao-easy-popup contao/news-bundle contao/calendar-bundle contao/faq-bundle contao/comments-bundle contao/newsletter-bundle contao/listing-bundle contao/conflicts contao/core-bundle --no-install

    Erfolgreich nach 13 Sekunden. RAM-Verbrauch: 17.76MB (Spitze: 221.17MB), Dauer: 13.85s.
    > Resolving dependencies using Composer Cloud v3.7.0
    [7.1MiB/0.21s] Loading composer repositories with package information
    [91.2MiB/12.69s] Updating dependencies
    [33.8MiB/13.63s] Lock file operations: 0 installs, 15 updates, 0 removals
    [33.8MiB/13.63s] - Upgrading contao-components/contao (9.3.4 => 9.3.5)
    [33.8MiB/13.63s] - Upgrading contao-components/tristen-tablesort (5.3.0 => 5.3.1)
    [33.8MiB/13.63s] - Upgrading contao/calendar-bundle (5.3.3 => 5.3.4)
    [33.8MiB/13.63s] - Upgrading contao/comments-bundle (5.3.3 => 5.3.4)
    [33.8MiB/13.64s] - Upgrading contao/core-bundle (5.3.3 => 5.3.4)
    [33.8MiB/13.64s] - Upgrading contao/faq-bundle (5.3.3 => 5.3.4)
    [33.8MiB/13.64s] - Upgrading contao/listing-bundle (5.3.3 => 5.3.4)
    [33.8MiB/13.64s] - Upgrading contao/manager-bundle (5.3.3 => 5.3.4)
    [33.8MiB/13.64s] - Upgrading contao/news-bundle (5.3.3 => 5.3.4)
    [33.8MiB/13.64s] - Upgrading contao/newsletter-bundle (5.3.3 => 5.3.4)
    [33.8MiB/13.64s] - Upgrading dklemmt/contao_dk_mmenu (4.1.1 => 4.1.2)
    [33.8MiB/13.64s] - Upgrading lcobucci/jwt (5.2.0 => 5.3.0)
    [33.8MiB/13.64s] - Upgrading menatwork/contao-multicolumnwizard-bundle (3.6.4 => 3.6.6)
    [33.8MiB/13.65s] - Upgrading monolog/monolog (2.9.2 => 2.9.3)
    [33.8MiB/13.65s] - Upgrading nelmio/security-bundle (v3.2.0 => v3.3.0)
    [33.0MiB/13.66s] Writing lock file
    [17.0MiB/13.68s] <warning>Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.</warning>
    [17.3MiB/13.84s] No security vulnerability advisories found.
    [17.8MiB/13.84s] Memory usage: 17.76MB (peak: 221.17MB), time: 13.85s.
    [17.8MiB/13.85s] Finished Composer Cloud resolving.
    # Job ID aaGKpjZGrGT49uvjs76WcjTqzqcxEkoaH7kp8SFCUtzoWQXehG p0HGLgo0qEzVmIOnksEmHMTClyCdPzThtIG35vaAaAsTkksmTE 7ValqSkiVViiq completed in 13 seconds
    # Memory usage: 17.76MB (peak: 221.17MB), time: 13.85s.
    X vendor/bin/contao-console contao:maintenance-mode enable
    X composer install
    X vendor/bin/contao-console contao:maintenance-mode disable
    Der 1. Teil lief durch, doch dann ab "vendor/bin/contao-console contao:maintenance-mode enable" geht nix mehr. Und das immer wieder von dort weg.

    Jetzt noch die Info, wo es sich aufhängt:
    $ /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/Vienna /home/.sites/16/site4682646/web/contao/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=dev
    // Warming up the cache for the dev environment with debug true
    08:12:46 CRITICAL [console] Error thrown while running command "cache:warmup --env=dev". Message: "DOMDocument::loadXML(): Argument #1 ($source) must not be empty" ["exception" => ValueError { …},"command" => "cache:warmup --env=dev","message" => "DOMDocument::loadXML(): Argument #1 ($source) must not be empty"]
    In XliffFileLoader.php line 98:

    DOMDocument::loadXML(): Argument #1 ($source) must not be empty

    cache:warmup [--no-optional-warmers]
    # Process terminated with exit code 255
    # Result: Unknown error
    Hat jemand eine Idee?
    Geändert von m-werk (15.04.2024 um 07:15 Uhr)
    LG, Andi

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

    Standard

    Führe cache:warmup --env=dev -v über SSH aus und poste die Konsolenausgabe.
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Alter Contao-Hase
    Registriert seit
    20.06.2009.
    Ort
    Graz (Austria)
    Beiträge
    1.455

    Standard

    Das ist meine Konsolenausgabe
    // Warming up the cache for the dev environment with debug true

    10:17:44 CRITICAL [console] Error thrown while running command "cache:warmup --env=dev -v". Message: "
    DOMDocument::loadXML(): Argument #1 ($source) must not be empty" ["exception" => ValueError { …},"comma
    nd" => "cache:warmup --env=dev -v","message" => "DOMDocument::loadXML(): Argument #1 ($source) must not
    be empty"]

    In XliffFileLoader.php line 98:

    [ValueError]
    DOMDocument::loadXML(): Argument #1 ($source) must not be empty


    Exception trace:
    at /home/.sites/16/site4682646/web/contao/vendor/contao/core-bundle/src/Config/Loader/XliffFileLoader
    .php:98
    DOMDocument->loadXML() at /home/.sites/16/site4682646/web/contao/vendor/contao/core-bundle/src/Config/
    Loader/XliffFileLoader.php:98
    Contao\CoreBundle\Config\Loader\XliffFileLoader->getDomDocumentFromFile() at /home/.sites/16/site46826
    46/web/contao/vendor/contao/core-bundle/src/Config/Loader/XliffFileLoader.php:43
    Contao\CoreBundle\Config\Loader\XliffFileLoader->convertXlfToPhp() at /home/.sites/16/site4682646/web/
    contao/vendor/contao/core-bundle/src/Config/Loader/XliffFileLoader.php:33
    Contao\CoreBundle\Config\Loader\XliffFileLoader->load() at /home/.sites/16/site4682646/web/contao/vend
    or/symfony/config/Loader/DelegatingLoader.php:37
    Symfony\Component\Config\Loader\DelegatingLoader->load() at /home/.sites/16/site4682646/web/contao/ven
    dor/contao/core-bundle/src/Config/Dumper/CombinedFileDumper.php:51
    Contao\CoreBundle\Config\Dumper\CombinedFileDumper->dump() at /home/.sites/16/site4682646/web/contao/v
    endor/contao/core-bundle/src/Cache/ContaoCacheWarmer.php:143
    Contao\CoreBundle\Cache\ContaoCacheWarmer->generateLanguageCache() at /home/.sites/16/site4682646/web/
    contao/vendor/contao/core-bundle/src/Cache/ContaoCacheWarmer.php:66
    Contao\CoreBundle\Cache\ContaoCacheWarmer->warmUp() at /home/.sites/16/site4682646/web/contao/vendor/s
    ymfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php:108
    Symfony\Component\HttpKernel\CacheWarmer\CacheWarm erAggregate->warmUp() at /home/.sites/16/site4682646
    /web/contao/vendor/symfony/framework-bundle/Command/CacheWarmupCommand.php:75
    Symfony\Bundle\FrameworkBundle\Command\CacheWarmup Command->execute() at /home/.sites/16/site4682646/we
    b/contao/vendor/symfony/console/Command/Command.php:326
    Symfony\Component\Console\Command\Command->run() at /home/.sites/16/site4682646/web/contao/vendor/symf
    ony/console/Application.php:1096
    Symfony\Component\Console\Application->doRunCommand() at /home/.sites/16/site4682646/web/contao/vendor
    /symfony/framework-bundle/Console/Application.php:126
    Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /home/.sites/16/site4682646/web/
    contao/vendor/symfony/console/Application.php:324
    Symfony\Component\Console\Application->doRun() at /home/.sites/16/site4682646/web/contao/vendor/symfon
    y/framework-bundle/Console/Application.php:80
    Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /home/.sites/16/site4682646/web/contao/
    vendor/symfony/console/Application.php:175
    Symfony\Component\Console\Application->run() at /home/.sites/16/site4682646/web/contao/vendor/contao/m
    anager-bundle/bin/contao-console:40
    include() at /home/.sites/16/site4682646/web/contao/vendor/bin/contao-console:119

    cache:warmup [--no-optional-warmers]
    LG, Andi

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

    Standard

    Du müsstest in vendor/contao/core-bundle/src/Config/Loader/XliffFileLoader.php, vor Zeile 98 nun debuggen, bei welchem $name das passiert und warum file_get_contents($name) dann leer ist.
    » sponsor me via GitHub or PayPal or Revolut

  5. #5
    Alter Contao-Hase
    Registriert seit
    20.06.2009.
    Ort
    Graz (Austria)
    Beiträge
    1.455

    Standard

    Ok, und wie stelle ich das an?
    LG, Andi

  6. #6
    Contao-Fan
    Registriert seit
    24.02.2021.
    Beiträge
    459

    Standard

    Gibt genug Informationen im Internet, wie man debuggen kann:
    https://stackify.com/php-debugging-guide/

    Eine deiner Translation-Files wird dafür verantwortlich sein, da die Struktur nicht stimmt o.ä.
    Es kann ein Plugin sein, es können eigene Translation files im contao/ Ordner sein - Das musst du selber herausfinden.

  7. #7
    Alter Contao-Hase
    Registriert seit
    20.06.2009.
    Ort
    Graz (Austria)
    Beiträge
    1.455

    Standard

    Ja, das weiß ich, nur wo sehe ich dann die info. Da finde ich nichts. Ich hab ein debugging vor der Zeile 98 gesetzt. Wo sehe ich nun die ausgabe? Im Backen/Frontend und im CM sehe ich keine Info!
    LG, Andi

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

    Standard

    Debuggen tust du dann dort, wo der Fehler auftritt (mit dem schon erwähnten Kommando bspw.).
    » sponsor me via GitHub or PayPal or Revolut

  9. #9
    Alter Contao-Hase
    Registriert seit
    20.06.2009.
    Ort
    Graz (Austria)
    Beiträge
    1.455

    Standard

    Ja, der Fehler tritt auf, wenn ich entweder den Prod-Cache erneuere, Pakete installiere/deinstalliere usw, und genau dort sehe ich aber nichts. Es funktioniert zwar alles nur nicht im CM die Updates usw.
    LG, Andi

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

    Standard

    Ansonsten müsstest du dir halt Unterstützung holen: https://contao.org/de/partner
    » 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
  •