Werk #15253: Abort CMC startup if state file could not be read or parsed

Component The Checkmk Micro Core
Title Abort CMC startup if state file could not be read or parsed
Date Feb 28, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This avoids simply continuing and creating a new state file, which loses all comments, ad hoc downtimes, acknowledgements, etc.

Note that it is still OK when there is no state file at all, which is e.g. the case when the CMC starts for the first time.

To the list of all Werks