Deleted indices manually

disk space fill up on the server.

i am manually deleted folders with indices from /var/lib/elasticsearch/nodes/0/indices..

and restarted kibana and elasticsearch, after this kibana web page showing "Kibana server is not ready yet".

how to fix that?

[2019-12-12T17:48:37,021][DEBUG][o.e.a.s.m.TransportMasterNodeAction] [myhost] master could not publish cluster state or stepped down before publishing action [indices:admin/create], scheduling a retry
org.elasticsearch.cluster.NotMasterException: no longer master. source: [create-index [logstash-2019.12.12], cause [auto(bulk api)]]
[2019-12-12T17:48:37,021][DEBUG][o.e.a.s.m.TransportMasterNodeAction] [myhost] master could not publish cluster state or stepped down before publishing action [indices:admin/create], scheduling a retry
org.elasticsearch.cluster.NotMasterException: no longer master. source: [create-index [logstash-2019.12.12], cause [auto(bulk api)]]
[2019-12-12T17:48:37,021][DEBUG][o.e.a.s.m.TransportMasterNodeAction] [myhost] master could not publish cluster state or stepped down before publishing action [indices:admin/create], scheduling a retry
org.elasticsearch.cluster.NotMasterException: no longer master. source: [create-index [logstash-2019.12.12], cause [auto(bulk api)]]
[2019-12-12T17:48:37,021][DEBUG][o.e.a.s.m.TransportMasterNodeAction] [myhost] master could not publish cluster state or stepped down before publishing action [indices:admin/create], scheduling a retry
org.elasticsearch.cluster.NotMasterException: no longer master. source: [create-index [logstash-2019.12.12], cause [auto(bulk api)]]
[2019-12-12T17:48:37,021][DEBUG][o.e.a.s.m.TransportMasterNodeAction] [myhost] master could not publish cluster state or stepped down before publishing action [indices:admin/create], scheduling a retry
org.elasticsearch.cluster.NotMasterException: no longer master. source: [create-index [logstash-2019.12.12], cause [auto(bulk api)]]
curl -X GET http://myhost:9200/_cat/indices

{"error":{"root_cause":[{"type":"master_not_discovered_exception","reason":null}],"type":"master_not_discovered_exception","reason":null},"status":503}

This is a terrible idea and may well have irretrievably damaged this node. The best thing to do is to wipe /var/lib/elasticsearch and start again, restoring any missing data from a recent snapshot.

thank you :slight_smile:

i'm deleted /var/lib/elasticsearch and restarted elasticsearch..

kibana web page now is works.

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