Exiting: Registry file path must be a file. /usr/share/filebeat/data/registry is a directory

Hi,
I am try to match the various compatible version listed here : https://www.elastic.co/support/matrix#matrix_compatibility, but when i use 6.8.0, i am getting this error in my filebeat daemonset, any idea how to fix this?

ERROR beater/filebeat.go:311 Could not init registrar: Registry file path must be a file. /usr/share/filebeat/data/registry is a directory.

...

ERROR instance/beat.go:906 Exiting: Registry file path must be a file. /usr/share/filebeat/data/registry is a directory.
Exiting: Registry file path must be a file. /usr/share/filebeat/data/registry is a directory.

As a result of these errors my containers are "Waiting: CrashLoopBackOff"

thanks for your support.
Maurya

Hi Maurya,

I just had the same problem after trying Filebeat version 7.1 before changing to 6.7 for compatibility reasons. Did you also tried another version before the one you are using ?

Alexis, devops@gologic.ca

https://www.elastic.co/guide/en/beats/libbeat/current/breaking-changes-7.0.html#_filebeat_registry

hi @Lemelin, yes i was on 6.3.0 ( which was working ) but due to some sidecar container (for some k8s requirement) deployment of filebeat realized there is some issue with the default distribution not used.

So we rolled out our solution to 7.1.0 version of ES, Kibana, Filebeat ( dropped logstash) yesterday and everything seems to be working fine so far.

I recommend using the compatible distribution on this to have better support : https://www.elastic.co/support/matrix#matrix_compatibility

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.