Werk #15725: Cleanup old Microcore config during update procedure

Component Core & setup
Title Cleanup old Microcore config during update procedure
Date Feb 27, 2024
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.3.0b1 2.4.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

This change prevents a problem which might occur in case the omd update did not finish successfully. In this situation, the Microcore might be started with a configuration file from the previous version. This could lead to unexpected behavior.

Instead of keeping the old configuration, the update procedure now deletes the file which makes the Microcore fail during startup with a more helpful error message.

To the list of all Werks