Failed to retrieve password hash for reserved user [kibana]

What's the output of

bin/elasticsearch-keystore list

?

You would need to

  1. set the bootstrap.password to something with

    bin/elasticsearch-keystore -f add bootstrap.password
    
  2. Restart the node, as the keystore is read on startup and changes to its values are not refreshed on runtime.

  3. Run

     bin/elasticsearch-setup-passwords interactive
    
  4. You don't need the bootstrap.password anymore so you can remove it with

    bin/elasticsearch-keystore remove bootstrap.password
    
3 Likes