Werk #10182: Cleanup version specific cache files during version updates

Component Core & setup
Title Cleanup version specific cache files during version updates
Date Sep 26, 2019
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0p2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

In some cases it happened that some Checkmk version specific cache files, e.g. in tmp/check_mk/check_includes or var/check_mk/precompiled_checks were not updated after the update, making Checkmk use files of the previous version after the update. The cmk-update-config command, which is automatically executed by omd update during the version update, is now cleaning up these caches automatically to ensure a clean start with the new version.

To the list of all Werks