Troubleshooting Exception: Error running automation call bake-agents (exit code 1) while baking agents
Troubleshooting Exception: Error running automation call bake-agents (exit code 1) while baking agents
Table of Contents
Problem
When running an agent bakery job, the following error occurs:
Exception: Error running automation call bake-agents (exit code 1), error: ERROR: Error on creating msi file: [Errno 2] No such file or directory: '/omd/sites/mysite/var/check_mk/agents/.files_cache/xxxxxxxxxxxxxx/windows/checkmk.dat', work_dir is /omd/sites/mysite/tmp/msi-update.xxxxxxxxx
Solution
This problem is most likely caused by an upgrade from Checkmk version 1.6 to version 2.x by old MKPs, which are incompatible with version 2.x.
Switch to your site user
root@linux~# su mysite
.
Run cmk-update-config -v
OMD[mysite]:~$ cmk-update-config -v
Related articles
, multiple selections available, Use left or right arrow keys to navigate selected items