Cannot add data to index after upgrade to 0.15.2


(Electric Owl) #1

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' -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


(Clinton Gormley) #2

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'
-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


(Electric Owl) #3

On 10 March 2011 15:46, Clinton Gormley 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'
-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


(system) #4