# Trouble installing Elasticsearch plugin

**URL:** https://discuss.elastic.co/t/trouble-installing-elasticsearch-plugin/24670
**Category:** Elasticsearch
**Created:** [June 30, 2015, 11:41pm UTC](https://discuss.elastic.co/t/trouble-installing-elasticsearch-plugin/24670 "2015-06-30T23:41:43Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![vilas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vilas/32/613_2.png) [@vilas](https://discuss.elastic.co/u/vilas)
#### Post date: [June 30, 2015, 11:41pm UTC](https://discuss.elastic.co/t/trouble-installing-elasticsearch-plugin/24670/1 "2015-06-30T23:41:43Z")

</div>

Hi,

Everytime I try to install plugin from zip file, it fails with different errors.  
So, I manually extract plugin to plugins folder.

I am trying to use **readonlyrest** plugin: [https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin](https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin)  
But I get following error:

```auto

C:\Tools\elasticsearch-1.5.2>bin\plugin.bat --url file://C:\PVR\Downloads\elasticsearch-readonlyrest-v1.3_es-v1.5.2.zip --install readonlyrest
-> Installing readonlyrest...
Trying file://C:/PVR/Downloads/elasticsearch-readonlyrest-v1.3_es-v1.5.2.zip...
Failed: UnknownHostException[C]
Trying https://github.com/null/readonlyrest/archive/master.zip...
Failed to install readonlyrest, reason: failed to download out of all possible locations..., use --verbose to get detailed information

```

Request you to please suggest how to resolve this.

Or any manual method to install it.

Thanks.

---

<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: [July 1, 2015, 7:40am UTC](https://discuss.elastic.co/t/trouble-installing-elasticsearch-plugin/24670/2 "2015-07-01T07:40:48Z")

</div>

Try:

```auto
bin\plugin.bat --url file:/PVR/Downloads/elasticsearch-readonlyrest-v1.3_es-v1.5.2.zip --install readonlyrest

```

If not working, create a plugins/readonlyrest dir in your es dir and unzip the zip content there.

---

<div class="post-metadata">

### Author: ![vilas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vilas/32/613_2.png) [@vilas](https://discuss.elastic.co/u/vilas)
#### Post date: [July 1, 2015, 3:41pm UTC](https://discuss.elastic.co/t/trouble-installing-elasticsearch-plugin/24670/3 "2015-07-01T15:41:17Z")

</div>

Thanks @dadoonet The command worked.

But when I start the Elasticsearch now, I get the following error.

```auto
{1.5.2}: Initialization Failed ...
1) NoSuchMethodError[org.elasticsearch.rest.BaseRestHandler.<init>(Lorg/elasticsearch/common/settings/Settings;Lorg/elasticsearch/client/Client;)V]

```

I assume this plugin is causing some issue. Any suggestions.

---

<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: [July 1, 2015, 4:00pm UTC](https://discuss.elastic.co/t/trouble-installing-elasticsearch-plugin/24670/4 "2015-07-01T16:00:09Z")

</div>

Might not be compatible with this version...

---

<div class="post-metadata">

### Author: ![vilas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vilas/32/613_2.png) [@vilas](https://discuss.elastic.co/u/vilas)
#### Post date: [July 1, 2015, 5:09pm UTC](https://discuss.elastic.co/t/trouble-installing-elasticsearch-plugin/24670/5 "2015-07-01T17:09:26Z")

</div>

Yes. It seems so.  
Plugin is available for different versions. **1.5.x plugin version _failed_ with Elasticsearch 1.5.2**

But the **1.4.x plugin version _worked_ with Elasticsearch 1.4.1**

I wonder if others facing the issue with 1.5.x plugin too.

---

<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 6, 2017, 12:04am UTC](https://discuss.elastic.co/t/trouble-installing-elasticsearch-plugin/24670/6 "2017-07-06T00:04:08Z")

</div>


