Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

ERROR: Error on creating msi file: [Errno 2] No such file or directory while baking agents.

...



Panel
borderColor

...

#CCCCCC

...

bgColor

...

#e3fcef

LAST TESTED ON CHECKMK 2.3.0P1



Panel
borderColorblack
bgColor#f8f8f8
titleTable of Contents

Table of Contents

Problem

When running an agent bakery job, the following error occurs:

Code Block
languagebash
themeRDark
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.

  1. Switch to your site  user

    Code Block
    languagebash
    themeRDark
    root@linux~# su mysite

    .

  2. Run cmk-update-config -v

    Code Block
    languagebash
    themeRDark
    OMD[mysite]:~$ cmk-update-config -v


Filter by label
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "agent_bakery" , "agent" , "bakery" , "troubleshooting" ) and type = "page" and space = "KB"
labelsbakery agent agent_bakery

Page Properties
hiddentrue


Verwandte Vorgänge