Werk #18152: omd cp/rename: Do not crash due to AUTOMATION_HELPER_SOCKET

Component Site management
Title omd cp/rename: Do not crash due to AUTOMATION_HELPER_SOCKET
Date Sep 1, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p12
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

While running the command omd cp or omd mv, the following crash could occur:

-|     self.sock.connect(str(paths.omd_root.joinpath(AUTOMATION_HELPER_SOCKET)))
-| FileNotFoundError: [Errno 2] No such file or directory

This regression affects Checkmk version 2.4 and later.

For users who cannot update immediately, the issue can be mitigated by disabling the automation helper.

To the list of all Werks