你可以的,加油

failed to retrieve password hash for reserved user

Elasticsearch | 作者 ian2021 | 发布于2021年06月21日 | 阅读数:4599

[node-1] failed to retrieve password hash for reserved user [elastic]
org.elasticsearch.action.UnavailableShardsException: at least one primary shard for the index [.security-7] is unavailable
每次启动都有这个报错,网上的方法都不好用
已邀请:

locatelli

赞同来自: ian2021

如果你有snapshot的话,用snapshot来恢复".security-7"。
 如果没有snapshot,你可以用file realm (https://www.elastic.co/guide/e ... .html)添加一个superuser,然后用这个superuser来删除 ".security-7"。之后你可以重启并重置elastic用户密码

要回复问题请先登录注册