Cannot start Elasticsearch after upgrade from 1.7.3


(Dang Van Chuyen) #1

I checked with migration plugin and everything's ok. I upgraded with yum.
This is the message:

Process: 7195 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -Des.pidfile=${PID_DIR}/elasticsearch.pid -Des.default.path.home=${ES_HOME} -Des.default.path.logs=${LOG_DIR} -Des.default.path.data=${DATA_DIR} -Des.default.path.conf=${CONF_DIR} (code=exited, status=1/FAILURE)
Process: 7192 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 7195 (code=exited, status=1/FAILURE)

Nov 29 18:19:34 elasticsearch[7195]: at org.elasticsearch.plugins.PluginsService.(PluginsService.java:108)
Nov 29 18:19:34 elasticsearch[7195]: at org.elasticsearch.node.Node.(Node.java:148)
Nov 29 18:19:34 elasticsearch[7195]: at org.elasticsearch.node.Node.(Node.java:129)
Nov 29 18:19:34 elasticsearch[7195]: at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:145)
Nov 29 18:19:34 elasticsearch[7195]: at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)
Nov 29 18:19:34 elasticsearch[7195]: at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:285)
Nov 29 18:19:34 elasticsearch[7195]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
Nov 29 18:19:34 elasticsearch[7195]: Refer to the log for complete error details.
Nov 29 18:19:34 systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Nov 29 18:19:34 systemd[1]: Unit elasticsearch.service entered failed state.

I did not change the path or install anything special.
Thanks


(Magnus Bäck) #2

You've upgraded from 1.7.3 to 2.0 or 2.1 or...? The stacktrace indicates that the error is related to plugins so I'd try removing any plugins (which probably need to upgraded). This looks like your syslog—have you looked in ES's own log for additional details?


(Thomas Decaux) #3

The good thing with open-source are ... sources :wink:

Check at

https://github.com/elastic/elasticsearch/blob/master/core/src/main/java/org/elasticsearch/plugins/PluginsService.java#L95

From the right branch according your ES version, you should find whats going bad.


(Dang Van Chuyen) #4

Thank you all,
I removed the HQ plugin then the upgrade progress worked. !


(system) #5