Ergebnis 1 bis 15 von 15

Thema: Nach Update auf 4.8.7 Error

  1. #1
    Contao-Fan Avatar von elwega
    Registriert seit
    15.09.2009.
    Ort
    Black Forest
    Beiträge
    550

    Standard Nach Update auf 4.8.7 Error

    Hallo und guten Abend,
    wer kann bitte helfen?
    Code:
    [2019-12-18 14:34:16] request.CRITICAL: Uncaught PHP Exception InvalidArgumentException: "Doctrine ORM Manager named "doctrine.orm.default_entity_manager" does not exist." at /var/www/vhosts/httpdocs/vendor/doctrine/persistence/lib/Doctrine/Persistence/AbstractManagerRegistry.php line 230 {"exception":"[object] (InvalidArgumentException(code: 0): Doctrine ORM Manager named \"doctrine.orm.default_entity_manager\" does not exist. at /var/www/vhosts/httpdocs/vendor/doctrine/persistence/lib/Doctrine/Persistence/AbstractManagerRegistry.php:230)"} []
    Wie kann das
    Code:
    doctrine.orm.default_entity_manager
    verschwinden?
    Geändert von Spooky (18.12.2019 um 16:01 Uhr)
    Beste Grüße
    Wenn der Reiter nichts taugt, ist das Pferd schuld.

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

    Standard

    Benutze den Debug-Modus und poste den gesamten Stack Trace.

  3. #3
    Contao-Fan Avatar von elwega
    Registriert seit
    15.09.2009.
    Ort
    Black Forest
    Beiträge
    550

    Standard

    Ok danke sofort
    Code:
    hab das mal gelöscht, das irritiert nur wenn es einer liest. Der Fehler war wohl folgendes auf der gelinkten Seite erklärt.
    https://github.com/doctrine/DoctrineBundle/pull/1103
    Geändert von elwega (18.12.2019 um 18:57 Uhr)
    Beste Grüße
    Wenn der Reiter nichts taugt, ist das Pferd schuld.

  4. #4
    Contao-Nutzer
    Registriert seit
    01.06.2018.
    Beiträge
    104

    Standard Contao Update errors

    I updated some websites to last Contao, because of security reasons, and everything is working normally, but now I have a problem with a two websites. Everything's blocked and stopped.

    I can't install any update and also can't install new Contao installation. Looks like problems with Composer.

    Do you know what's happening?

    Thank you in advance
    Code:
    > Installing contao/managed-edition 4.8 > Resolving dependencies using Composer Cloud v2.1.1 # Job ID 8KgzEKdVuATz7NR9S3iF986u1xpmK1kuzTkvnKYQepTUAbURKU5xvonRQzeRuHbX4usSklELl2i2koBXM81iuLHtYfW2E9lCShq3 completed in 23 seconds # Memory usage: 394.07MB (peak: 1769.94MB), time: 21.79s. $ /opt/RZphp72/bin/php-cli -q -d max_execution_time=300 /mnt/web313/a1/86/52178486/htdocs/###########/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader Loading composer repositories with package information Installing dependencies from lock file Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them. Package operations: 46 installs, 0 updates, 0 removals - Installing friendsofsymfony/http-cache-bundle (2.8.0): Loading from cache - Installing doctrine/reflection (v1.0.0): Downloading (100%) - Installing doctrine/event-manager (1.1.0): Downloading (100%) - Installing doctrine/collections (1.6.4): Downloading (100%) - Installing doctrine/cache (1.10.0): Downloading (100%) - Installing doctrine/persistence (1.3.3): Downloading (100%) - Installing doctrine/instantiator (1.3.0): Downloading (100%) - Installing doctrine/dbal (v2.10.0): Downloading (100%) - Installing doctrine/inflector (1.3.1): Downloading (100%) - Installing doctrine/common (v2.11.0): Downloading (100%) - Installing doctrine/orm (v2.7.0): Downloading (100%) - Installing symfony/doctrine-bridge (v4.3.9): Downloading (100%) - Installing doctrine/doctrine-cache-bundle (1.4.0): Downloading (100%) - Installing jdorn/sql-formatter (v1.2.17): Downloading (100%) - Installing doctrine/doctrine-bundle (1.12.3): Downloading (100%) - Installing contao/imagine-svg (0.2.2): Downloading (100%) - Installing webmozart/assert (1.6.0): Downloading (100%) - Installing webmozart/path-util (2.3.0): Downloading (100%) - Installing contao/image (1.0.1): Downloading (100%) - Installing contao/core-bundle (4.8.7): Downloading (100%) - Installing contao/calendar-bundle (4.8.7): Downloading (100%) - Installing contao/comments-bundle (4.8.7): Downloading (100%) - Installing contao/conflicts (dev-master 1ef5c8d) - Installing contao/faq-bundle (4.8.7): Downloading (100%) - Installing contao/listing-bundle (4.8.7): Downloading (100%) - Installing toflar/psr6-symfony-http-cache-store (2.1.1): Downloading (100%) - Installing symfony/web-profiler-bundle (v4.3.9): Downloading (100%) - Installing zendframework/zend-eventmanager (3.2.1): Downloading (100%) - Installing zendframework/zend-code (3.4.1): Downloading (100%) - Installing ocramius/proxy-manager (2.2.3): Downloading (100%) - Installing symfony/proxy-manager-bridge (v4.3.9): Downloading (100%) - Installing monolog/monolog (1.25.2): Downloading (100%) - Installing symfony/monolog-bridge (v4.3.9): Downloading (100%) - Installing symfony/monolog-bundle (v3.5.0): Downloading (100%) - Installing symfony/dotenv (v4.3.9): Downloading (100%) - Installing symfony/debug-bundle (v4.3.9): Downloading (100%) - Installing composer/ca-bundle (1.2.5): Downloading (100%) - Installing ua-parser/uap-php (v3.9.2): Downloading (100%) - Installing paragonie/random_compat (v9.99.99): Downloading (100%) - Installing nelmio/security-bundle (2.7.0): Downloading (100%) - Installing lexik/maintenance-bundle (v2.1.5): Downloading (100%) - Installing sensiolabs/ansi-to-html (v1.1.3): Downloading (100%) - Installing contao/installation-bundle (4.8.7): Downloading (100%) - Installing contao/manager-bundle (4.8.7): Downloading (100%) - Installing contao/news-bundle (4.8.7): Downloading (100%) - Installing contao/newsletter-bundle (4.8.7): Downloading (100%) Generating optimized autoload files # Process terminated with exit code -1 # Result: Unknown error --- ### The background task has stopped unexpectedly ###

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

    Support Contao

    Standard

    Try to increase the PHP memory limit.
    Contao Community Administrator

    [Unterstützungsmöglichkeiten]

  6. #6
    Contao-Fan Avatar von elwega
    Registriert seit
    15.09.2009.
    Ort
    Black Forest
    Beiträge
    550

    Standard

    Reset alles und Backup von gestern hat geholfen.
    Danke
    Beste Grüße
    Wenn der Reiter nichts taugt, ist das Pferd schuld.

  7. #7
    Contao-Nutzer
    Registriert seit
    05.04.2013.
    Beiträge
    11

    Standard

    Hallo elwega,

    du hast jetzt aber wieder die 4.8.5 oder hast du danach nochmal auf 4.8.7 geupdated?

    den ich habe das selbe problem, ein downgrade auf die 4.8.5 mit Contao Manager hat nicht geholfen.

  8. #8
    Contao-Fan Avatar von elwega
    Registriert seit
    15.09.2009.
    Ort
    Black Forest
    Beiträge
    550

    Standard

    Hi Sophia,
    ich kann leider nicht genau nachvollziehen was passiert ist. Ich habe heute einige Updates laufen lassen und es war bei denen alles ok.
    Nach dem Backup habe ich alle Chache gelöscht, Browser, Prod.- Cache dann über den CM das Update nochmal laufen lassen und alles war grün
    Jetzt 4.8.7
    Beste Grüße
    Wenn der Reiter nichts taugt, ist das Pferd schuld.

  9. #9
    Contao-Fan Avatar von elwega
    Registriert seit
    15.09.2009.
    Ort
    Black Forest
    Beiträge
    550

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Benutze den Debug-Modus und poste den gesamten Stack Trace.
    Hallo, mittlerweile konnte ich auch das Debug Log lesen.
    Ca. 450 Zeilen, Hauptfehler 99%:
    Code:
    [2019-12-18 16:31:58] app.DEBUG: Router Symfony\Cmf\Component\Routing\DynamicRouter was unable to generate route. Reason: 'Route 'contao_frontend' not found': This router does not support routes by name [] []
    Da hat es irgendwo einen Übertragungsfehler o.ä. gegeben. Was anderes kann ich mir grad nicht erklären.
    Beste Grüße
    Wenn der Reiter nichts taugt, ist das Pferd schuld.

  10. #10
    Contao-Nutzer
    Registriert seit
    05.04.2013.
    Beiträge
    11

    Standard

    Ich habe gerade noch mal den prod und dev cache gelöscht, dann ein downgrade auf 4.8.5 und wieder ein update auf 4.8.7 durchgeführt.

    neben den Contao updates wurde aber auch doctrine/doctrine-bundle (1.12.3 => 1.12.4) geupdated.

    lag es jetzt an dem cache löschen vor dem down/update oder dem doctrine-bundle update...

    auf jeden fall funktioniert wieder alles.

  11. #11
    Contao-Fan Avatar von elwega
    Registriert seit
    15.09.2009.
    Ort
    Black Forest
    Beiträge
    550

    Standard

    ...doctrine-bundle update...
    ist mein Favorit
    Beste Grüße
    Wenn der Reiter nichts taugt, ist das Pferd schuld.

  12. #12
    Contao-Nutzer
    Registriert seit
    05.04.2013.
    Beiträge
    11

    Standard

    ja, lag an doctrine

    Fix error when resetting manager registry
    https://github.com/doctrine/DoctrineBundle/pull/1103

  13. #13
    Contao-Nutzer
    Registriert seit
    01.06.2018.
    Beiträge
    104

    Standard

    After Contao update from 4.7 to 4.8.7, I finished all update-things, backend working normally, but frontend not work.
    Also, when i try to Rebuild Index in Contao backend/Maintenance, I have error 500 for each page: [500] http://websitexy.de/pagexy.html

    errors from log file:
    Code:
    [2019-12-19 13:06:15] request.INFO: Matched route "tl_page.2.root". {"route":"tl_page.2.root","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","pageModel":"[object] (Contao\\PageModel: {})","_route":"tl_page.2.root"},"request_uri":"http://websitexy.de/","method":"GET"} []
    [2019-12-19 13:06:15] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2019-12-19 13:06:15] request.CRITICAL: Uncaught PHP Exception Imagine\Exception\RuntimeException: "Imagick not installed" at /html/websitexy/vendor/imagine/imagine/src/Imagick/Imagine.php line 39 {"exception":"[object] (Imagine\\Exception\\RuntimeException(code: 0): Imagick not installed at /html/websitexy/vendor/imagine/imagine/src/Imagick/Imagine.php:39)"} []
    I found simillar problem with "picture_default.html5" but file is updated.
    This website work on Mittwald hosting with PHP 7.3
    Any suggestions?

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

    Support Contao

    Standard

    Create the configuration file config/config.yml and add

    Code:
    contao:
        image:
            imagine_service: 'contao.image.imagine.gd'
    Then, purge the Symfony application cache (e.g. with the Contao Manager).
    Contao Community Administrator

    [Unterstützungsmöglichkeiten]

  15. #15
    Contao-Nutzer
    Registriert seit
    01.06.2018.
    Beiträge
    104

    Computer

    Zitat Zitat von xchs Beitrag anzeigen
    Create the configuration file config/config.yml and add

    Code:
    contao:
        image:
            imagine_service: 'contao.image.imagine.gd'
    Then, purge the Symfony application cache (e.g. with the Contao Manager).
    Works
    Thank you very much

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
  •