Werk #17920: Stop daily deprecation tests from crashing

Component Setup
Title Stop daily deprecation tests from crashing
Date Apr 23, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Checkmk registers a cronjob to regularly test the configuration for deprecations and notifies the responsible users.

This job has the side-effect of clearing user messages which are not valid anymore (their configured expiration date has passed).

This message cleanup caused the cronjob to crash, reporting a crash report.

In this Werk we fix the underlying cause for the crash allowing the cronjob to continue.

To the list of all Werks