Error on creating msi file when trying to bake agents

CMK version: Checkmk Enterprise Edition 2.3.0p6
OS version: Debian GNU/Linux 11 (bullseye)

Description of the problem: Every time I try to use the Agent Bakery and click on “Bake Agents” the error message appears. It shows an error related to a .msi file, even though only Linux packages are installed. I followed this video: Working with the Agent bakery in Checkmk

Error message: ERROR: Error on creating msi file: [Errno 2] No such file or directory: ‘/omd/sites/monitoring/share/check_mk/agents/windows/check_mk_agent.msi’, work_dir is /omd/sites/monitoring/tmp/msi-update.lh0ypkrw

The missing file is part of the distribution. Maybe the file was removed by a virus scanner (which would be a false positiv).
Beside this you can use the new rule “Agent Bakery packages” to select the packages that are build. There you can disable msi.

I have activated the rule and deactivated msi. Unfortunately, the error message remains the same.

You will need to find out why the /omd/sites/monitoring/share/check_mk/agents/windows/check_mk_agent.msi does not exist. Maybe upgrade to the latest patch to get it back. And make sure that no virus scanner does remove this file.

Upgrading to the latest patch solved it :slight_smile:

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.