# Kibana\_task\_manger\_2 cannot be deleted

**URL:** <https://discuss.elastic.co/t/kibana-task-manger-2-cannot-be-deleted/221659>\
**Category:** Kibana\
**Created:** [March 2, 2020, 10:25am UTC](https://discuss.elastic.co/t/kibana-task-manger-2-cannot-be-deleted/221659 "2020-03-02T10:25:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aldugama](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@Aldugama](https://discuss.elastic.co/u/Aldugama)\
**Post date:** [March 2, 2020, 10:25am UTC](https://discuss.elastic.co/t/kibana-task-manger-2-cannot-be-deleted/221659/1 "2020-03-02T10:25:09Z")

</div>

I need help, please. I tried the following comand:  
// curl -XDELETE '[http://localhost:9200/.kibana\_task\_manager\_2](http://localhost:9200/.kibana_task_manager_2)' --header "content-type: application/JSON" -u elastic -p

and I get the following response:

curl: (52) Empty reply from server

\< Feb 28 14:00:52 [srvwaz.com](http://srvwaz.com) kibana[1058]: {"type":"log","@timestamp":"2020-02-28T14:00:52Z","tags":["info","savedobjects-service"],"pid":1058,"message":"Starting saved objects migrations"}  
Feb 28 14:00:52 [srvwaz.com](http://srvwaz.com) kibana[1058]: {"type":"log","@timestamp":"2020-02-28T14:00:52Z","tags":["info","savedobjects-service"],"pid":1058,"message":"Creating index .kibana\_task\_manager\_2."}  
Feb 28 14:00:52 [srvwaz.com](http://srvwaz.com) kibana[1058]: {"type":"log","@timestamp":"2020-02-28T14:00:52Z","tags":["warning","savedobjects-service"],"pid":1058,"message":"Unable to connect to Elasticsearch. Error: [resource\_already\_exists\_exception] index [.kibana\_task\_manager\_2/g8bjExgTS1286AKdfmIp8Q] already exists, with { index\_uuid="g8bjExgTS1286AKdfmIp8Q" & index=".kibana\_task\_manager\_2" }"}  
Feb 28 14:00:52 [srvwaz.com](http://srvwaz.com) kibana[1058]: {"type":"log","@timestamp":"2020-02-28T14:00:52Z","tags":["warning","savedobjects-service"],"pid":1058,"message":"Another Kibana instance appears to be migrating the index. Waiting for that migration to complete. If no other Kibana instance is attempting migrations, you can get past this message by deleting index .kibana\_task\_manager\_2 and restarting Kibana."} /\>

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [March 13, 2020, 6:47am UTC](https://discuss.elastic.co/t/kibana-task-manger-2-cannot-be-deleted/221659/2 "2020-03-13T06:47:09Z")

</div>

**IF** the original `.kibana` index still exists, and there is a message telling you another instance is still running - try deleting the `.kibana_1` and `.kibana_2` if it exists. Then restart Kibana and provide the logs there, and additionally any logs from Elasticsearch. I presume something is failing along the way. I guess this is the problem.

More info on similar issue can be found here: [https://github.com/elastic/kibana/issues/25806](https://github.com/elastic/kibana/issues/25806)

Thanks  
Rashmi

---

<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:** [April 10, 2020, 6:56am UTC](https://discuss.elastic.co/t/kibana-task-manger-2-cannot-be-deleted/221659/3 "2020-04-10T06:56:19Z")

</div>

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