# Exception removing x-pack 6.2.2 - duplicated pluging

**URL:** https://discuss.elastic.co/t/exception-removing-x-pack-6-2-2-duplicated-pluging/121050
**Category:** Elasticsearch
**Created:** [February 22, 2018, 12:51pm UTC](https://discuss.elastic.co/t/exception-removing-x-pack-6-2-2-duplicated-pluging/121050 "2018-02-22T12:51:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dcam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dcam/32/51518_2.png) [@dcam](https://discuss.elastic.co/u/dcam)
#### Post date: [February 22, 2018, 12:51pm UTC](https://discuss.elastic.co/t/exception-removing-x-pack-6-2-2-duplicated-pluging/121050/1 "2018-02-22T12:51:52Z")

</div>

ES throws an exception about duplicated pluging. Then trying to reinstall x-pack I get the same exception:

```
/usr/share/elasticsearch # bin/elasticsearch-plugin remove x-pack
Exception in thread "main" java.lang.IllegalStateException: duplicate plugin: - Plugin information:
Name: x-pack-core
Description: Elasticsearch Expanded Pack Plugin - Core
Version: 6.2.2
Native Controller: false
Requires Keystore: false
Extended Plugins: []
* Classname: org.elasticsearch.xpack.core.XPackPlugin
       at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:355)
       at org.elasticsearch.plugins.RemovePluginCommand.execute(RemovePluginCommand.java:89)
       at org.elasticsearch.plugins.RemovePluginCommand.execute(RemovePluginCommand.java:67)
       at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
       at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
       at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:75)
       at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
       at org.elasticsearch.cli.Command.main(Command.java:90)
       at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:48)

/usr/share/elasticsearch # bin/elasticsearch-plugin list
x-pack
   extensions
   x-pack-core
   x-pack-deprecation
   x-pack-graph
   x-pack-logstash
   x-pack-ml
   x-pack-monitoring
   x-pack-security
   x-pack-upgrade
   x-pack-watcher
```

---

<div class="post-metadata">

### Author: ![dcam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dcam/32/51518_2.png) [@dcam](https://discuss.elastic.co/u/dcam)
#### Post date: [February 22, 2018, 2:38pm UTC](https://discuss.elastic.co/t/exception-removing-x-pack-6-2-2-duplicated-pluging/121050/3 "2018-02-22T14:38:47Z")

</div>

There was 2 descriptors. I deleted one and It worked

---

<div class="post-metadata">

### Author: ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)
#### Post date: [February 22, 2018, 9:29pm UTC](https://discuss.elastic.co/t/exception-removing-x-pack-6-2-2-duplicated-pluging/121050/4 "2018-02-22T21:29:37Z")

</div>

Glad you solved it!

---

<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: [March 22, 2018, 9:30pm UTC](https://discuss.elastic.co/t/exception-removing-x-pack-6-2-2-duplicated-pluging/121050/5 "2018-03-22T21:30:11Z")

</div>

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