# Manual marvel plugin install not working

**URL:** <https://discuss.elastic.co/t/manual-marvel-plugin-install-not-working/34848>\
**Category:** Elasticsearch\
**Created:** [November 17, 2015, 8:52pm UTC](https://discuss.elastic.co/t/manual-marvel-plugin-install-not-working/34848 "2015-11-17T20:52:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Omar\_Al\_Zabir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/omar_al_zabir/32/5943_2.png) [@Omar\_Al\_Zabir](https://discuss.elastic.co/u/Omar_Al_Zabir)\
**Post date:** [November 17, 2015, 8:52pm UTC](https://discuss.elastic.co/t/manual-marvel-plugin-install-not-working/34848/1 "2015-11-17T20:52:18Z")

</div>

When I run:

```
./bin/plugin -i elasticsearch/marvel/latest

```

I get:

```
ERROR: unknown command [-i]. Use [-h] option to list available commands

```

When I try:

```
./bin/plugin install elasticsearch/marvel/latest

```

I get:

```
-> Installing elasticsearch/marvel/latest...
Trying https://download.elastic.co/elasticsearch/marvel/marvel-latest.zip ...
Trying https://search.maven.org/remotecontent?filepath=elasticsearch/marvel/latest/marvel-latest.zip ...
Trying https://oss.sonatype.org/service/local/repositories/releases/content/elasticsearch/marvel/latest/marvel-latest.zip ...
Trying https://github.com/elasticsearch/marvel/archive/latest.zip ...
Trying https://github.com/elasticsearch/marvel/archive/master.zip ...
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information

```

Detail error is Connection Refused.

When I download the marvel zip file and try the manual install instruction:

```
bin/plugin install file:///var/elasticsearch-2.0.0/marvel-1.3.1.zip

```

I get this:

```
Downloading ....................DONE
Verifying file:/var/elasticsearch-2.0.0/marvel-1.3.1.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip

```

Things are quite hard here.

---

<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:** [November 17, 2015, 9:26pm UTC](https://discuss.elastic.co/t/manual-marvel-plugin-install-not-working/34848/2 "2015-11-17T21:26:58Z")

</div>

> [@Omar\_Al\_Zabir](#):
>
> Things are quite hard here

Well not that much if you read the doc: [Installing Marvel | Marvel Documentation [2.4] | Elastic](https://www.elastic.co/guide/en/marvel/current/installing-marvel.html)

---

<div class="post-metadata">

**Author:** ![Omar\_Al\_Zabir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/omar_al_zabir/32/5943_2.png) [@Omar\_Al\_Zabir](https://discuss.elastic.co/u/Omar_Al_Zabir)\
**Post date:** [November 18, 2015, 3:31pm UTC](https://discuss.elastic.co/t/manual-marvel-plugin-install-not-working/34848/3 "2015-11-18T15:31:07Z")

</div>

I am afraid the instructions on that page is what I am trying. The elastic search installers fail, but the kibana one works:

```
$ bin/plugin install license file:///var/elasticsearch-2.0.0/license-2.0.0.zip
-> Installing license...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.0.0/license-2.0.0.zip ...
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information

```

You see it is trying to go to the internet to download this.

Only the kibana plugin installer is picking up the local file and working:

```
$ bin/kibana plugin --install marvel --url file:///var/elasticsearch-2.0.0/marvel-2.0.0.tar.gz
Installing marvel
Attempting to extract from file:///var/elasticsearch-2.0.0/marvel-2.0.0.tar.gz
Extraction complete
Optimizing and caching browser bundles...
Plugin installation complete

```

However, as I was writing this, I have found the problem. The documentation need to be updated. Here's the right command for offline installation:

```
plugin install file:/path/to/my-plugin-1.0.0.zip

```

The --help command shows the right instruction. The documentation is wrong.

Also there seems to be discrepancy in the way the bin/plugin works between elasticsearch, kibana, logstash. They have different parameters, different file:// syntax.

---

<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:** [November 18, 2015, 3:43pm UTC](https://discuss.elastic.co/t/manual-marvel-plugin-install-not-working/34848/4 "2015-11-18T15:43:02Z")

</div>

Either try:

```auto
bin/plugin install license

```

or

```auto
bin/plugin install file:///var/elasticsearch-2.0.0/license-2.0.0.zip

```

---

<div class="post-metadata">

**Author:** ![camel\_113](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@camel\_113](https://discuss.elastic.co/u/camel_113)\
**Post date:** [November 23, 2015, 4:14pm UTC](https://discuss.elastic.co/t/manual-marvel-plugin-install-not-working/34848/5 "2015-11-23T16:14:09Z")

</div>

It seems that there is a problem with the git repository called during the marvel plugin installation

> Trying [https://github.com/elasticsearch/marvel/archive/master.zip](https://github.com/elasticsearch/marvel/archive/master.zip) ...  
> Failed: FileNotFoundException[[https://github.com/elasticsearch/marvel/archive/master.zip](https://github.com/elasticsearch/marvel/archive/master.zip)]; nested: FileNotFoundException[[https://github.com/elasticsearch/marvel/archive/master.zip](https://github.com/elasticsearch/marvel/archive/master.zip)];

---

<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:** [November 23, 2015, 4:30pm UTC](https://discuss.elastic.co/t/manual-marvel-plugin-install-not-working/34848/6 "2015-11-23T16:30:19Z")

</div>

What are you exactly doing @camel_113 and with which elasticsearch version?

---

<div class="post-metadata">

**Author:** ![camel\_113](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@camel\_113](https://discuss.elastic.co/u/camel_113)\
**Post date:** [November 23, 2015, 4:32pm UTC](https://discuss.elastic.co/t/manual-marvel-plugin-install-not-working/34848/7 "2015-11-23T16:32:28Z")

</div>

Ok I apologize, I probably did the same mistake as @Omar_Al_Zabir (I guess) :-). I followed the Elasticsearch Definitive Guide whis is valid for version 1.4 😢 sorry... But maybe it should be specified Elasticsearch: The Definitive Guide[1.4] 😋

---

<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, 11:36pm UTC](https://discuss.elastic.co/t/manual-marvel-plugin-install-not-working/34848/8 "2017-07-05T23:36:31Z")

</div>


