Werk #15725: Cleanup old Microcore config during update procedure

Komponente Core & setup
Titel Cleanup old Microcore config during update procedure
Datum 27.02.2024
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.3.0b1 2.4.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks