Skip to content

Kibana exits due to changed password in config #667

@kennyparsons

Description

@kennyparsons

Problem description

I followed the initial setup instructions to change passwords for elastic and kibana_system (as well as all other default users). But before that, the command to just bring up elasticsearch didn't work:

docker-compose up elasticsearch -d
Creating network "docker-elk_elk" with driver "bridge"
ERROR: No such service: -d

So i pivoted and just did docker-compose up elasticsearch, which ran it in the foreground. No biggy. I ran the password commands in a separate window. I changed the passwords, edited the two config files mentioned, saved it, and moved on. So far so good.

Now i switch back to elasticsearch running in the foreground, kill it (ctrl-c), and then bring up the whole stack with docker-compose up -d.

I check the containers and kibana quits immediately. I checked the logs. The password generated started with an illegal character (*). So I put single quotes around it and it worked. Might be nice to have that defaulted to be in quotes, if passwords are randomly generated.

Extra information

The only remaining issue: docker-compose up elasticsearch -d didn't work. Any ideas why it does for you and not for me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions