Unable to delete site and omd service fails due to incompatible dist-upgrade

CMK version: 2.1.0p11 CRE
OS version: Ubuntu 24.04.

Error message: Failed to start omd.service - Checkmk Monitoring. (code=exited, status=2)

Hello,

I did a dist-upgrade from Ubuntu 20.04. to 24.04. (did not skip 22.04. in this process).

I had 2 sites running on the server. I was able to start one of them after the dist-upgrade according to the docs without any issues.

The problem is, that the other site was running on a cmk raw version, which is not available for Ubuntu 24.04. (2.1.0p11.cre) - I did not check that in advance..

The good thing is that I dont need the site and just want to delete it, but I am not able to delete the site with omd, because the .deb is not installed.

The other issue is that in the monitoring overview the check “Systemd Service Summary” goes to CRIT because the omd service fails to start “(code=exited, status=2)” because of the same issue “Version ist not installed”.

Is there a way to either delete or at least disable the site without the need of the deb installed or get the omd service running?

Thanks in advance!

Easiest way, if delete is fine, is to remove the site folder /omd/sites/<sitename>.
Then the site is gone. Beside this i would also delete the “/omd/apache/<sitename>.conf” and remove the system user with the name of your deleted site.

Remove only the site’s folder inside this directory.

In addition also remove the site’s user account.

Grrrrr the < and > was hidden as i forgot to escape it

2 Likes