Werk #16410: omd update: Fix Aborting in Docker Container

Komponente Site management
Titel omd update: Fix Aborting in Docker Container
Datum 12.03.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This bug affects users of the 2.3.0 beta.

In Werk #16408 a mechanism was introduced to restore a site after an aborted update. If this mechanism triggered inside a docker container, then the site may be in an inconsistent state. Any further update will show the following error.

FileNotFoundError: [Errno 2] No such file or directory: '/omd/versions/2.3.0b1.cee/share/omd/skel.permissions'

You can check whether you are affected by this issue by comparing the output of omd update and cat "${OMD_ROOT}"/.version_meta/version. If the versions do not match, then you are affected by this issue.

This Werk fixes the update procedure. In case you are affected, you can delete .version_meta and upgrade to the version which is shown by omd update.

Zur Liste aller Werks