# Upgrade from 5.2.1 to 5.4.1

**URL:** <https://discuss.elastic.co/t/upgrade-from-5-2-1-to-5-4-1/89234>\
**Category:** Elasticsearch\
**Created:** [June 13, 2017, 4:03pm UTC](https://discuss.elastic.co/t/upgrade-from-5-2-1-to-5-4-1/89234 "2017-06-13T16:03:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nbari](https://avatars.discourse-cdn.com/v4/letter/n/e36b37/32.png) [@nbari](https://discuss.elastic.co/u/nbari)\
**Post date:** [June 13, 2017, 4:03pm UTC](https://discuss.elastic.co/t/upgrade-from-5-2-1-to-5-4-1/89234/1 "2017-06-13T16:03:15Z")

</div>

Having a 2 node cluster I disabled the shard allocation, stoped one node, download elasticsearch-5.4.1 and installed it .

After starting up the node I get on the logs: [o.e.x.m.e.l.LocalExporter] waiting for elected master node [{ip-10.10.1.3}{xxxx}...] to setup local exporter [default\_local] (does it have x-pack installed?)

The master (5.2) still up and running but the updated node (5.4) can't connect. any ideas about how to fix this or do the proper upgrade?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [June 14, 2017, 7:47am UTC](https://discuss.elastic.co/t/upgrade-from-5-2-1-to-5-4-1/89234/2 "2017-06-14T07:47:51Z")

</div>

Hey,

can you provide full logs in a gist? The above just seems to be an error message due to not finding a master node, but is not the cause of not being able to connect.

--Alex

---

<div class="post-metadata">

**Author:** ![nbari](https://avatars.discourse-cdn.com/v4/letter/n/e36b37/32.png) [@nbari](https://discuss.elastic.co/u/nbari)\
**Post date:** [June 15, 2017, 9:40am UTC](https://discuss.elastic.co/t/upgrade-from-5-2-1-to-5-4-1/89234/3 "2017-06-15T09:40:54Z")

</div>

Hi, after the cluster became "green" the error went away, the node indeed was connected and sharding.

---

<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 13, 2017, 9:41am UTC](https://discuss.elastic.co/t/upgrade-from-5-2-1-to-5-4-1/89234/4 "2017-07-13T09:41:16Z")

</div>

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