# Index empty after server reboot

**URL:** <https://discuss.elastic.co/t/index-empty-after-server-reboot/165295>\
**Category:** Elasticsearch\
**Created:** [January 22, 2019, 8:36pm UTC](https://discuss.elastic.co/t/index-empty-after-server-reboot/165295 "2019-01-22T20:36:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![akjrabe](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@akjrabe](https://discuss.elastic.co/u/akjrabe)\
**Post date:** [January 22, 2019, 8:36pm UTC](https://discuss.elastic.co/t/index-empty-after-server-reboot/165295/1 "2019-01-22T20:36:44Z")

</div>

The server running ElasticSearch 6.5.4 was rebooted. After reboot and re-launcing ElasticSearch and Kibana I can see the index under management, however they show 0 documents as though the index wasn't run.

Under nodes\>indices I can see the 8.5GB of indices that were there before, however the 2million documents are now missing.

Any help is greatly appreciate, I am new to ElasticSearch.

Thank you!

---

<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:** [January 23, 2019, 9:36am UTC](https://discuss.elastic.co/t/index-empty-after-server-reboot/165295/2 "2019-01-23T09:36:00Z")

</div>

Can you share some more details, such as the log messages from Elasticsearch from the time of the reboot (and a bit before if possible) and the output of `GET _cat/shards` and `GET _cat/nodes`?

---

<div class="post-metadata">

**Author:** ![akjrabe](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@akjrabe](https://discuss.elastic.co/u/akjrabe)\
**Post date:** [January 23, 2019, 7:33pm UTC](https://discuss.elastic.co/t/index-empty-after-server-reboot/165295/3 "2019-01-23T19:33:09Z")

</div>

David,

Thank you for getting back to me. Your commands lead me to run **curl -XGET localhost:9200/\_cluster/allocation/explain?pretty**

Which showed a permissions issue. I have this running on a Windows server and had to launch elasticsearch as admin

---

<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:** [February 20, 2019, 7:44pm UTC](https://discuss.elastic.co/t/index-empty-after-server-reboot/165295/4 "2019-02-20T19:44:52Z")

</div>

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