# Plugins does not load ES 2.4

**URL:** <https://discuss.elastic.co/t/plugins-does-not-load-es-2-4/99497>\
**Category:** Elasticsearch\
**Created:** [September 6, 2017, 12:57am UTC](https://discuss.elastic.co/t/plugins-does-not-load-es-2-4/99497 "2017-09-06T00:57:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wvitte](https://avatars.discourse-cdn.com/v4/letter/w/6f9a4e/32.png) [@wvitte](https://discuss.elastic.co/u/wvitte)\
**Post date:** [September 6, 2017, 12:57am UTC](https://discuss.elastic.co/t/plugins-does-not-load-es-2-4/99497/1 "2017-09-06T00:57:19Z")

</div>

I built the plugin (analysis-icu, version 2.4) and copied the jars (elasticsearch-analysis-icu\*.jar and its dependent jars) to ES directory (/Users/witte/Documents/elasticsearch-2.4.0/plugins). So my plugins directory looks something like this (/Users/witte/Documents/elasticsearch-2.4.0/plugins/anaysis-icu/elasticsearch-analysis-icu\*.jar , /Users/witte/Documents/elasticsearch-2.4.0/plugins/analysis-icu/icu4j\*.jar and /Users/witte/Documents/elasticsearch-2.4.0/plugins/analysis-icu/lucene-analyzers-icu-\*.jar).

But when I restart the nodes in my cluster, I see the plugins not loaded. The files have 644 and directory has 755 permissions. Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![mujtabahussain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mujtabahussain/32/17514_2.png) [@mujtabahussain](https://discuss.elastic.co/u/mujtabahussain)\
**Post date:** [September 6, 2017, 2:02am UTC](https://discuss.elastic.co/t/plugins-does-not-load-es-2-4/99497/2 "2017-09-06T02:02:05Z")

</div>

When you restart the nodes and plugins fail to load, is there any indication in the logs as to what might be failing?

---

<div class="post-metadata">

**Author:** ![rjernst](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rjernst/32/6363_2.png) [@rjernst](https://discuss.elastic.co/u/rjernst)\
**Post date:** [September 6, 2017, 4:26am UTC](https://discuss.elastic.co/t/plugins-does-not-load-es-2-4/99497/3 "2017-09-06T04:26:10Z")

</div>

Jars are not the only thing in a plugin. There is also plugin descriptor and (possibly) a security file.

However, why are you trying to copy a plugin installation? You would also be missing configuration files (which some plugins have), that are in the elasticsearch config directory. The best way to manage plugins is with the elasticsearch-plugin tool.

---

<div class="post-metadata">

**Author:** ![wvitte](https://avatars.discourse-cdn.com/v4/letter/w/6f9a4e/32.png) [@wvitte](https://discuss.elastic.co/u/wvitte)\
**Post date:** [September 6, 2017, 6:56pm UTC](https://discuss.elastic.co/t/plugins-does-not-load-es-2-4/99497/4 "2017-09-06T18:56:08Z")

</div>

The file system I have is read only and I cannot manually run the elasticsearch-plugin tool. For e.g.  
elasticsearch-analysis-icu\*.jar does have a plugin descriptor, but does not load.

_[2017-09-06 15:51:23.171 GMT] INFO |||||| main org.elasticsearch.plugins [[es-03-blade7-3.mon.example.net](http://es-03-blade7-3.mon.example.net)] loaded [], sites []_

I was wondering if I need to specify anything during ES startup or I wonder if there's something to do with file permissions.

(Note : this works fine locally. But doesn't on my cluster). Again I am doing this as part of ES upgrade from 1.x to 2.x. The plugins i had currently are loaded via classpath which is no longer supported in 2.x.

---

<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 4, 2017, 6:56pm UTC](https://discuss.elastic.co/t/plugins-does-not-load-es-2-4/99497/5 "2017-10-04T18:56:39Z")

</div>

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