# ES Auto Updating its version (Downgrade and Upgrade)

**URL:** <https://discuss.elastic.co/t/es-auto-updating-its-version-downgrade-and-upgrade/126860>\
**Category:** Elasticsearch\
**Created:** [April 5, 2018, 7:00am UTC](https://discuss.elastic.co/t/es-auto-updating-its-version-downgrade-and-upgrade/126860 "2018-04-05T07:00:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaidabhishek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vaidabhishek/32/22766_2.png) [@vaidabhishek](https://discuss.elastic.co/u/vaidabhishek)\
**Post date:** [April 5, 2018, 7:00am UTC](https://discuss.elastic.co/t/es-auto-updating-its-version-downgrade-and-upgrade/126860/1 "2018-04-05T07:00:10Z")

</div>

- We deployed a 5 Node cluster on Ubuntu 16.04 using `dpkg`. Strangely enough we've been facing an issue where ES updates the version. It's sometimes 6.2.2 going to 6.2.1 or the other way.

- Really don't know what is happening.

Vaid, Abhishek

---

<div class="post-metadata">

**Author:** ![tomriley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tomriley/32/29652_2.png) [@tomriley](https://discuss.elastic.co/u/tomriley)\
**Post date:** [April 5, 2018, 8:31pm UTC](https://discuss.elastic.co/t/es-auto-updating-its-version-downgrade-and-upgrade/126860/2 "2018-04-05T20:31:36Z")

</div>

Hey,

Have you verified that all 5 nodes are running the same version of Elasticsearch. It may be that when you hit the cluster you are hitting a different nodes running different versions.

You should verify all nodes are running the same version by using the cat API to view all the nodes:  
curl -XGET 'localhost:9200/\_cat/nodes?v&pretty'

However, if all nodes are running the same version it is unlikely to be an issue with Elasticsearch. Elasticsearch does not have any sort of automated upgrade/downgrade orchestration functionality so its more likely to be related to the underlying infrastructure and how it is orchestrated.

How do you build the 5 nodes? Do you use any sort of configuration management such as Puppet or Chef?

Cheers,  
Tom

---

<div class="post-metadata">

**Author:** ![vaidabhishek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vaidabhishek/32/22766_2.png) [@vaidabhishek](https://discuss.elastic.co/u/vaidabhishek)\
**Post date:** [April 6, 2018, 4:49am UTC](https://discuss.elastic.co/t/es-auto-updating-its-version-downgrade-and-upgrade/126860/3 "2018-04-06T04:49:02Z")

</div>

Hi Tom,

- Thanks for response. I talked to the team and it turned out that there were some automatic scripts which were managing the spot instances. When a node went down, another one came up and ES was installed using dpkg, which resulted in version mismatch.

- But it's useful to know that ES has no built in mechanism for Auto-Update. Perhaps an extremely useful feature would be to trigger an Auto-Update for all things Elastic natively supported by the stack. One command, which causes ES nodes to have a rollover update, all plugins to get updated, Logstash, Kibana, and filebeat can then detect this update and plan to self-update themselves. ELK stack has converged a lot, but still independent and manual updates of all components still remain little tedious.

- But anyway, thanks for reply. My problem is identified.

Vaid, Abhishek

---

<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:** [May 4, 2018, 4:49am UTC](https://discuss.elastic.co/t/es-auto-updating-its-version-downgrade-and-upgrade/126860/4 "2018-05-04T04:49:11Z")

</div>

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