came in this morning to find a non working bootable version of elasticsearch.
[2022-09-01T14:02:06,208][ERROR][o.e.b.Elasticsearch ] [redacted] fatal exception while booting Elasticsearch
java.lang.IllegalArgumentException: Unknown properties for plugin [ingest-attachment] in plugin descriptor: [type]
at org.elasticsearch.plugins.PluginDescriptor.readFromProperties(PluginDescriptor.java:218) ~[elasticsearch-8.4.1.jar:?]
at org.elasticsearch.plugins.PluginsUtils.readPluginBundle(PluginsUtils.java:162) ~[elasticsearch-8.4.1.jar:?]
at org.elasticsearch.plugins.PluginsUtils.findBundles(PluginsUtils.java:143) ~[elasticsearch-8.4.1.jar:?]
at org.elasticsearch.plugins.PluginsUtils.getPluginBundles(PluginsUtils.java:125) ~[elasticsearch-8.4.1.jar:?]
at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:141) ~[elasticsearch-8.4.1.jar:?]
at org.elasticsearch.plugins.PluginsService.lambda$getPluginsServiceCtor$14(PluginsService.java:579) ~[elasticsearch-8.4.1.jar:?]
at org.elasticsearch.node.Node.<init>(Node.java:399) ~[elasticsearch-8.4.1.jar:?]
at org.elasticsearch.node.Node.<init>(Node.java:311) ~[elasticsearch-8.4.1.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch$2.<init>(Elasticsearch.java:214) ~[elasticsearch-8.4.1.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.initPhase3(Elasticsearch.java:214) ~[elasticsearch-8.4.1.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:67) ~[elasticsearch-8.4.1.jar:?]
wondering how I can reinstall the plugin or how I can getting this back online.
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin remove ingest-attachment
Exception in thread "main" java.lang.IllegalArgumentException: Unknown properties for plugin [ingest-attachment] in plugin descriptor: [type]
at org.elasticsearch.plugins.PluginDescriptor.readFromProperties(PluginDescriptor.java:218)
at org.elasticsearch.plugins.PluginsUtils.readPluginBundle(PluginsUtils.java:162)
at org.elasticsearch.plugins.PluginsUtils.findBundles(PluginsUtils.java:143)
at org.elasticsearch.plugins.PluginsUtils.getPluginBundles(PluginsUtils.java:125)
at org.elasticsearch.plugins.PluginsUtils.getDependencyMapView(PluginsUtils.java:135)
at org.elasticsearch.plugins.cli.RemovePluginAction.ensurePluginsNotUsedByOtherPlugins(RemovePluginAction.java:95)
at org.elasticsearch.plugins.cli.RemovePluginAction.execute(RemovePluginAction.java:77)
at org.elasticsearch.plugins.cli.RemovePluginCommand.execute(RemovePluginCommand.java:43)
at org.elasticsearch.common.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:54)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:85)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:94)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:85)
at org.elasticsearch.cli.Command.main(Command.java:50)
at org.elasticsearch.launcher.CliToolLauncher.main(CliToolLauncher.java:64)
was able to manually remove said package from the plugin dir. after doing so i attempted to reinstall via elasticsearch-plugin
/usr/share/elasticsearch# sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment
-> Installing ingest-attachment
[ingest-attachment] is no longer a plugin but instead a module packaged with this distribution of Elasticsearch
-> Please restart Elasticsearch to activate any plugins installed
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.