Exception removing x-pack 6.2.2 - duplicated pluging


(dcam) #1

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

(dcam) #3

There was 2 descriptors. I deleted one and It worked


(Lee Drengenberg) #4

Glad you solved it!


(system) #5

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