# Error upgrade 8.2

**URL:** https://discuss.elastic.co/t/error-upgrade-8-2/304594
**Category:** Kibana
**Created:** [May 12, 2022, 2:56pm UTC](https://discuss.elastic.co/t/error-upgrade-8-2/304594 "2022-05-12T14:56:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jojodd](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jojodd](https://discuss.elastic.co/u/jojodd)
#### Post date: [May 12, 2022, 2:56pm UTC](https://discuss.elastic.co/t/error-upgrade-8-2/304594/1 "2022-05-12T14:56:30Z")

</div>

How can I fix this error that occurs after installing the new version of kibana ?

[FATAL][root] Error: Unable to complete saved object migrations for the [.kibana] index: The Elasticsearch cluster has cluster routing allocation incorrectly set for migrations to continue. To proceed, please remove the cluster routing allocation settings with PUT /\_cluster/settings {"transient": {"cluster.routing.allocation.enable": null}, "persistent": {"cluster.routing.allocation.enable": null}, "persistent": {"cluster.routing.allocation.enable": null}}

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [May 12, 2022, 8:16pm UTC](https://discuss.elastic.co/t/error-upgrade-8-2/304594/2 "2022-05-12T20:16:40Z")

</div>

Hello,

These are our upgrade docs - [Upgrade to Elastic 8.2.0 | Elastic Installation and Upgrade Guide [8.2] | Elastic](https://www.elastic.co/guide/en/elastic-stack/current/upgrading-elastic-stack.html)

So you need get previous version stack up from where you were upgrading - This should show up as a critical issue on your upgrade assistant in the UI, run the command -

```auto
PUT /_cluster/settings {"transient": {"cluster.routing.allocation.enable": null}, "persistent": {"cluster.routing.allocation.enable": null}, "persistent": {"cluster.routing.allocation.enable": null}}

```

and then upgrade.

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![jojodd](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jojodd](https://discuss.elastic.co/u/jojodd)
#### Post date: [May 13, 2022, 8:04am UTC](https://discuss.elastic.co/t/error-upgrade-8-2/304594/4 "2022-05-13T08:04:32Z")

</div>

Hello

I succeeded by starting from 0 and taking into account the errors that I could find.

thank you for your answer

---

<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: [June 10, 2022, 8:05am UTC](https://discuss.elastic.co/t/error-upgrade-8-2/304594/5 "2022-06-10T08:05:16Z")

</div>

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