Kibana won't run after disabling security

Xpack licence expired, Kibana login message said to disable security.

I found some instructions saying to add

xpack.security.enabled: false

to kibana.yml.

On restarting kibana I get the following in the log every few seconds

{"type":"log","@timestamp":"2017-10-19T13:51:10Z","tags":["fatal"],"pid":60333,"level":"fatal","message":"EACCES: permission denied, open '/usr/share/kibana/optimize/bundles/graph.entry.js'","error":{"message":"EACCES: permission denied, open '/usr/share/kibana/optimize/bundles/graph.entry.js'","name":"Error","stack":"Error: EACCES: permission denied, open '/usr/share/kibana/optimize/bundles/graph.entry.js'\n at Error (native)","code":"EACCES"}}

What do I do now?

So I found some bug reports suggesting this is a known bug and that as a workaround one could try

chown -R kibana.kibana /usr/share/kibana/

So I tried that, and restarted Kibana. This behaves differently: Kibana creates an empty log file, writes nothing to it, and doesn't start listening on port 5601.

All there is in syslog is "Started Kibana.", which looks to me like it's lying.

What next?

Ah, I just had to wait several more minutes, now I've got Kibana running again.

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