Redis-Cache bei Update

  • Hallo zusammen,

    wir haben ein webEdition Projekt in dem der Redis-Cache aktiv ist.

    Beim Updaten von 10.0.2 auf 10.0.3 haben wir ein eigenartiges Fehlerbild gehabt, bei dem die Seiten manchmal geladen wurden, manchmal gar nicht und manchmal einen Fehler ausgegeben haben.

    Letztendlich war das auf den Redis-Cache zurückzuführen. Nachdem wir diesen in den webEdition Einstellungen deaktiviert haben, hat die Seite wieder vernünftig funktioniert.

    Hat jemand mit dem Einsatz des Redis-Cache in webEdition Erfahrungen und eine Idee wie man mit dem Redis-Cache bei einem Update, bzw. nach einem Update verfahren muss?
    Aus dem webEdition Backend heraus kann man den Cache auch nicht bereinigen. Wenn wir den Redis-Cache jetzt wieder aktivieren, haben wir wieder die oben beschriebenen Probleme.


    Muss der Redis dann immer manuell über die Shell geflusht werden?


    Viele Grüße

    Oliver

  • Hi,

    ich habe den Cache gerade nochmal aktiviert und mir die Fehler aus der Datenbanktabelle gezogen. Es scheint, als würde er einzelne includes nicht mehr finden. Vorallem Dateien, die über <we:css> oder <we:js> eingebunden werden.

    Das Fehlerprotokoll lässt sich aus dem Backend heraus dann auch nicht mehr benutzen, weil bei Klick auf jeglichen Button (z.B. Weiter, Zurück) das Fehlerprotokoll als leer ohne Fehler anzeigt wird.

    Fehler, die bei einem Seitenaufruf aufgetreten sind:

    WarningerrorHandlerwebEdition/we/include/we_global.inc.php121Undefined array key "ID"

    #0 we_base_errorHandler::errorHandler called at [webEdition/we/include/we_global.inc.php:121]

    #1 id2pathA called at [webEdition/we/include/we_global.inc.php:94]

    #2 id2path called at [webEdition/we/classes/contents/we_contents_root.class.php:757]

    #3 we_contents_root->getParentPath called at [webEdition/we/classes/contents/we_contents_root.class.php:1157]

    #4 we_contents_root->getPersistentSlotsFromDB called at [webEdition/we/classes/contents/we_contents_base.class.php:251]

    #5 we_contents_base->we_load called at [webEdition/we/classes/contents/we_contents_root.class.php:864]

    #6 we_contents_root->we_load called at [webEdition/we/classes/document/we_document_base.class.php:1152]

    #7 we_document_base->we_load called at [webEdition/we/classes/document/we_document_files.class.php:98]

    #8 we_document_files->we_load called at [webEdition/we/classes/document/we_document_textContent.class.php:139]

    #9 we_document_textContent->we_load called at [webEdition/we/classes/contents/we_contents_base.class.php:232]

    #10 we_contents_base->initByID called at [webEdition/we/classes/document/we_document_webEdition.class.php:81]

    #11 we_document_webEdition->initByID called at [webEdition/we/classes/contents/we_contents_base.class.php:620]

    #12 we_contents_base::initDoc called at [webEdition/we/classes/base/we_base_showDocument.class.php:82]

    #13 we_base_showDocument::getWEDoc called at [webEdition/we/include/we_showDocument.inc.php:98]

    #14 require(/home/user/http://www.my-site.com/webEdition/we/…ocument.inc.php) called at [blog/index.php:4]

    WarningerrorHandlerwebEdition/we/include/we_global.inc.php121Undefined array key "Path"

    #0 we_base_errorHandler::errorHandler called at [webEdition/we/include/we_global.inc.php:121]

    #1 id2pathA called at [webEdition/we/include/we_global.inc.php:94]

    #2 id2path called at [webEdition/we/classes/contents/we_contents_root.class.php:757]

    #3 we_contents_root->getParentPath called at [webEdition/we/classes/contents/we_contents_root.class.php:1157]

    #4 we_contents_root->getPersistentSlotsFromDB called at [webEdition/we/classes/contents/we_contents_base.class.php:251]

    #5 we_contents_base->we_load called at [webEdition/we/classes/contents/we_contents_root.class.php:864]

    #6 we_contents_root->we_load called at [webEdition/we/classes/document/we_document_base.class.php:1152]

    #7 we_document_base->we_load called at [webEdition/we/classes/document/we_document_files.class.php:98]

    #8 we_document_files->we_load called at [webEdition/we/classes/document/we_document_textContent.class.php:139]

    #9 we_document_textContent->we_load called at [webEdition/we/classes/contents/we_contents_base.class.php:232]

    #10 we_contents_base->initByID called at [webEdition/we/classes/document/we_document_webEdition.class.php:81]

    #11 we_document_webEdition->initByID called at [webEdition/we/classes/contents/we_contents_base.class.php:620]

    #12 we_contents_base::initDoc called at [webEdition/we/classes/base/we_base_showDocument.class.php:82]

    #13 we_base_showDocument::getWEDoc called at [webEdition/we/include/we_showDocument.inc.php:98]

    #14 require(/home/user/http://www.my-site.com/webEdition/we/…ocument.inc.php) called at [blog/index.php:4]

    WarningerrorHandlerwebEdition/we/classes/tag/we_tag_css.class.php54Undefined array key "Path"

    #0 we_base_errorHandler::errorHandler called at [webEdition/we/classes/tag/we_tag_css.class.php:54]

    #1 we_tag_css::tag called at [webEdition/we/classes/weTag/we_weTag_util.class.php:103]

    #2 we_weTag_util::tag called at [webEdition/generated/templates/pages/page-blog-listing.php:29]

    #3 include(/home/user/http://www.my-site.com/webEdition/gen…log-listing.php) called at [webEdition/we/include/we_showDocument.inc.php:105]

    #4 require(/home/user/http://www.my-site.com/webEdition/we/…ocument.inc.php) called at [blog/index.php:4]

    Exception-SECURITY_REPL_DOC_ROOT/webEdition/we/include/we_global.inc.php232escape_sql_query(): Argument #1 ($inp) must be of type string|int|float|bool, null given

    #0 /home/user/http://www.my-site.com/webEdition/we/…_global.inc.php(232):

    #0 [internal function]: escape_sql_query()

    #1 /home/user/http://www.my-site.com/webEdition/we/…ument.class.php(200): array_map()

    #2 /home/user/http://www.my-site.com/webEdition/we/…tview.class.php(149): we_listview_document->__construct()

    #3 /home/user/http://www.my-site.com/webEdition/we/…_util.class.php(103): we_tag_listview::tag()

    #4 /home/user/http://www.my-site.com/webEdition/gen…log-listing.php(154): we_weTag_util::tag()

    #5 /home/user/http://www.my-site.com/webEdition/we/…ocument.inc.php(105): include('...')

    #6 /home/user/http://www.my-site.com/blog/index.php(4): require('...')

    #7 {main}


    Ich trage das jetzt aber auch in der Bugbase ein :)

    Edited once, last by Revilo (September 5, 2025 at 10:48 AM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!