Werk #18211: Deinstallation of MKP causes GUI to crash

Component Other components
Title Deinstallation of MKP causes GUI to crash
Date Jun 11, 2025
Level Major 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.0p5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p35
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When an MKP, that contained a dashboard or view, was uninstalled certain empty folders were deleted, which where explicitly expected to exist. This caused all the pages in web UI of the site to crash with the message FileNotFoundError ((2, 'No such file or directory')).

This could happen either because of a manual deinstallation or during an update when outdated MKPs get deactivated.

This fix ensures that these directories exist.

To the list of all Werks