# Unable to reindex .security6

**URL:** <https://discuss.elastic.co/t/unable-to-reindex-security6/227345>\
**Category:** Kibana\
**Created:** [April 9, 2020, 2:26pm UTC](https://discuss.elastic.co/t/unable-to-reindex-security6/227345 "2020-04-09T14:26:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Wilmott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_wilmott/32/47036_2.png) [@Chris\_Wilmott](https://discuss.elastic.co/u/Chris_Wilmott)\
**Post date:** [April 9, 2020, 2:26pm UTC](https://discuss.elastic.co/t/unable-to-reindex-security6/227345/1 "2020-04-09T14:26:50Z")

</div>

Hi,

I am trying to upgrade Kibana from 6.8.8 to 7.6.2 but when I am trying to reindex .security6 I get the following error:

```auto
You do not have sufficient privileges to reindex this index

```

I am logged in as an Admin when performing the upgrade and have been able to successfully reindex this in a test deployment cloned from production.

Prior to this I upgraded from 5.6 to 6.8.8 and because .security6 was created in version 5.6 it needs to be reindex.

Does anyone know how to resolve this?

Cheers.

---

<div class="post-metadata">

**Author:** ![Luca\_Belluccini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luca_belluccini/32/33239_2.png) [@Luca\_Belluccini](https://discuss.elastic.co/u/Luca_Belluccini)\
**Post date:** [April 10, 2020, 12:46am UTC](https://discuss.elastic.co/t/unable-to-reindex-security6/227345/2 "2020-04-10T00:46:33Z")

</div>

Hello @Chris_Wilmott

Are you still on 6.8.8 right?  
Are you using the Upgrade assistant on Kibana to help with the upgrade?

Could you please verify you have the `superuser` role in response when you run the [Authenticate API](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html) in Kibana Dev Tools?

```auto
GET _xpack/security/_authenticate

```

---

<div class="post-metadata">

**Author:** ![Chris\_Wilmott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_wilmott/32/47036_2.png) [@Chris\_Wilmott](https://discuss.elastic.co/u/Chris_Wilmott)\
**Post date:** [April 15, 2020, 4:59pm UTC](https://discuss.elastic.co/t/unable-to-reindex-security6/227345/3 "2020-04-15T16:59:21Z")

</div>

Hi Luca,

Adding superuser resolved the issue.

Thanks.

---

<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:** [May 13, 2020, 4:59pm UTC](https://discuss.elastic.co/t/unable-to-reindex-security6/227345/4 "2020-05-13T16:59:24Z")

</div>

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