# Unassigned Shards elastic 7.6.0

**URL:** <https://discuss.elastic.co/t/unassigned-shards-elastic-7-6-0/297431>\
**Category:** Elasticsearch\
**Created:** [February 17, 2022, 1:14am UTC](https://discuss.elastic.co/t/unassigned-shards-elastic-7-6-0/297431 "2022-02-17T01:14:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuswanul](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuswanul/32/101662_2.png) [@yuswanul](https://discuss.elastic.co/u/yuswanul)\
**Post date:** [February 17, 2022, 1:14am UTC](https://discuss.elastic.co/t/unassigned-shards-elastic-7-6-0/297431/1 "2022-02-17T01:14:39Z")

</div>

So, Here is the condition.

some of my index are unassigned and the status is red. then i assign it manually using this command

```auto
POST _cluster/reroute
 {
   "commands": [
     {
       "allocate_empty_primary": {
         "index": "project.myindex-2022.02.13",
         "shard": 3,
         "node": "data1",
         "accept_data_loss": "true"
       }
     }
   ]
 }

```

as you see i assign that shard to data1 but the shard allocation process doesn't start. I repeated running the command several times but the shard allocation process is still hasn't started. any suggestion?

---

<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:** [February 17, 2022, 1:19am UTC](https://discuss.elastic.co/t/unassigned-shards-elastic-7-6-0/297431/2 "2022-02-17T01:19:33Z")

</div>

FYI Elasticsearch 7.6 is [EOL](https://www.elastic.co/support/eol) and you should upgrade ASAP.

> [@yuswanul](#):
>
> as you see i assign that shard to data1 but the shard allocation process doesn't start

It'd be useful if you could share the output from `_cat/recovery?v`.

---

<div class="post-metadata">

**Author:** ![yuswanul](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuswanul/32/101662_2.png) [@yuswanul](https://discuss.elastic.co/u/yuswanul)\
**Post date:** [February 17, 2022, 1:38am UTC](https://discuss.elastic.co/t/unassigned-shards-elastic-7-6-0/297431/4 "2022-02-17T01:38:21Z")

</div>

oh, sorry i use 7.7.1 version. and about my issue now is solved. i close and reopen the index and my cluster become green again. thanks for your respone

---

<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:** [February 17, 2022, 1:40am UTC](https://discuss.elastic.co/t/unassigned-shards-elastic-7-6-0/297431/5 "2022-02-17T01:40:18Z")

</div>

7.7 is also [EOL](https://www.elastic.co/support/eol) 🙂 8.0 is latest.

---

<div class="post-metadata">

**Author:** ![yuswanul](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuswanul/32/101662_2.png) [@yuswanul](https://discuss.elastic.co/u/yuswanul)\
**Post date:** [February 17, 2022, 1:45am UTC](https://discuss.elastic.co/t/unassigned-shards-elastic-7-6-0/297431/6 "2022-02-17T01:45:02Z")

</div>

Ok, tahnks I will consider that

---

<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:** [March 17, 2022, 1:45am UTC](https://discuss.elastic.co/t/unassigned-shards-elastic-7-6-0/297431/7 "2022-03-17T01:45:37Z")

</div>

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