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

**URL:** https://discuss.elastic.co/t/bootstrap-error-duplicate-key-org-elasticsearch-plugins-pluginsservice-bundle-24a783dd-when-upgrade-es-6-2-1-to-6-30/135788
**Category:** Elasticsearch
**Created:** [June 13, 2018, 8:08pm UTC](https://discuss.elastic.co/t/bootstrap-error-duplicate-key-org-elasticsearch-plugins-pluginsservice-bundle-24a783dd-when-upgrade-es-6-2-1-to-6-30/135788 "2018-06-13T20:08:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kaem2111](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaem2111/32/24961_2.png) [@kaem2111](https://discuss.elastic.co/u/kaem2111)
#### Post date: [June 13, 2018, 8:08pm UTC](https://discuss.elastic.co/t/bootstrap-error-duplicate-key-org-elasticsearch-plugins-pluginsservice-bundle-24a783dd-when-upgrade-es-6-2-1-to-6-30/135788/1 "2018-06-13T20:08:36Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![psalvado](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/psalvado/32/31261_2.png) [@psalvado](https://discuss.elastic.co/u/psalvado)
#### Post date: [June 14, 2018, 11:45am UTC](https://discuss.elastic.co/t/bootstrap-error-duplicate-key-org-elasticsearch-plugins-pluginsservice-bundle-24a783dd-when-upgrade-es-6-2-1-to-6-30/135788/2 "2018-06-14T11:45:48Z")

</div>

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

`./elasticsearch-plugin remove x-pack`

---

<div class="post-metadata">

### Author: ![kaem2111](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaem2111/32/24961_2.png) [@kaem2111](https://discuss.elastic.co/u/kaem2111)
#### Post date: [June 14, 2018, 4:16pm UTC](https://discuss.elastic.co/t/bootstrap-error-duplicate-key-org-elasticsearch-plugins-pluginsservice-bundle-24a783dd-when-upgrade-es-6-2-1-to-6-30/135788/3 "2018-06-14T16:16:55Z")

</div>

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

---

<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 12, 2018, 4:17pm UTC](https://discuss.elastic.co/t/bootstrap-error-duplicate-key-org-elasticsearch-plugins-pluginsservice-bundle-24a783dd-when-upgrade-es-6-2-1-to-6-30/135788/4 "2018-07-12T16:17:21Z")

</div>

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