ERROR: Failed to reset password for the [elastic] user

Hi,
I installed elasticsearch 8.7 on my windows server but on installing screen I did not get any prompt for my elasticsearch or kibana password, also when I tried to change the password I faced following error:

ERROR: Failed to reset password for the [elastic] user

My elasticsearch.yml file contains following lines

http.port: 8606
network.host: 0.0.0.0
path.data: E:\Data
path.logs: E:\Logs
xpack.security.enabled: true
discovery.type: single-node

Try with:
bin/elasticsearch-setup-passwords auto --url="http://localhost:8606/"
Also you can use interactive instead of auto.

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