# Upgrade from 7.x to 8.4.1

**URL:** <https://discuss.elastic.co/t/upgrade-from-7-x-to-8-4-1/316027>\
**Category:** Elasticsearch\
**Created:** [October 7, 2022, 2:36am UTC](https://discuss.elastic.co/t/upgrade-from-7-x-to-8-4-1/316027 "2022-10-07T02:36:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravi\_S1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravi_s1/32/99235_2.png) [@Ravi\_S1](https://discuss.elastic.co/u/Ravi_S1)\
**Post date:** [October 7, 2022, 2:36am UTC](https://discuss.elastic.co/t/upgrade-from-7-x-to-8-4-1/316027/1 "2022-10-07T02:36:36Z")

</div>

After upgrade from 7.7.1 to 8.4.1, Kibana 8.4.1 is showing down.. "{"statusCode":503,"error":"Service Unavailable","message":"[No shard available for [get [.kibana\_8.4.1][space:default]: routing [null]]: no\_shard\_available\_action\_exception: [no\_shard\_available\_action\_exception] Reason: No shard available for [get [.kibana\_8.4.1][space:default]: routing [null]]]: No shard available for [get [.kibana\_8.4.1][space:default]: routing [null]]"}"

To bring this up, i used to use close this system indices and restore using snapshot. Now, i can't close this indices due to following error message...using the elastic credential..

{  
"error" : {  
"root\_cause" : [  
{  
"type" : "security\_exception",  
"reason" : "action [indices:admin/close] is unauthorized for user [elastic] with roles [superuser] on restricted indices [.kibana\_8.4.1\_001], this action is granted by the index privileges [manage\_follow\_index,manage,all]"  
}  
],  
"type" : "security\_exception",  
"reason" : "action [indices:admin/close] is unauthorized for user [elastic] with roles [superuser] on restricted indices [.kibana\_8.4.1\_001], this action is granted by the index privileges [manage\_follow\_index,manage,all]"  
},  
"status" : 403  
}

Please help me to fix this issue...

---

<div class="post-metadata">

**Author:** ![rt\_888](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rt_888/32/110632_2.png) [@rt\_888](https://discuss.elastic.co/u/rt_888)\
**Post date:** [October 7, 2022, 2:46am UTC](https://discuss.elastic.co/t/upgrade-from-7-x-to-8-4-1/316027/2 "2022-10-07T02:46:42Z")

</div>

The xpack security is not enabled anymore on version 8.x . You should update from 7.7.1 to 7.17.0 before major upgrade to version 8 and use the update assistance tool

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 7, 2022, 3:30am UTC](https://discuss.elastic.co/t/upgrade-from-7-x-to-8-4-1/316027/3 "2022-10-07T03:30:21Z")

</div>

Hi @Ravi_S1

1st I agree with the previous user you should have upgrade to 7.17.x first and used the upgrade assistant. You can not really downgrade unless you can restore and start over. If you can that might be the best path...

A lot has changed in 8.x including restricting access to system indices that start with `.` like `.kibana_xxx`

You actually have to create a role that allows access to restricted indices if you want to operate on them see [here](https://discuss.elastic.co/t/action-indices-admin-flush-s-is-unauthorized-for-user-admin-with-roles-superuser-on-restricted-indices-kibana-task-manager-7-17-5-001-this-action-is-granted-by-the-index-privileges-maintenance-manage-all/315291/2) I wrote a little post on that

All that said I am not sure of closing that index and restoring a past version is going to work... It seems you have no where to put that shard.

---

<div class="post-metadata">

**Author:** ![Ravi\_S1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravi_s1/32/99235_2.png) [@Ravi\_S1](https://discuss.elastic.co/u/Ravi_S1)\
**Post date:** [October 9, 2022, 2:36pm UTC](https://discuss.elastic.co/t/upgrade-from-7-x-to-8-4-1/316027/4 "2022-10-09T14:36:47Z")

</div>

Thank you for this support... My apologies to says that for wrongly mentioned about our previous version..our previous version was 7.17.1.. we upgraded 7.17.1 to 8.4.1 release...i hope that this works.. following are current permissions...

```auto
{
  "cluster" : [
    "all"
  ],
  "global" : [],
  "indices" : [
    {
      "names" : [
        "*"
      ],
      "privileges" : [
        "all"
      ],
      "allow_restricted_indices" : false
    },
    {
      "names" : [
        "*"
      ],
      "privileges" : [
        "monitor",
        "read",
        "read_cross_cluster",
        "view_index_metadata"
      ],
      "allow_restricted_indices" : true
    }
  ],
  "applications" : [
    {
      "application" : "*",
      "privileges" : [
        "*"
      ],
      "resources" : [
        "*"
      ]
    }
  ],
  "run_as" : [
    "*"
  ]
}

```

---

<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:** [November 6, 2022, 2:37pm UTC](https://discuss.elastic.co/t/upgrade-from-7-x-to-8-4-1/316027/5 "2022-11-06T14:37:02Z")

</div>

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