# Cannot add data to index after upgrade to 0.15.2

**URL:** <https://discuss.elastic.co/t/cannot-add-data-to-index-after-upgrade-to-0-15-2/4075>\
**Category:** Elasticsearch\
**Created:** [March 10, 2011, 3:32pm UTC](https://discuss.elastic.co/t/cannot-add-data-to-index-after-upgrade-to-0-15-2/4075 "2011-03-10T15:32:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Electric\_Owl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/electric_owl/32/3094_2.png) [@Electric\_Owl](https://discuss.elastic.co/u/Electric_Owl)\
**Post date:** [March 10, 2011, 3:32pm UTC](https://discuss.elastic.co/t/cannot-add-data-to-index-after-upgrade-to-0-15-2/4075/1 "2011-03-10T15:32:46Z")

</div>

Hi,

I upgraded an instance of ES from 0.15.0 to 0.15.2 by copying the existing  
data files & directories across to the newly unzipped folder of version  
0.15.2, adding data no longer works.

When I try to insert into the existing index using a line like:  
curl -XPUT '[http://localhost:9200/twitter/fridayreads/foo\_123451234](http://localhost:9200/twitter/fridayreads/foo_123451234)' -d  
'{"alpha":"foo","beta":"bar"}'

I get the curl error:  
curl: (56) Failure when receiving data from the peer

What can I do to check the database and is there an upgrade  
procedure/process I should have followed?

Running Ubuntu 10.04

Thanks,  
Ian

--  
Ian Lewis  
Web Developer

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [March 10, 2011, 3:46pm UTC](https://discuss.elastic.co/t/cannot-add-data-to-index-after-upgrade-to-0-15-2/4075/2 "2011-03-10T15:46:14Z")

</div>

Hi Ian

> I upgraded an instance of ES from 0.15.0 to 0.15.2 by copying the  
> existing data files & directories across to the newly unzipped folder  
> of version 0.15.2, adding data no longer works.
> 
> When I try to insert into the existing index using a line like:  
> curl -XPUT '[http://localhost:9200/twitter/fridayreads/foo\_123451234](http://localhost:9200/twitter/fridayreads/foo_123451234)'  
> -d '{"alpha":"foo","beta":"bar"}'
> 
> I get the curl error:  
> curl: (56) Failure when receiving data from the peer

I've just done the same upgrade, and tried your PUT and it worked for  
me. Do you get no other info either from curl or in your elasticsearch  
logs?

clint

---

<div class="post-metadata">

**Author:** ![Electric\_Owl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/electric_owl/32/3094_2.png) [@Electric\_Owl](https://discuss.elastic.co/u/Electric_Owl)\
**Post date:** [March 10, 2011, 4:16pm UTC](https://discuss.elastic.co/t/cannot-add-data-to-index-after-upgrade-to-0-15-2/4075/3 "2011-03-10T16:16:14Z")

</div>

On 10 March 2011 15:46, Clinton Gormley [clinton@iannounce.co.uk](mailto:clinton@iannounce.co.uk) wrote:

> Hi Ian
> 
> > I upgraded an instance of ES from 0.15.0 to 0.15.2 by copying the  
> > existing data files & directories across to the newly unzipped folder  
> > of version 0.15.2, adding data no longer works.
> > 
> > When I try to insert into the existing index using a line like:  
> > curl -XPUT '[http://localhost:9200/twitter/fridayreads/foo\_123451234](http://localhost:9200/twitter/fridayreads/foo_123451234)'  
> > -d '{"alpha":"foo","beta":"bar"}'
> > 
> > I get the curl error:  
> > curl: (56) Failure when receiving data from the peer
> 
> I've just done the same upgrade, and tried your PUT and it worked for  
> me. Do you get no other info either from curl or in your elasticsearch  
> logs?
> 
> clint
> 
> I re-installed and it works fine now.

Thanks for the reply!

Ian

---

<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, 4:10am UTC](https://discuss.elastic.co/t/cannot-add-data-to-index-after-upgrade-to-0-15-2/4075/4 "2017-07-06T04:10:21Z")

</div>

Closed on July 6, 2017, 4:10am UTC


