# ElasticSearch doesn't start after upgrade from 2.3.1 to 5.6.4

**URL:** https://discuss.elastic.co/t/elasticsearch-doesnt-start-after-upgrade-from-2-3-1-to-5-6-4/107371
**Category:** Elasticsearch
**Created:** [November 13, 2017, 11:01am UTC](https://discuss.elastic.co/t/elasticsearch-doesnt-start-after-upgrade-from-2-3-1-to-5-6-4/107371 "2017-11-13T11:01:02Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![tomsk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tomsk/32/22061_2.png) [@tomsk](https://discuss.elastic.co/u/tomsk)
#### Post date: [November 13, 2017, 11:01am UTC](https://discuss.elastic.co/t/elasticsearch-doesnt-start-after-upgrade-from-2-3-1-to-5-6-4/107371/1 "2017-11-13T11:01:02Z")

</div>

Hello,

I was running on elasticsearch 2.3.1, but I had to upgrade to 5.6.4 (because of kibana), but Elasticsearch won't start anymore.

This is **log** from Elasticsearch:

> java.lang.IllegalStateException: The index [[cyclone3.mysite\_sk/Qf5ccdWNRYKFGs4lBffSAQ]] was created with version [1.2.1] but the minimum compatible version is [2.0.0-beta1]. It should be re-indexed in Elasticsearch 2.x before upgrading to 5.6.4.

And lot of the same errors.

Yes I understand that I need to reindex, but how? And does I lose all data?

---

<div class="post-metadata">

### Author: ![Leandro\_Sampaio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandro_sampaio/32/18409_2.png) [@Leandro\_Sampaio](https://discuss.elastic.co/u/Leandro_Sampaio)
#### Post date: [November 13, 2017, 12:31pm UTC](https://discuss.elastic.co/t/elasticsearch-doesnt-start-after-upgrade-from-2-3-1-to-5-6-4/107371/2 "2017-11-13T12:31:35Z")

</div>

Why did you made a upgrade... In my case I put 2 ES running in sametime and run a shellscript to export manually data between ES.

---

<div class="post-metadata">

### Author: ![tomsk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tomsk/32/22061_2.png) [@tomsk](https://discuss.elastic.co/u/tomsk)
#### Post date: [November 13, 2017, 12:40pm UTC](https://discuss.elastic.co/t/elasticsearch-doesnt-start-after-upgrade-from-2-3-1-to-5-6-4/107371/3 "2017-11-13T12:40:42Z")

</div>

Because I wanted to install Kibana/Sense

---

<div class="post-metadata">

### Author: ![Leandro\_Sampaio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandro_sampaio/32/18409_2.png) [@Leandro\_Sampaio](https://discuss.elastic.co/u/Leandro_Sampaio)
#### Post date: [November 13, 2017, 1:12pm UTC](https://discuss.elastic.co/t/elasticsearch-doesnt-start-after-upgrade-from-2-3-1-to-5-6-4/107371/4 "2017-11-13T13:12:59Z")

</div>

Could you do the rollback?

If yes, you can go up with the 2 environments in parallel ... then you migrate the content via REST call.

Upgrading is tricky unless you perform all the tests in a separate environment.

---

<div class="post-metadata">

### Author: ![tomsk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tomsk/32/22061_2.png) [@tomsk](https://discuss.elastic.co/u/tomsk)
#### Post date: [November 13, 2017, 1:59pm UTC](https://discuss.elastic.co/t/elasticsearch-doesnt-start-after-upgrade-from-2-3-1-to-5-6-4/107371/5 "2017-11-13T13:59:33Z")

</div>

How can I rollback?

And how to set up 2 enviroments in parallel? And how to migrate the content?

---

<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: [December 11, 2017, 1:59pm UTC](https://discuss.elastic.co/t/elasticsearch-doesnt-start-after-upgrade-from-2-3-1-to-5-6-4/107371/6 "2017-12-11T13:59:34Z")

</div>

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