Werk #17627: Extension packages: Only install suitable MKPs from the GUI

Component Checks & agents
Title Extension packages: Only install suitable MKPs from the GUI
Date Feb 28, 2025
Level Trivial Change
Class New Feature
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This change might be incompatible for users that rely on the possibility to install (enable and activate) outdated MKPs from the "Extension packages" page of the GUI. This will only be possible from the commandline from now on.

All MKPs specify a minimal Checkmk version they require, and they may specify a Checkmk version that they are not supposed to be used with anymore.

With this change the handling of the Checkmk version requirements of an MKP is made consistent and a little bit more strict. From the "Extension packages" page, you can only install (enable and activate) MKPs whos version requirements are fulfilled. Other MKPs are only enabled, but not installed (an appropriate error is shown).

The enable command of the commandline interface will behave the same. In addition, on the commandline users can specify --force-install, in which case the MKP will be enabled and activated regardless of any of its version requirements.

To the list of all Werks