# \[Solved\] Elastic all shards failed after unclean shutdown

**URL:** <https://discuss.elastic.co/t/solved-elastic-all-shards-failed-after-unclean-shutdown/139659>\
**Category:** Elasticsearch\
**Created:** [July 12, 2018, 2:12am UTC](https://discuss.elastic.co/t/solved-elastic-all-shards-failed-after-unclean-shutdown/139659 "2018-07-12T02:12:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![safhw91](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@safhw91](https://discuss.elastic.co/u/safhw91)\
**Post date:** [July 12, 2018, 2:12am UTC](https://discuss.elastic.co/t/solved-elastic-all-shards-failed-after-unclean-shutdown/139659/1 "2018-07-12T02:12:15Z")

</div>

Due to an unexpected unclean shutdown, my Elastic stack was restarted as well and it did not have high availability. Now I am getting an "All shards failed" error. From what I've heard, Elastic would be able to recover after a while (e.g. maybe after a couple of hours). Does anyone have experience with this?

Edit: Elastic with ~150GB restored itself in 30 minutes.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 12, 2018, 3:41am UTC](https://discuss.elastic.co/t/solved-elastic-all-shards-failed-after-unclean-shutdown/139659/2 "2018-07-12T03:41:28Z")

</div>

How did this get solved?

---

<div class="post-metadata">

**Author:** ![safhw91](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@safhw91](https://discuss.elastic.co/u/safhw91)\
**Post date:** [July 12, 2018, 3:49am UTC](https://discuss.elastic.co/t/solved-elastic-all-shards-failed-after-unclean-shutdown/139659/3 "2018-07-12T03:49:53Z")

</div>

Elastic solved itself automatically after ~30 minutes of waiting. My guess is it was processing the indices during that time.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 12, 2018, 3:52am UTC](https://discuss.elastic.co/t/solved-elastic-all-shards-failed-after-unclean-shutdown/139659/4 "2018-07-12T03:52:27Z")

</div>

Ahh, yes. Recovery can take some time 🙂

---

<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:** [August 9, 2018, 3:52am UTC](https://discuss.elastic.co/t/solved-elastic-all-shards-failed-after-unclean-shutdown/139659/5 "2018-08-09T03:52:28Z")

</div>

Closed on August 9, 2018, 3:52am UTC

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