# Elasticsearch reports wrong version after upgrading from 5.6.x to 6.x

**URL:** <https://discuss.elastic.co/t/elasticsearch-reports-wrong-version-after-upgrading-from-5-6-x-to-6-x/125121>\
**Category:** Elasticsearch\
**Created:** [March 22, 2018, 7:58am UTC](https://discuss.elastic.co/t/elasticsearch-reports-wrong-version-after-upgrading-from-5-6-x-to-6-x/125121 "2018-03-22T07:58:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fetch](https://avatars.discourse-cdn.com/v4/letter/f/dbc845/32.png) [@fetch](https://discuss.elastic.co/u/fetch)\
**Post date:** [March 22, 2018, 7:58am UTC](https://discuss.elastic.co/t/elasticsearch-reports-wrong-version-after-upgrading-from-5-6-x-to-6-x/125121/1 "2018-03-22T07:58:14Z")

</div>

Hi,

Before updating my production server from 5.6.5 to 6.x I've tried updating my test cluster, but my cluster entered some weird state.

So I have a cluster where are two PCs with elasticsearch 5.6.5 installed from deb repository.

I've upgraded it to version 6.2.3 from the repository and dpkg confirms it:

```auto
user@whitebox:~$ sudo dpkg -l | grep elasticsearch
ii elasticsearch 6.2.3 all

```

elasticsearch itself reports the new version too:

```auto
root@whitebox:/usr/share/elasticsearch/bin# ./elasticsearch --version
Version: 6.2.3, Build: c59ff00/2018-03-13T10:06:29.741383Z, JVM: 1.8.0_151

```

However, when I make request to IP:9200, it reports old version:

```auto
{
  "name" : "node-whitebox",
  "cluster_name" : "honeypots-dev",
  "cluster_uuid" : "J8Kwgm8cQNamHBGqjazhgw",
  "version" : {
    "number" : "5.6.5",
    "build_hash" : "6a37571",
    "build_date" : "2017-12-04T07:50:10.466Z",
    "build_snapshot" : false,
    "lucene_version" : "6.6.1"
  },
  "tagline" : "You Know, for Search"
}

```

Exactly the same thing happened with the second pc. What I'm doing wrong?

ps: Kibana & logstash successfully upgraded to the 6.2.3 version without problems.

---

<div class="post-metadata">

**Author:** ![rjernst](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rjernst/32/6363_2.png) [@rjernst](https://discuss.elastic.co/u/rjernst)\
**Post date:** [March 23, 2018, 4:55pm UTC](https://discuss.elastic.co/t/elasticsearch-reports-wrong-version-after-upgrading-from-5-6-x-to-6-x/125121/2 "2018-03-23T16:55:25Z")

</div>

Are you sure you don't still have a 5.6.5 node running? Can you retrieve [nodes info](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html) and look for the version of each node?

---

<div class="post-metadata">

**Author:** ![fetch](https://avatars.discourse-cdn.com/v4/letter/f/dbc845/32.png) [@fetch](https://discuss.elastic.co/u/fetch)\
**Post date:** [April 3, 2018, 7:41am UTC](https://discuss.elastic.co/t/elasticsearch-reports-wrong-version-after-upgrading-from-5-6-x-to-6-x/125121/3 "2018-04-03T07:41:13Z")

</div>

It was showing the same - 5.6.5 for both nodes. Eventually, rebooting both PCs solved the issue.

---

<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 1, 2018, 7:41am UTC](https://discuss.elastic.co/t/elasticsearch-reports-wrong-version-after-upgrading-from-5-6-x-to-6-x/125121/4 "2018-05-01T07:41:16Z")

</div>

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