# Upgrade from 2.1 to 5.x

**URL:** <https://discuss.elastic.co/t/upgrade-from-2-1-to-5-x/80337>\
**Category:** Elasticsearch\
**Created:** [March 28, 2017, 5:28pm UTC](https://discuss.elastic.co/t/upgrade-from-2-1-to-5-x/80337 "2017-03-28T17:28:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![satishkumar](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@satishkumar](https://discuss.elastic.co/u/satishkumar)\
**Post date:** [March 28, 2017, 5:28pm UTC](https://discuss.elastic.co/t/upgrade-from-2-1-to-5-x/80337/1 "2017-03-28T17:28:58Z")

</div>

Hi All,

I am planning to upgrade from 2.1 to 5.x.

1. I want to decide on 5.x version and I can see that 5.2.2 is the latest version available as of now. what are the factors that i need to consider on deciding a version in 5.x. can i directly go with 5.2.2 assuming it is best among 5.x versions?

2. The migration plugin Elasticsearch Migration Helper v2.0.4 works with only 2.3.x and 2.4.x.  
Does this mean, i have migrate from 2.1 to 2.3.x (or 2.4.x) and then migrate from 2.3.x (or 2.4.x) to 5.x  
or can i directly migrate from 2.1 to 5.x  
How can i check with the help of migration helper if there are any issues with 2.1 to 5.x upgrade

[https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html)

---

<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:** [March 28, 2017, 8:50pm UTC](https://discuss.elastic.co/t/upgrade-from-2-1-to-5-x/80337/2 "2017-03-28T20:50:35Z")

</div>

You need to upgrade to 2.4.4 before.

Otherwise you can use reindex from remote API to read the old cluster and reindex in the new one.

---

<div class="post-metadata">

**Author:** ![satishkumar](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@satishkumar](https://discuss.elastic.co/u/satishkumar)\
**Post date:** [March 29, 2017, 3:56pm UTC](https://discuss.elastic.co/t/upgrade-from-2-1-to-5-x/80337/3 "2017-03-29T15:56:13Z")

</div>

According to below link, it says remote reindex is required from 1.x to 5.x and doesnt specify reindexing for 2.x-5.x and only the migration plugin doesnt work with 2.1

[https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html)

can any else clarify if remote reindexing is really required for upgrade from 2.1 to 5.x ?

---

<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:** [March 29, 2017, 4:14pm UTC](https://discuss.elastic.co/t/upgrade-from-2-1-to-5-x/80337/4 "2017-03-29T16:14:40Z")

</div>

It's not required.

---

<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:** [April 26, 2017, 4:15pm UTC](https://discuss.elastic.co/t/upgrade-from-2-1-to-5-x/80337/5 "2017-04-26T16:15:23Z")

</div>

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