# Downgrade ES 0.90 to 0.20 GONE HORRIBLY WRONG!

**URL:** <https://discuss.elastic.co/t/downgrade-es-0-90-to-0-20-gone-horribly-wrong/12995>\
**Category:** Elasticsearch\
**Created:** [July 30, 2013, 12:41am UTC](https://discuss.elastic.co/t/downgrade-es-0-90-to-0-20-gone-horribly-wrong/12995 "2013-07-30T00:41:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akshay\_Iyengar](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@Akshay\_Iyengar](https://discuss.elastic.co/u/Akshay_Iyengar)\
**Post date:** [July 30, 2013, 12:41am UTC](https://discuss.elastic.co/t/downgrade-es-0-90-to-0-20-gone-horribly-wrong/12995/1 "2013-07-30T00:41:57Z")

</div>

I was using logstash v.1.1.13 with the latest version of elasticsearch, ie,  
v.0.90.2. But, it wasn't working well and I then read on logstash's site[http://logstash.net/docs/1.1.13/outputs/elasticsearch](http://logstash.net/docs/1.1.13/outputs/elasticsearch) that  
I had to install elasticsearch v.0.20.6. So, I did an rm -rf on the  
existing elasticsearch and installed v.0.20.6. The problem is that somehow,  
it still has retained the old files in the data folder and is unable to  
function properly as it looks for files that do not exist (from the old  
installation). I am surprised as I had done an rm -rf and it still was  
looking for the old files instead of silently looking at the supposedly  
empty cluster due to the fresh installation. After breaking my head over a  
few things I tried, I finally did a curl -XDELETE, and after this,  
elasticsearch starts normally with no errors, but when I go to  
localhost:9200, this is what it says:

{  
"ok" : true,  
"status" : 200,  
"name" : "Blob",  
"version" : {  
"number" : "0.90.2",  
"snapshot\_build" : false,  
"lucene\_version" : "4.3.1"  
},  
"tagline" : "You Know, for Search"  
}

Any idea why? And also, how to avoid this error? Please see this question of mine on stackoverflow for the error [http://stackoverflow.com/questions/17934525/how-to-remove-elasticsearch](http://stackoverflow.com/questions/17934525/how-to-remove-elasticsearch) that was occurring before I did the curl -XDELETE.

Thank you!

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [July 30, 2013, 6:46am UTC](https://discuss.elastic.co/t/downgrade-es-0-90-to-0-20-gone-horribly-wrong/12995/2 "2013-07-30T06:46:57Z")

</div>

You can't downgrade from 0.90 to 0.20.

From the 0.90 release notes: "In order to be able to downgrade, stop  
indexing new data, issue a flush request, do the upgrade and only enable  
indexing of new data once you are certain that you no longer need to  
downgrade. Once new data has been indexed, downgrading is no longer  
possible. To be extra safe, back up your data before upgrading."

From what I can deduce from your symptoms, I assume you didn't shutdown the  
0.90 instance properly before you overwrote it.

Jörg

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Akshay\_Iyengar](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@Akshay\_Iyengar](https://discuss.elastic.co/u/Akshay_Iyengar)\
**Post date:** [July 30, 2013, 1:27pm UTC](https://discuss.elastic.co/t/downgrade-es-0-90-to-0-20-gone-horribly-wrong/12995/3 "2013-07-30T13:27:31Z")

</div>

Yup! That was exactly the case. I'd posted the same on stack overflow and  
someone told me the same thing and I've now taken care of it. Thank you so  
much!  
On Jul 29, 2013 11:47 PM, "[joergprante@gmail.com](mailto:joergprante@gmail.com)" [joergprante@gmail.com](mailto:joergprante@gmail.com)  
wrote:

> You can't downgrade from 0.90 to 0.20.
> 
> From the 0.90 release notes: "In order to be able to downgrade, stop  
> indexing new data, issue a flush request, do the upgrade and only enable  
> indexing of new data once you are certain that you no longer need to  
> downgrade. Once new data has been indexed, downgrading is no longer  
> possible. To be extra safe, back up your data before upgrading."
> 
> From what I can deduce from your symptoms, I assume you didn't shutdown  
> the 0.90 instance properly before you overwrote it.
> 
> Jörg
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/9b4Rympnp7w/unsubscribe](https://groups.google.com/d/topic/elasticsearch/9b4Rympnp7w/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:23am UTC](https://discuss.elastic.co/t/downgrade-es-0-90-to-0-20-gone-horribly-wrong/12995/4 "2017-07-06T02:23:49Z")

</div>


