Elasticsearch service failed(2.5->6.8 upgrade)

hi, i have upgrade graylog version 2.5 to 3.1.3
graylog is well running, but elasticsearch 6.8 was not running

Nov 26 18:00:24 graylog2 systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Nov 26 18:00:24 graylog2 systemd[1]: elasticsearch.service: Unit entered failed state.
Nov 26 18:00:24 graylog2 systemd[1]: elasticsearch.service: Failed with result ‘exit-code’.

[o.e.n.Node ] [bUUIMEX] initialized
[2019-11-26T13:33:41,580][INFO ][o.e.n.Node ] [bUUIMEX] starting …
[2019-11-26T13:33:42,123][INFO ][o.e.t.TransportService ] [bUUIMEX] publish_address {127.0.0.1:9300}, bound_addresses {127.0.0.1:9300}
[2019-11-26T13:33:42,129][ERROR][o.e.b.Bootstrap ] [bUUIMEX] node validation exception
Cluster name [graylog] subdirectory exists in data paths [/var/lib/elasticsearch/graylog]. All data under these paths must be moved up one directory to paths [/var/lib/elasticsearch]
[2019-11-26T13:33:42,136][INFO ][o.e.n.Node ] [bUUIMEX] stopping …
[2019-11-26T13:33:42,151][INFO ][o.e.n.Node ] [bUUIMEX] stopped
[2019-11-26T13:33:42,152][INFO ][o.e.n.Node ] [bUUIMEX] closing …
[2019-11-26T13:33:42,172][INFO ][o.e.n.Node ] [bUUIMEX] closed

so i moved under /var/lib/elasticsearch/graylog directorys to /var/lib/elasticsearch. but still not running.
what’s ploblem?

he @kyh

sorry that you run into issues - but you do not mentioned how you you have upgraded Elasticsearch? Did you follow the upgrade documentation?

What exactly did you upgrade?

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