Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

An error of "sequence item 0: expected str instance, bytes found" while running the agent updater.

LAST TESTED ON CHECKMK 2.2.0P1

Problem

For some reason, the agent updater is failing when trying to execute:

root@dockerhost:~# cmk-update-agent -V
sequence item 0: expected str instance, bytes found
See syslog or Logfile at /var/lib/check_mk_agent/cmk-update-agent.log for details.


Solution

  1. Delete the state file

    root@linux~# rm  /etc/cmk-update-agent.state

    .

  2. Switch to the site user.

    root@linux~# su mysite

    .

  3. Register the agent again.

    OMD[mysite]:~$ cmk-update-agent register


  • No labels