Could not configure kibana verification code in Kibana version 8.3.3

I started the Kibana where it required enrollment token. Once i filled in the enrollment token from running the elastic bin with this path " /usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token ", then it also required the 6 digits of kibana verification code.

But it shows " couldn't write to configure file and Check the file permissions and ensure kibana.yml is writable by the Kibana process. " How can i grant the permission to kibana.yml?

Thank you

Hi,

How are you installing in docker? What kinda user are you?

cc @Marius_Dragomir

Thanks,
Bhavya

Hi @bhavyarm . I installed elastic and kibana from official image using docker-compose. And the user in the yml file is elastic by default (the superuser role)

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

Hello, you need to change the ownership of the files to the kibana:kibana user.