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
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk Version 2.2.0b1 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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