# Error installing lang-javascript plugin in Elasticsearch 2.3.2

**URL:** <https://discuss.elastic.co/t/error-installing-lang-javascript-plugin-in-elasticsearch-2-3-2/51445>\
**Category:** Elasticsearch\
**Created:** [May 31, 2016, 3:22pm UTC](https://discuss.elastic.co/t/error-installing-lang-javascript-plugin-in-elasticsearch-2-3-2/51445 "2016-05-31T15:22:29Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jzrobot](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jzrobot](https://discuss.elastic.co/u/jzrobot)\
**Post date:** [May 31, 2016, 3:22pm UTC](https://discuss.elastic.co/t/error-installing-lang-javascript-plugin-in-elasticsearch-2-3-2/51445/1 "2016-05-31T15:22:29Z")

</div>

I tried installing the lang-javascript plugin.  
I had to dowload the file from my browser, because the connection was blocked from cmd.  
I used the url showed on my console: [lang-js plugin](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/lang-javascript/2.3.2/lang-javascript-2.3.2.zip)  
I tried to install it on my node with the `file` parameter on the plugin installer.  
I received the following error:  
`ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip`  
Anybody else has had this problem? If so, how did you solved it?

p,d,:The plugin for python does work in the way I am installing it.

---

<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:** [May 31, 2016, 5:31pm UTC](https://discuss.elastic.co/t/error-installing-lang-javascript-plugin-in-elasticsearch-2-3-2/51445/2 "2016-05-31T17:31:50Z")

</div>

The plugin now lives here: [https://www.elastic.co/guide/en/elasticsearch/plugins/current/lang-javascript.html](https://www.elastic.co/guide/en/elasticsearch/plugins/current/lang-javascript.html)

Launch `bin/plugin install lang-javascript` and note what URL is it trying to fetch.  
You might need to use `--verbose` option for that.

---

<div class="post-metadata">

**Author:** ![jzrobot](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jzrobot](https://discuss.elastic.co/u/jzrobot)\
**Post date:** [May 31, 2016, 5:39pm UTC](https://discuss.elastic.co/t/error-installing-lang-javascript-plugin-in-elasticsearch-2-3-2/51445/3 "2016-05-31T17:39:29Z")

</div>

The only think that `--verbose` added was the `SockectException` message, but the link is the same as the one described on my question.

---

<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:** [May 31, 2016, 5:55pm UTC](https://discuss.elastic.co/t/error-installing-lang-javascript-plugin-in-elasticsearch-2-3-2/51445/4 "2016-05-31T17:55:07Z")

</div>

I missed the link. Sorry.

BTW this link gives 404 for me.

What command did you run to install it?

---

<div class="post-metadata">

**Author:** ![jzrobot](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jzrobot](https://discuss.elastic.co/u/jzrobot)\
**Post date:** [May 31, 2016, 5:58pm UTC](https://discuss.elastic.co/t/error-installing-lang-javascript-plugin-in-elasticsearch-2-3-2/51445/5 "2016-05-31T17:58:32Z")

</div>

sorry, I missed a letter in the link; you can check it now.  
command: `plugin install file://path-to-plugin --verbose`

---

<div class="post-metadata">

**Author:** ![jzrobot](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jzrobot](https://discuss.elastic.co/u/jzrobot)\
**Post date:** [June 1, 2016, 4:17pm UTC](https://discuss.elastic.co/t/error-installing-lang-javascript-plugin-in-elasticsearch-2-3-2/51445/6 "2016-06-01T16:17:52Z")

</div>

Additional info:  
If I place the zip file inside the plugins folder, I receive the message "Was the plugin build before 2.0?" along with the first message described on my question when booting ES.

---

<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:** [June 11, 2016, 9:48am UTC](https://discuss.elastic.co/t/error-installing-lang-javascript-plugin-in-elasticsearch-2-3-2/51445/7 "2016-06-11T09:48:47Z")

</div>

I checked the zip file and it looks correct to me.

So this should work:

```auto
bin/plugin install file:./lang-javascript-2.3.2.zip

```

---

<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:** [July 5, 2017, 10:44pm UTC](https://discuss.elastic.co/t/error-installing-lang-javascript-plugin-in-elasticsearch-2-3-2/51445/8 "2017-07-05T22:44:36Z")

</div>


