# How to upgrade ES from 0.90.2 to 1.1.1

**URL:** <https://discuss.elastic.co/t/how-to-upgrade-es-from-0-90-2-to-1-1-1/17550>\
**Category:** Elasticsearch\
**Created:** [May 16, 2014, 11:01am UTC](https://discuss.elastic.co/t/how-to-upgrade-es-from-0-90-2-to-1-1-1/17550 "2014-05-16T11:01:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nie\_kl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nie_kl/32/1566_2.png) [@nie\_kl](https://discuss.elastic.co/u/nie_kl)\
**Post date:** [May 16, 2014, 11:01am UTC](https://discuss.elastic.co/t/how-to-upgrade-es-from-0-90-2-to-1-1-1/17550/1 "2014-05-16T11:01:59Z")

</div>

Hi everyone:  
I used ES-0.90.2 as my index server.I have three pcs and each pc  
has a ES instance.They run as a cluster.And they worked well,but now I want  
upgrade my ES from 0.90.2 to 1.1.1.  
At first,I read the document on the elasticsearch.org.I shutdown  
my ES0.90.2，and unzip the ES1.1.1 in each pc. Then I copy the 'data' folder  
in the ES0.90.2 to the same dictionary in ES1.1.1.At last,i run the three  
ES1.1.1.But the shards became unassigned.Why,and how could i upgrade  
rightly.  
In my ES0.90.2,there is one index and more more than 30 types.I  
creat 20 shards and 2 replica in my index.So there are 60 shards in total  
and there are 20 shards in each pc.  
When I start ES1.1.1,it seemed can find the meta infomation of the  
old index data.Because，ES1.1.1 could know the name of old index data and  
know how many shards the old index data has.  
the status of my ES1.1.1 is：  
{  
"cluster\_name" : "test",  
"status" : "red",  
"timed\_out" : false,  
"number\_of\_nodes" : 1,  
"number\_of\_data\_nodes" : 1,  
"active\_primary\_shards" : 0,  
"active\_shards" : 0,  
"relocating\_shards" : 0,  
"initializing\_shards" : 0,  
"unassigned\_shards" : 60  
}

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d0e14772-3076-4130-8d49-66ba02a1aea0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d0e14772-3076-4130-8d49-66ba02a1aea0%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [May 16, 2014, 10:54pm UTC](https://discuss.elastic.co/t/how-to-upgrade-es-from-0-90-2-to-1-1-1/17550/2 "2014-05-16T22:54:59Z")

</div>

How many nodes do you have? You mentioned that you unzip the distribution  
on each PC, but you status only shows 1 node. Can you output the status for  
each node? Did you copy the configs as well?

First of all, there is no need to copy the data unless you want a backup.  
You can maintain the same configs and data by pointing elasticsearch to the  
some directory that lives outside of the installation directory:

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Cheers,

Ivan

On Fri, May 16, 2014 at 4:01 AM, [nie\_kl@126.com](mailto:nie_kl@126.com) wrote:

> Hi everyone:  
> I used ES-0.90.2 as my index server.I have three pcs and each pc  
> has a ES instance.They run as a cluster.And they worked well,but now I want  
> upgrade my ES from 0.90.2 to 1.1.1.  
> At first,I read the document on the elasticsearch.org.I shutdown  
> my ES0.90.2，and unzip the ES1.1.1 in each pc. Then I copy the 'data' folder  
> in the ES0.90.2 to the same dictionary in ES1.1.1.At last,i run the three  
> ES1.1.1.But the shards became unassigned.Why,and how could i upgrade  
> rightly.  
> In my ES0.90.2,there is one index and more more than 30 types.I  
> creat 20 shards and 2 replica in my index.So there are 60 shards in total  
> and there are 20 shards in each pc.  
> When I start ES1.1.1,it seemed can find the meta infomation of the  
> old index data.Because，ES1.1.1 could know the name of old index data and  
> know how many shards the old index data has.  
> the status of my ES1.1.1 is：  
> {  
> "cluster\_name" : "test",  
> "status" : "red",  
> "timed\_out" : false,  
> "number\_of\_nodes" : 1,  
> "number\_of\_data\_nodes" : 1,  
> "active\_primary\_shards" : 0,  
> "active\_shards" : 0,  
> "relocating\_shards" : 0,  
> "initializing\_shards" : 0,  
> "unassigned\_shards" : 60  
> }
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/d0e14772-3076-4130-8d49-66ba02a1aea0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d0e14772-3076-4130-8d49-66ba02a1aea0%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/d0e14772-3076-4130-8d49-66ba02a1aea0%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/d0e14772-3076-4130-8d49-66ba02a1aea0%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQB1HPpx2Om%2BHvW-%2B65ytZJ1jdvoDzyZsPogXpE4v2jm1A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQB1HPpx2Om%2BHvW-%2B65ytZJ1jdvoDzyZsPogXpE4v2jm1A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![ayushsangani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayushsangani/32/9612_2.png) [@ayushsangani](https://discuss.elastic.co/u/ayushsangani)\
**Post date:** [June 20, 2014, 8:11pm UTC](https://discuss.elastic.co/t/how-to-upgrade-es-from-0-90-2-to-1-1-1/17550/3 "2014-06-20T20:11:37Z")

</div>

Hi Ivan,

I could use your expertise in elasticsearch here:

I am upgrading from elasticsearch 0.90 to 1.1.1.

The process I am following for upgradation in staging is:

1. I have new system in which I have installed elasticsearch 1.1.1 with same config as 0.90 just the cluster-name is different.

2. I have copied the nodes folder inside data folder to same location at elasticsearch 1.1.1.

3. Restarted the 1.1.1 elasticsearch service.

Problem: I am not able to see the indices present in 1.1.1 but I see indices present in the data folder.

Am I missing any step?

Please let me know if you can help me with this issue.

-Thanks

---

<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 6, 2017, 1:20am UTC](https://discuss.elastic.co/t/how-to-upgrade-es-from-0-90-2-to-1-1-1/17550/4 "2017-07-06T01:20:51Z")

</div>

Closed on July 6, 2017, 1:20am UTC


