# Unable to login using elastic

**URL:** https://discuss.elastic.co/t/unable-to-login-using-elastic/349304
**Category:** Elasticsearch
**Created:** [December 14, 2023, 12:01am UTC](https://discuss.elastic.co/t/unable-to-login-using-elastic/349304 "2023-12-14T00:01:24Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Harper\_S1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harper_s1/32/103430_2.png) [@Harper\_S1](https://discuss.elastic.co/u/Harper_S1)
#### Post date: [December 14, 2023, 12:01am UTC](https://discuss.elastic.co/t/unable-to-login-using-elastic/349304/1 "2023-12-14T00:01:24Z")

</div>

Hi,

I have upgraded elastic 6.8 to 7.17.  
and i have taken the .security-6 file backup as .security-6-reindexed.

but. while performing upgrade to 8.x.x version. nodes are showing the following error

```auto
java.lang.IllegalStateException: Alias [.security] points to more than one index: [[.security-6/cOoc42eJRo2xwdocrrgEeQ], [.security-6-reindexed/kC-abcdefghi]]

```

and elastic user is not able to authenticate. any suggestion, how can i fix this.

Much appreciated!

---

<div class="post-metadata">

### Author: ![esijati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/esijati/32/122104_2.png) [@esijati](https://discuss.elastic.co/u/esijati)
#### Post date: [December 14, 2023, 2:25am UTC](https://discuss.elastic.co/t/unable-to-login-using-elastic/349304/2 "2023-12-14T02:25:09Z")

</div>

Just remove alias from old version pf security index so that .security alias onlh points to new index

---

<div class="post-metadata">

### Author: ![harper\_S](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harper_s/32/86061_2.png) [@harper\_S](https://discuss.elastic.co/u/harper_S)
#### Post date: [December 14, 2023, 4:09am UTC](https://discuss.elastic.co/t/unable-to-login-using-elastic/349304/3 "2023-12-14T04:09:05Z")

</div>

It can't be. Since security index holds the login info I guess, so elastic user is not getting authorized.

---

<div class="post-metadata">

### Author: ![harper\_S](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harper_s/32/86061_2.png) [@harper\_S](https://discuss.elastic.co/u/harper_S)
#### Post date: [December 14, 2023, 5:17am UTC](https://discuss.elastic.co/t/unable-to-login-using-elastic/349304/4 "2023-12-14T05:17:40Z")

</div>

Btw, Thanks for your response .

I have reinstalled the cluster.

---

<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: [January 11, 2024, 5:18am UTC](https://discuss.elastic.co/t/unable-to-login-using-elastic/349304/5 "2024-01-11T05:18:19Z")

</div>

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