# Deleted indices manually

**URL:** <https://discuss.elastic.co/t/deleted-indices-manually/211641>\
**Category:** Elasticsearch\
**Created:** [December 12, 2019, 11:53am UTC](https://discuss.elastic.co/t/deleted-indices-manually/211641 "2019-12-12T11:53:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nurlan199206](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nurlan199206/32/66254_2.png) [@Nurlan199206](https://discuss.elastic.co/u/Nurlan199206)\
**Post date:** [December 12, 2019, 11:53am UTC](https://discuss.elastic.co/t/deleted-indices-manually/211641/1 "2019-12-12T11:53:25Z")

</div>

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)]]
```

---

<div class="post-metadata">

**Author:** ![Nurlan199206](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nurlan199206/32/66254_2.png) [@Nurlan199206](https://discuss.elastic.co/u/Nurlan199206)\
**Post date:** [December 12, 2019, 12:07pm UTC](https://discuss.elastic.co/t/deleted-indices-manually/211641/2 "2019-12-12T12:07:22Z")

</div>

```
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}
```

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [December 12, 2019, 12:34pm UTC](https://discuss.elastic.co/t/deleted-indices-manually/211641/3 "2019-12-12T12:34:55Z")

</div>

> [@Nurlan199206](#):
>
> i am manually deleted folders with indices from /var/lib/elasticsearch/nodes/0/indices..

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.

---

<div class="post-metadata">

**Author:** ![Nurlan199206](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nurlan199206/32/66254_2.png) [@Nurlan199206](https://discuss.elastic.co/u/Nurlan199206)\
**Post date:** [December 12, 2019, 12:49pm UTC](https://discuss.elastic.co/t/deleted-indices-manually/211641/4 "2019-12-12T12:49:03Z")

</div>

thank you 🙂

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

kibana web page now is works.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 9, 2020, 12:49pm UTC](https://discuss.elastic.co/t/deleted-indices-manually/211641/5 "2020-01-09T12:49:09Z")

</div>

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