# UPDATE Version 1 to version 2 do opensearch, dashboard

**URL:** <https://forum.opensearch.org/t/update-version-1-to-version-2-do-opensearch-dashboard/11006>\
**Category:** OpenSearch\
**Tags:** upgrade\
**Created:** [September 21, 2022, 4:50pm UTC](https://forum.opensearch.org/t/update-version-1-to-version-2-do-opensearch-dashboard/11006 "2022-09-21T16:50:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![angelogabeira](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/angelogabeira/32/4248_2.png) [@angelogabeira](https://forum.opensearch.org/u/angelogabeira)\
**Post date:** [September 21, 2022, 4:50pm UTC](https://forum.opensearch.org/t/update-version-1-to-version-2-do-opensearch-dashboard/11006/1 "2022-09-21T16:50:38Z")

</div>

guys, i need to update opensearch and dashboard from version 1.2 to 2.3.  
I use opensearch with docker.  
I just tried to change the image from 1.2.0 to 2.3.0 and it didn’t work. it lost all storage that was on the node i upgraded.  
look how it appears on the dashboard

 ![open](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/6/6a8545fb0b7fe43cc389ede419cd5332935779c3.png)

---

<div class="post-metadata">

**Author:** ![vi4life](https://avatars.discourse-cdn.com/v4/letter/v/a88e4f/32.png) [@vi4life](https://forum.opensearch.org/u/vi4life)\
**Post date:** [September 21, 2022, 5:27pm UTC](https://forum.opensearch.org/t/update-version-1-to-version-2-do-opensearch-dashboard/11006/2 "2022-09-21T17:27:12Z")

</div>

Hi @angelogabeira,  
I have not done such an upgrade myself, but I found another post from a user who also had to upgrade to version 2.X.

> [@OS upgrade from 1.0.0 to 2.2](https://forum.opensearch.org/t/os-upgrade-from-1-0-0-to-2-2/10677):
>
> Good day! What is the sequence of actions for upgrading OS from 1.0.0 to 2.2 version (tarball installation)? When trying to roll upgrade, the node is not added to the cluster with an error: Caused by: java.lang.IllegalStateException: Received message from unsupported version: [2.2.0] minimal compatible version is: [6.8.0] Is there way to rolling upgrade? if upgrade all nodes simultaneously, then all work fine, but this way need downtime:(

I hope the update process works for you if you first update to version 1.3.5 and then make the switch to version 2.3.  
What I can tell you for sure, however, is that OpenSearch Dashboards unfortunately does not like mixed-use clusters. OpenSearch Dashboards didn’t even started with my mixed cluster with a 2.2.0 node and a 2.3.0 node that are only a minor version apart. Maybe this is the Reason why that one node showed up that strange.  
In case this didn’t help you we can both try this in our Test Lab so we can share our experiance and work out a Solution. 🙂

---

<div class="post-metadata">

**Author:** ![angelogabeira](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/angelogabeira/32/4248_2.png) [@angelogabeira](https://forum.opensearch.org/u/angelogabeira)\
**Post date:** [September 22, 2022, 10:56am UTC](https://forum.opensearch.org/t/update-version-1-to-version-2-do-opensearch-dashboard/11006/3 "2022-09-22T10:56:18Z")

</div>

> [@vi4life](#):
>
> I hope the update process works for you if you first update to version 1.3.5 and then make the switch to version 2.3.  
> What I can tell you for sure, however, is that OpenSearch Dashboards unfortunately does not like mixed-use clusters. OpenSearch Dashboards didn’t even started with my mixed cluster with a 2.2.0 node and a 2.3.0 node that are only a minor version apart. Maybe this is the Reason why that one node showed up that strange.  
> In case this didn’t help you we can both try this in our Test Lab so we can share our experiance and work out a Solution

I would be extremely grateful if you could help me more and do this test in your lab.  
the most difficult problem is to take advantage of the content of the data nodes.

---

<div class="post-metadata">

**Author:** ![vi4life](https://avatars.discourse-cdn.com/v4/letter/v/a88e4f/32.png) [@vi4life](https://forum.opensearch.org/u/vi4life)\
**Post date:** [September 22, 2022, 6:05pm UTC](https://forum.opensearch.org/t/update-version-1-to-version-2-do-opensearch-dashboard/11006/4 "2022-09-22T18:05:34Z")

</div>

Hi @angelogabeira,  
i think i have good and bad news.  
The good one is that i just successfully upgraded from OpenSearch Docker Version 1.2.0 to 2.3.0.  
The Upgrade Process worked fine without any Data loss. I index some Logs from my Test Server and every Single log was still there without any failure.

The bad News are that you have to update to the next Minor Release till you hit the Version 2.3.0.  
Here you can skip the Bug Fix releases like 1.3.1 - 1.3.5 and 2.2.1.

I tried to mimic your Environment as good as i can. I set up 5 Docker Container with different roles.  
I have to inform you that if you update to the Version 2.3.0 you will get a deprecation warning for the Option “cluster.initial\_master\_nodes”. This one was renamed to “cluster.initial\_cluster\_manager\_nodes” cause of the Political Correctness. The Syntax for this is the same so you just have to rename it.

---

<div class="post-metadata">

**Author:** ![ahmedelfaleh](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@ahmedelfaleh](https://forum.opensearch.org/u/ahmedelfaleh)\
**Post date:** [January 26, 2023, 9:43am UTC](https://forum.opensearch.org/t/update-version-1-to-version-2-do-opensearch-dashboard/11006/5 "2023-01-26T09:43:00Z")

</div>

Hi,

I wrote an ansible playbook to upgrade from version 1.x to version 2.x, but I didn’t complete it yet.

So you can follow this link, I copied some from the documentation and arranged the steps upon my experience.  
It is working like sharp.

> <https://github.com/ahmedelfaleh/ansible_/blob/main/opensearch/version_upgrading.md>

from 1.2.4, to 2.4.1, I did it successfully.
