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

Component Site management
Title omd update: Fix Aborting in Docker Container
Date Mar 12, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
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.

To the list of all Werks