# Issue while Downgrading Elasticsearch from 1.7.3 to 1.5.2

**URL:** <https://discuss.elastic.co/t/issue-while-downgrading-elasticsearch-from-1-7-3-to-1-5-2/195920>\
**Category:** Elasticsearch\
**Created:** [August 20, 2019, 12:07pm UTC](https://discuss.elastic.co/t/issue-while-downgrading-elasticsearch-from-1-7-3-to-1-5-2/195920 "2019-08-20T12:07:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harsh\_Vadodaria](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harsh_vadodaria/32/52613_2.png) [@Harsh\_Vadodaria](https://discuss.elastic.co/u/Harsh_Vadodaria)\
**Post date:** [August 20, 2019, 12:07pm UTC](https://discuss.elastic.co/t/issue-while-downgrading-elasticsearch-from-1-7-3-to-1-5-2/195920/1 "2019-08-20T12:07:01Z")

</div>

Hello mates,

I am having Elasticsearch 1.7.3 installed in production server. Due to compatibility issue I am trying to downgrade the elasticsearch to 1.5.2 using debian on ubuntu, but it fails every time. I uninstalled Elasticsearch 1.7.3 completely and installed the needed one. It failed. For this I went through the following link.  
**[https://www.elastic.co/guide/en/elasticsearch/reference/1.5/setup-repositories.html](https://www.elastic.co/guide/en/elasticsearch/reference/1.5/setup-repositories.html)**

I tried with **elasticsearch-1.5.2.tar.gz** and it works fine, but the one has to run the elasticsearch manually which is not the back-end service. For this I went through the following link.  
**[https://www.elastic.co/guide/en/elasticsearch/reference/1.5/\_installation.html](https://www.elastic.co/guide/en/elasticsearch/reference/1.5/_installation.html)**

Please guide me with this or provide such documentation which works fine.  
Thank you.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 20, 2019, 12:27pm UTC](https://discuss.elastic.co/t/issue-while-downgrading-elasticsearch-from-1-7-3-to-1-5-2/195920/2 "2019-08-20T12:27:30Z")

</div>

You can't downgrade.  
You should upgrade to something more secure and resilient than this extremely old version. We are at 7.3 nowadays.

---

<div class="post-metadata">

**Author:** ![Harsh\_Vadodaria](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harsh_vadodaria/32/52613_2.png) [@Harsh\_Vadodaria](https://discuss.elastic.co/u/Harsh_Vadodaria)\
**Post date:** [August 20, 2019, 1:08pm UTC](https://discuss.elastic.co/t/issue-while-downgrading-elasticsearch-from-1-7-3-to-1-5-2/195920/3 "2019-08-20T13:08:27Z")

</div>

Actually the version I am using is not compatible with the other components. That is why I need to downgrade to the specific version of elasticsearch. Still if you have any ideas about this, please help. Thanks for your concern.

---

<div class="post-metadata">

**Author:** ![rflores](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rflores/32/4609_2.png) [@rflores](https://discuss.elastic.co/u/rflores)\
**Post date:** [August 20, 2019, 1:37pm UTC](https://discuss.elastic.co/t/issue-while-downgrading-elasticsearch-from-1-7-3-to-1-5-2/195920/4 "2019-08-20T13:37:50Z")

</div>

Hence, now your data has been loaded in a more recent version of Elasticsearch, you cannot use the snapshot/restore facility from a greater version to a lower version.

You'd need to reindex your data from your original external source, or a possible option for such an old version of Elastiscearch would be to export the data from ES 1.7.3 cluster (in JSON or CSV) then reimport manually in the 1.5.2 cluster, but you cannot reuse the same indices stored on your disk.

In general, it is recommended to test client application with a newer version of Elasticsearch before upgrading a production server.

---

<div class="post-metadata">

**Author:** ![Harsh\_Vadodaria](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harsh_vadodaria/32/52613_2.png) [@Harsh\_Vadodaria](https://discuss.elastic.co/u/Harsh_Vadodaria)\
**Post date:** [August 21, 2019, 4:52am UTC](https://discuss.elastic.co/t/issue-while-downgrading-elasticsearch-from-1-7-3-to-1-5-2/195920/5 "2019-08-21T04:52:42Z")

</div>

For now, I have no concern with the loaded data or anything. I am working on open-edx insights and the specific task requires this particular version of elasticsearch to get it done. To make it run successfully I am running elasticsearch 1.5.2 tar.gz manually. But using bash script I want to install debian version for back end process. Thanks.

---

<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:** [September 18, 2019, 4:52am UTC](https://discuss.elastic.co/t/issue-while-downgrading-elasticsearch-from-1-7-3-to-1-5-2/195920/6 "2019-09-18T04:52:49Z")

</div>

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