Bootstrap error: Duplicate key org.elasticsearch.plugins.PluginsService$Bundle@24a783dd when Upgrade ES 6.2.1 to 6.30

I upgraded Elasticsearch from Version 6.2.1 to 6.3.0 using

yum upgrade /tmp/elasticsearch-6.3.0.rpm

after start I got error:

[2018-06-13T21:34:40,344][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [by0rqo] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: Duplicate key org.elasticsearch.plugins.PluginsService$Bundle@24a783dd
Bootstrap error

./elasticsearch-plugin list shows:

x-pack
x-pack-core
WARNING: plugin [x-pack-core] was built for Elasticsearch version 6.2.1 but version 6.3.0 is required
x-pack-deprecation
WARNING: plugin [x-pack-deprecation] was built for Elasticsearch version 6.2.1 but version 6.3.0 is required
x-pack-graph
WARNING: plugin [x-pack-graph] was built for Elasticsearch version 6.2.1 but version 6.3.0 is required
x-pack-logstash
WARNING: plugin [x-pack-logstash] was built for Elasticsearch version 6.2.1 but version 6.3.0 is required
x-pack-ml
WARNING: plugin [x-pack-ml] was built for Elasticsearch version 6.2.1 but version 6.3.0 is required
x-pack-monitoring
WARNING: plugin [x-pack-monitoring] was built for Elasticsearch version 6.2.1 but version 6.3.0 is required
x-pack-security
WARNING: plugin [x-pack-security] was built for Elasticsearch version 6.2.1 but version 6.3.0 is required
x-pack-upgrade
WARNING: plugin [x-pack-upgrade] was built for Elasticsearch version 6.2.1 but version 6.3.0 is required
x-pack-watcher
WARNING: plugin [x-pack-watcher] was built for Elasticsearch version 6.2.1 but version 6.3.0 is required

Did not find any hints to remove old x-pack before upgrade in the upgrade guide.

Any hints how to continue/fix?

1 Like

Elastic 6.3 contains X-Pack by default. This worked for me.

./elasticsearch-plugin remove x-pack

3 Likes

removed content of /usr/share/elasticsearch before yum reinstall ...
to delete datasets from older releases.

1 Like

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