Werk #16551: Crash in agent bakery GUI after cloning a site

Komponente Agent bakery
Titel Crash in agent bakery GUI after cloning a site
Datum 22.03.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.4.0b1 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b4 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p26 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

After cloning a site with omd cp or renaming it with omd mv, opening the agent bakery GUI did result in a crash, showing a message like

Internal error: '/omd/sites/SITE/share/check_mk/agents/check_mk_agent.linux' is not in the subpath of '/omd/sites/SITE_COPY/share/check_mk/agents' OR one path is relative and the other is absolute.

As a workaround, you can delete the file ~/var/check_mk/wato/bakery_file_status.mk on the site.

Zur Liste aller Werks