Closed AlienLifeForm1 closed 1 year ago
Hi there,
Danke für jede Hilfe.
Rerunning omd update
should downgrade your site to the previous version and you should be able to use it again, e.g.:
Updating site 'health' from version 2.2.0p3.cre to 2.2.0p2.cre...
Wieso fehlt das Python Modul markdown?
I have no idea, maybe it's better to skip 2.2.0p3 and wait for 2.2.0p4.
HTH & BR
I did some digging, results as follows:
werkv2.py
was newly introduced with 2.2.0p3 and it seems that it has introduced a regressionvim /omd/versions/2.2.0p3.cre/lib/python3/cmk/utils/werks/werkv2.py
-import markdown
-from markdown.extensions import Extension
-from markdown.treeprocessors import Treeprocessor
Further notes:
Ich habe folgenden Fehler beim Update:
2023-06-16 01:10:47 - Updating site 'rpi' from version 2.2.0p2.cre to 2.2.0p3.cre...
Creating temporary filesystem /omd/sites/rpi/tmp...OK Executing update-pre-hooks script "01_mkp-disable-outdated"...OK Executing update-pre-hooks script "02_cmk-update-config"... -| Traceback (most recent call last): -| File "/omd/sites/rpi/bin/cmk-update-config", line 8, in
-| from cmk.update_config.main import main
-| File "/omd/sites/rpi/lib/python3/cmk/update_config/main.py", line 41, in
-| from cmk.gui.wsgi.blueprints.global_vars import set_global_vars
-| File "/omd/sites/rpi/lib/python3/cmk/gui/wsgi/blueprints/global_vars.py", line 21, in
-| from cmk.gui.wsgi.applications.checkmk import get_mime_type_from_output_format, get_output_format
-| File "/omd/sites/rpi/lib/python3/cmk/gui/wsgi/applications/init.py", line 6, in
-| from cmk.gui.wsgi.applications.checkmk import CheckmkApp
-| File "/omd/sites/rpi/lib/python3/cmk/gui/wsgi/applications/checkmk.py", line 40, in
-| from cmk.gui.wsgi.applications.utils import (
-| File "/omd/sites/rpi/lib/python3/cmk/gui/wsgi/applications/utils.py", line 20, in
-| from cmk.gui import login, pages, userdb
-| File "/omd/sites/rpi/lib/python3/cmk/gui/login.py", line 32, in
-| from cmk.gui.main import get_page_heading
-| File "/omd/sites/rpi/lib/python3/cmk/gui/main.py", line 16, in
-| from cmk.gui.sidebar import SidebarRenderer
-| File "/omd/sites/rpi/lib/python3/cmk/gui/sidebar/init.py", line 63, in
-| from cmk.gui.werks import may_acknowledge
-| File "/omd/sites/rpi/lib/python3/cmk/gui/werks.py", line 19, in
-| from cmk.utils import werks as utils_werks
-| File "/omd/sites/rpi/lib/python3/cmk/utils/werks/init.py", line 32, in
-| from .werkv2 import load_werk_v2, RawWerkV2
-| File "/omd/sites/rpi/lib/python3/cmk/utils/werks/werkv2.py", line 10, in
-| import markdown
-| ModuleNotFoundError: No module named 'markdown'
ERROR (exit code: 1)
Wieso fehlt das Python Modul markdown?
Rufe ich Check_MK auf, bekomme ich erwartungsgemäß einen Fehler:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at nobody@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Ich habe mir so einiges an Logs angesehen, aber noch nicht das richtige gefunden woraus hervorgeht, was jetzt weiterhin sein Problem ist.
Ein erneutes Updaten der Site funktioniert nicht bzw. läuft unendlich. Wie bekomme ich die Site wieder ans laufen? Sollte ich meinen Pi auf die letzte Vollsicherung mit Check_MK 2.1.0p29 zurücksetzen? Oder evtl. ein omd --force init?
Danke für jede Hilfe.