Versions Compared

Key

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

...

Status
colourGreen
titleLAST TESTED ON CHECKMK 2.23.0P1


Panel
borderColorblack
bgColor#f8f8f8
titleTable of Contents

Table of Contents

...

This happens when a filename contains a non-ASCII character somewhere within a site's ~/local directory. This prevents the central site from being able to replace the contents of ~/local on the remote sites. 

Screenshot of got invalid data error while trying to activate changes.


Tip
titleNon ASCII Character List

Non ASCII Characters

...

  1. As the site user, within the command line on your central site, go to your site users ~/local folder. 

    Code Block
    languagebash
    themeRDark
    OMD[mysite]:~$ cd ~/local

    .

  2. Run the following two commands:

    Code Block
    languagebash
    themeRDark
    OMD[mysite]:~/local$ find . -type f | xargs ls -ltr |grep --color='auto' -P -n "[^\x00-\x7F]"
    OMD[mysite]:~/local$ find . -type f | grep --color='auto' -P -n "[^\x00-\x7F]"

    .

    In this example, the above commands located a file named bad_filξ_namξ.txt which the non-ASCII character is the ξ.

    Code Block
    languagebash
    themeRDark
    OMD[mysite]:~/local/share/doc/check_mk$ bad_filξ_namξ.txt

    .

  3. This file must be deleted, and then changes must be activated again. After all sites have been activated, this issue should be resolved. 
    Screenshot of a successful activating changes.Image Removed
    Image Added

...