# Search guard stuck at index template set up

**URL:** https://forum.search-guard.com/t/search-guard-stuck-at-index-template-set-up/1755
**Category:** Search Guard
**Created:** [February 21, 2020, 9:13am UTC](https://forum.search-guard.com/t/search-guard-stuck-at-index-template-set-up/1755 "2020-02-21T09:13:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Sreekanth](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@Sreekanth](https://forum.search-guard.com/u/Sreekanth)
#### Post date: [February 21, 2020, 9:13am UTC](https://forum.search-guard.com/t/search-guard-stuck-at-index-template-set-up/1755/1 "2020-02-21T09:13:44Z")

</div>

I restarted ELK cluster and since then I’m seeing a problem with Search guard plugin not turning to Ready state in Kibana, causing kibana inaccessible.

Following is the status shown when I try to login to Kibana.

plugin:searchguard@7.4.0-36.2.0  
Setting up index template.

Any help is highly appreciated.

Thanks  
Sreekanth  
[es.log](https://forum.search-guard.com/uploads/short-url/kQiLijKHJ2Un2vtE8cPjm1JQKTu.log) (28.3 KB)  
[kibana-4-dslsd.log](https://forum.search-guard.com/uploads/short-url/w2K738ZflYGPZuElYG5zJvIFRXI.log) (2.0 MB)

---

<div class="post-metadata">

### Author: ![srgbnd](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/srgbnd/32/506_2.png) [@srgbnd](https://forum.search-guard.com/u/srgbnd)
#### Post date: [February 24, 2020, 4:47pm UTC](https://forum.search-guard.com/t/search-guard-stuck-at-index-template-set-up/1755/2 "2020-02-24T16:47:51Z")

</div>

I see nothing suspicious in the log. If Kibana doesn’t load, try to clean Kibana cache:

```auto
cd kibana
rm -rf optimize/bundles/*

```

Then restart Kibana.

Did you change your configuration before restart? If cache cleaning doesn’t help and you changed the configuration, provide the following data:

1. Enable debug for Elasticsearch Search Guard [Search Guard logging | Security for Elasticsearch | Search Guard](https://docs.search-guard.com/latest/troubleshooting-setting-log-level#turn-on-debug-logging-temporarily). Provide the new debug level ES log.
2. kibana/config/kibana.yml
3. elasticsearch/config/elasticsearch.yml
4. elasticsearch/plugins/search-guard-7/sgconfig/sg\_config.yml

---

<div class="post-metadata">

### Author: ![Sreekanth](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@Sreekanth](https://forum.search-guard.com/u/Sreekanth)
#### Post date: [February 26, 2020, 12:22pm UTC](https://forum.search-guard.com/t/search-guard-stuck-at-index-template-set-up/1755/3 "2020-02-26T12:22:26Z")

</div>

Thanks Sergey, was able to resolve the issue by deleting the .kibana\_xxxx\_admin\_x tenants.

---

<div class="post-metadata">

### Author: ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/system/32/1870_2.png) [@system](https://forum.search-guard.com/u/system)
#### Post date: [March 18, 2020, 12:22pm UTC](https://forum.search-guard.com/t/search-guard-stuck-at-index-template-set-up/1755/4 "2020-03-18T12:22:50Z")

</div>

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