# Elasticsearch no longer boots

**URL:** <https://discuss.elastic.co/t/elasticsearch-no-longer-boots/313452>\
**Category:** Elasticsearch\
**Created:** [September 1, 2022, 2:09pm UTC](https://discuss.elastic.co/t/elasticsearch-no-longer-boots/313452 "2022-09-01T14:09:05Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![dw5304](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dw5304/32/105273_2.png) [@dw5304](https://discuss.elastic.co/u/dw5304)\
**Post date:** [September 1, 2022, 2:09pm UTC](https://discuss.elastic.co/t/elasticsearch-no-longer-boots/313452/1 "2022-09-01T14:09:05Z")

</div>

came in this morning to find a non working bootable version of elasticsearch.

```auto
[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.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 2, 2022, 7:53am UTC](https://discuss.elastic.co/t/elasticsearch-no-longer-boots/313452/2 "2022-09-02T07:53:42Z")

</div>

It should be something like:

```auto
sudo bin/elasticsearch-plugin remove ingest-attachment
sudo bin/elasticsearch-plugin install ingest-attachment

```

---

<div class="post-metadata">

**Author:** ![dw5304](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dw5304/32/105273_2.png) [@dw5304](https://discuss.elastic.co/u/dw5304)\
**Post date:** [September 6, 2022, 7:47pm UTC](https://discuss.elastic.co/t/elasticsearch-no-longer-boots/313452/3 "2022-09-06T19:47:43Z")

</div>

> [@dadoonet](#):
>
> `remove ingest-attachment`

```auto

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)

```

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 6, 2022, 8:29pm UTC](https://discuss.elastic.co/t/elasticsearch-no-longer-boots/313452/4 "2022-09-06T20:29:05Z")

</div>

So may be manually remove the `ingest-attachment` dir from the `plugins` dir?

---

<div class="post-metadata">

**Author:** ![dw5304](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dw5304/32/105273_2.png) [@dw5304](https://discuss.elastic.co/u/dw5304)\
**Post date:** [September 6, 2022, 8:50pm UTC](https://discuss.elastic.co/t/elasticsearch-no-longer-boots/313452/5 "2022-09-06T20:50:13Z")

</div>

was able to manually remove said package from the plugin dir. after doing so i attempted to reinstall via elasticsearch-plugin

```auto
/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

```

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 6, 2022, 11:33pm UTC](https://discuss.elastic.co/t/elasticsearch-no-longer-boots/313452/6 "2022-09-06T23:33:14Z")

</div>

So you don't need to install it anymore as it's part of the distribution now.

---

<div class="post-metadata">

**Author:** ![dw5304](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dw5304/32/105273_2.png) [@dw5304](https://discuss.elastic.co/u/dw5304)\
**Post date:** [September 6, 2022, 11:45pm UTC](https://discuss.elastic.co/t/elasticsearch-no-longer-boots/313452/7 "2022-09-06T23:45:07Z")

</div>

Looks to be correct, but if it's failing.... How does one reinstall it properly?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 7, 2022, 8:31am UTC](https://discuss.elastic.co/t/elasticsearch-no-longer-boots/313452/8 "2022-09-07T08:31:19Z")

</div>

I don't get it. You installed the latest version of Elasticsearch, right?  
You just have to start it.

You don't need to reinstall the plugin.

---

<div class="post-metadata">

**Author:** ![dw5304](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dw5304/32/105273_2.png) [@dw5304](https://discuss.elastic.co/u/dw5304)\
**Post date:** [September 7, 2022, 2:09pm UTC](https://discuss.elastic.co/t/elasticsearch-no-longer-boots/313452/9 "2022-09-07T14:09:22Z")

</div>

Yes, but it seems something is screwed up.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 7, 2022, 2:43pm UTC](https://discuss.elastic.co/t/elasticsearch-no-longer-boots/313452/10 "2022-09-07T14:43:36Z")

</div>

Could you share the full logs please?

---

<div class="post-metadata">

**Author:** ![dw5304](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dw5304/32/105273_2.png) [@dw5304](https://discuss.elastic.co/u/dw5304)\
**Post date:** [September 7, 2022, 2:55pm UTC](https://discuss.elastic.co/t/elasticsearch-no-longer-boots/313452/11 "2022-09-07T14:55:24Z")

</div>

I ended up doing a force reinstall of elastic seems everything is good to go now.

---

<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:** [October 5, 2022, 2:56pm UTC](https://discuss.elastic.co/t/elasticsearch-no-longer-boots/313452/12 "2022-10-05T14:56:07Z")

</div>

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