# Cant install Marvel License

**URL:** <https://discuss.elastic.co/t/cant-install-marvel-license/33352>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [October 30, 2015, 9:39am UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352 "2015-10-30T09:39:02Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnixanSkystalkr](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@AnixanSkystalkr](https://discuss.elastic.co/u/AnixanSkystalkr)\
**Post date:** [October 30, 2015, 9:39am UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/1 "2015-10-30T09:39:02Z")

</div>

Hi,

I am attempting to install the Marvel License and it gives me the following errors:

**Standard Install**

```
sudo bin/plugin install license

```

Error:

```
-> Installing license...
Trying https://github.com/null/license/archive/master.zip...
Failed to install license, reason: failed to download out of all possible locations..., use --verbose to get detailed information

```

**Offline Install**

```
sudo bin/plugin install license file:license-2.0.0.zip
sudo bin/plugin install license file:///license-2.0.0.zip

```

Both give this error:

```
Command [file:license-2.0.0.zip] unknown.

```

I don't understand as when I view the commands available "File" is not an optional parameter but the documentation states to use it.

Can someone please help?

Thanks

---

<div class="post-metadata">

**Author:** ![risbac](https://avatars.discourse-cdn.com/v4/letter/r/e274bd/32.png) [@risbac](https://discuss.elastic.co/u/risbac)\
**Post date:** [October 30, 2015, 9:45am UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/2 "2015-10-30T09:45:18Z")

</div>

Same problem here. Can't download from the internet.

After downloading the zip file, and trying this command : sudo bin/plugin install licence file:///home/tissanfr/temp/license-2.0.0.zip

"Trying [https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/licence/2.0.0/licence-2.0.0.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/licence/2.0.0/licence-2.0.0.zip) ...  
ERROR: failed to download out of all possible locations..."

It's still trying to get it online, I don't know why.

---

<div class="post-metadata">

**Author:** ![risbac](https://avatars.discourse-cdn.com/v4/letter/r/e274bd/32.png) [@risbac](https://discuss.elastic.co/u/risbac)\
**Post date:** [October 30, 2015, 9:48am UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/3 "2015-10-30T09:48:42Z")

</div>

ok, this command seems to be working better here 😄

"sudo bin/plugin install file:/home/tissanfr/temp/license-2.0.0.zip"

The doc here [https://www.elastic.co/guide/en/marvel/current/installing-marvel.html#offline-installation](https://www.elastic.co/guide/en/marvel/current/installing-marvel.html#offline-installation) says  
"bin/plugin install license file:///path/to/file/license-2.0.0.zip"

So maybe it should be fixed !

---

<div class="post-metadata">

**Author:** ![AnixanSkystalkr](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@AnixanSkystalkr](https://discuss.elastic.co/u/AnixanSkystalkr)\
**Post date:** [October 30, 2015, 9:57am UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/4 "2015-10-30T09:57:58Z")

</div>

I have tried that and I do get a little further but still get the error below:

```
-> Installing file:/usr/share/elasticsearch/license-2.0.0.zip...
Trying http://download.elasticsearch.org/file:/usr/usr-share.zip...
Trying http://search.maven.org/remotecontent?filepath=file:/usr/share/usr-share.zip...
Trying https://oss.sonatype.org/service/local/repositories/releases/content/file:/usr/share/usr-share.zip...
Trying https://github.com/file:/usr/archive/share.zip...
Trying https://github.com/file:/usr/archive/master.zip...
Failed to install file:/usr/share/elasticsearch/license-2.0.0.zip, reason: failed to download out of all possible locations..., use --verbose to get detailed information
```

---

<div class="post-metadata">

**Author:** ![AnixanSkystalkr](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@AnixanSkystalkr](https://discuss.elastic.co/u/AnixanSkystalkr)\
**Post date:** [October 30, 2015, 10:01am UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/5 "2015-10-30T10:01:11Z")

</div>

This is the verbose output:

```
-> Installing file:/usr/share/elasticsearch/license-2.0.0.zip...
Trying http://download.elasticsearch.org/file:/usr/usr-share.zip...
Failed: IOException[Can't get http://download.elasticsearch.org/file:/usr/usr-share.zip to /usr/share/elasticsearch/plugins/usr.zip]; nested: FileNotFoundException[http://download.elasticsearch.org/file:/usr/usr-share.zip]; nested: FileNotFoundException[http://download.elasticsearch.org/file:/usr/usr-share.zip]; 
Trying http://search.maven.org/remotecontent?filepath=file:/usr/share/usr-share.zip...
Failed: IOException[Can't get http://search.maven.org/remotecontent?filepath=file:/usr/share/usr-share.zip to /usr/share/elasticsearch/plugins/usr.zip]; nested: FileNotFoundException[https://repo1.maven.org/maven2/file:/usr/share/usr-share.zip]; nested: FileNotFoundException[https://repo1.maven.org/maven2/file:/usr/share/usr-share.zip]; 
Trying https://oss.sonatype.org/service/local/repositories/releases/content/file:/usr/share/usr-share.zip...
Failed: IOException[Can't get https://oss.sonatype.org/service/local/repositories/releases/content/file:/usr/share/usr-share.zip to /usr/share/elasticsearch/plugins/usr.zip]; nested: FileNotFoundException[https://oss.sonatype.org/service/local/repositories/releases/content/file:/usr/share/usr-share.zip]; nested: FileNotFoundException[https://oss.sonatype.org/service/local/repositories/releases/content/file:/usr/share/usr-share.zip]; 
Trying https://github.com/file:/usr/archive/share.zip...
Failed: IOException[Can't get https://github.com/file:/usr/archive/share.zip to /usr/share/elasticsearch/plugins/usr.zip]; nested: FileNotFoundException[https://github.com/file:/usr/archive/share.zip]; nested: FileNotFoundException[https://github.com/file:/usr/archive/share.zip]; 
Trying https://github.com/file:/usr/archive/master.zip...
Failed: IOException[Can't get https://github.com/file:/usr/archive/master.zip to /usr/share/elasticsearch/plugins/usr.zip]; nested: FileNotFoundException[https://github.com/file:/usr/archive/master.zip]; nested: FileNotFoundException[https://github.com/file:/usr/archive/master.zip]; 
Failed to install file:/usr/share/elasticsearch/license-2.0.0.zip, reason: failed to download out of all possible locations..., use --verbose to get detailed information
```

---

<div class="post-metadata">

**Author:** ![anhlqn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anhlqn/32/5454_2.png) [@anhlqn](https://discuss.elastic.co/u/anhlqn)\
**Post date:** [October 31, 2015, 6:41am UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/6 "2015-10-31T06:41:11Z")

</div>

bin/plugin install license file:///path/to/file/license-2.0.0.zip  
bin/plugin install marvel-agent file:///path/to/file/marvel-agent-2.0.0.zip  
bin/kibana plugin --install marvel --url file:///path/to/file/marvel-2.0.0.tar.gz

---

<div class="post-metadata">

**Author:** ![AnixanSkystalkr](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@AnixanSkystalkr](https://discuss.elastic.co/u/AnixanSkystalkr)\
**Post date:** [November 2, 2015, 8:53am UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/7 "2015-11-02T08:53:31Z")

</div>

Hi All,

I have tried the suggestion above but it really doesn't like the manual install process I ran the below and you can clearly see that even though I am adding the file location it still tries to download a file that doesn't exist:

```
/usr/share/elasticsearch/bin/plugin install marvel-agent file:///opt/marvel-agent-2.0.0.zip 
-> Installing marvel-agent...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel-agent/2.0.0-beta2/marvel-agent-2.0.0-beta2.zip ...
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information

```

Can somebody from Elastic please reply to this thread to help?

Thanks

---

<div class="post-metadata">

**Author:** ![AnixanSkystalkr](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@AnixanSkystalkr](https://discuss.elastic.co/u/AnixanSkystalkr)\
**Post date:** [November 2, 2015, 3:52pm UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/8 "2015-11-02T15:52:30Z")

</div>

Hi,

So got a bit further however disappointed at the lack of response on this forum from Elastic support ☹

I used the following command:

```
/usr/share/elasticsearch/bin/plugin install file:///opt/marvel-agent-2.0.0.zip

```

However now it seems that its saying Elastic search 2.0 is too old for some reason:

```
-> Installing from file:/opt/marvel-agent-2.0.0.zip...
Trying file:/opt/marvel-agent-2.0.0.zip ...
Downloading ..DONE
Verifying file:/opt/marvel-agent-2.0.0.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
ERROR: Elasticsearch version [2.0.0] is too old for plugin [marvel-agent]

```

Can anyone help as the documentation says I need Elasticsearch 2.0 or later which I have?

---

<div class="post-metadata">

**Author:** ![raamee](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raamee/32/5110_2.png) [@raamee](https://discuss.elastic.co/u/raamee)\
**Post date:** [November 4, 2015, 6:13pm UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/10 "2015-11-04T18:13:39Z")

</div>

Yes, even I have the same issue.

```
[root@localhost bin]# rpm -qa | grep elastic
elasticsearch-2.0.0-beta2_1.noarch

[root@localhost bin]# ./plugin install file:///usr/local/src/marvel-agent-2.0.0.zip 
-> Installing from file:/usr/local/src/marvel-agent-2.0.0.zip...
Trying file:/usr/local/src/marvel-agent-2.0.0.zip ...
Downloading ..DONE
Verifying file:/usr/local/src/marvel-agent-2.0.0.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
ERROR: Elasticsearch version [2.0.0] is too old for plugin [marvel-agent]
```

---

<div class="post-metadata">

**Author:** ![deepakas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepakas/32/697_2.png) [@deepakas](https://discuss.elastic.co/u/deepakas)\
**Post date:** [November 5, 2015, 4:07pm UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/11 "2015-11-05T16:07:31Z")

</div>

Even I have the same issue. It looks like yum install install the beta version instead of general release.

[root@datascience elasticsearch]# rpm -qa | grep elastic  
elasticsearch-2.0.0-beta2\_1.noarch  
[root@datascience elasticsearch]# bin/plugin install [https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel-agent/2.0.0/marvel-agent-2.0.0.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel-agent/2.0.0/marvel-agent-2.0.0.zip)  
-\> Installing from [https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel-agent/2.0.0/marvel-agent-2.0.0.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel-agent/2.0.0/marvel-agent-2.0.0.zip)...  
Trying [https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel-agent/2.0.0/marvel-agent-2.0.0.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel-agent/2.0.0/marvel-agent-2.0.0.zip) ...  
Downloading .........DONE  
Verifying [https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel-agent/2.0.0/marvel-agent-2.0.0.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel-agent/2.0.0/marvel-agent-2.0.0.zip) checksums if available ...  
Downloading .DONE  
ERROR: Elasticsearch version [2.0.0] is too old for plugin [marvel-agent]

---

<div class="post-metadata">

**Author:** ![deepakas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepakas/32/697_2.png) [@deepakas](https://discuss.elastic.co/u/deepakas)\
**Post date:** [November 5, 2015, 4:23pm UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/12 "2015-11-05T16:23:31Z")

</div>

It is working now as I manually installed elasticsearch2.0 version.

wget [https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/rpm/elasticsearch/2.0.0/elasticsearch-2.0.0.rpm](https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/rpm/elasticsearch/2.0.0/elasticsearch-2.0.0.rpm)

yum localinstall elasticsearch-2.0.0.rpm

---

<div class="post-metadata">

**Author:** ![weisong](https://avatars.discourse-cdn.com/v4/letter/w/8baadc/32.png) [@weisong](https://discuss.elastic.co/u/weisong)\
**Post date:** [November 12, 2015, 5:05am UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/13 "2015-11-12T05:05:43Z")

</div>

I also meet the same issue, I have downloaded the zip file, and using the following command to install:  
`bin/plugin install license file:///home/wesong/Downloads/license-2.0.0.zip `

then I will get the following error:  
`-> 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`

---

<div class="post-metadata">

**Author:** ![nachomezzadra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nachomezzadra/32/5889_2.png) [@nachomezzadra](https://discuss.elastic.co/u/nachomezzadra)\
**Post date:** [November 13, 2015, 1:40am UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/14 "2015-11-13T01:40:11Z")

</div>

Same here while installing Marvel itself:

```
plugin install marvel --verbose

```

> Trying [https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel/2.0.0/marvel-2.0.0.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel/2.0.0/marvel-2.0.0.zip) ...  
> Failed: FileNotFoundException[[https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel/2.0.0/marvel-2.0.0.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel/2.0.0/marvel-2.0.0.zip)]; nested: FileNotFoundException[[https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel/2.0.0/marvel-2.0.0.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel/2.0.0/marvel-2.0.0.zip)];  
> ERROR: failed to download out of all possible locations..., use --verbose to get detailed information  
> Service 'elasticsearch' failed to build: The command '/bin/sh -c plugin install marvel --verbose' returned a non-zero code: 74

---

<div class="post-metadata">

**Author:** ![qntn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qntn/32/7378_2.png) [@qntn](https://discuss.elastic.co/u/qntn)\
**Post date:** [February 9, 2016, 8:37am UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/15 "2016-02-09T08:37:30Z")

</div>

Has anyone found a solution on this ?

---

<div class="post-metadata">

**Author:** ![crickes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/crickes/32/18009_2.png) [@crickes](https://discuss.elastic.co/u/crickes)\
**Post date:** [February 9, 2016, 9:32am UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/16 "2016-02-09T09:32:09Z")

</div>

I'm getting this with the 2.2.0 install.

---

<div class="post-metadata">

**Author:** ![rdign](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@rdign](https://discuss.elastic.co/u/rdign)\
**Post date:** [February 25, 2016, 12:21pm UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/17 "2016-02-25T12:21:56Z")

</div>

I am also getting this with the 2.2.0 install.  
Is there any workaround? I would like to integrate this into our automated deploy.

---

<div class="post-metadata">

**Author:** ![kikkiraj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kikkiraj/32/8616_2.png) [@kikkiraj](https://discuss.elastic.co/u/kikkiraj)\
**Post date:** [March 22, 2016, 8:25pm UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/18 "2016-03-22T20:25:20Z")

</div>

I had same issue, this is what i did ( windows )

Check and uninstall any license under plugin folder

Run below command

step 1 : bin/plugin install license  
Step 2 : bin/plugin install marvel-agent

And it worked. Hope this is helpfull

---

<div class="post-metadata">

**Author:** ![chandan](https://avatars.discourse-cdn.com/v4/letter/c/f04885/32.png) [@chandan](https://discuss.elastic.co/u/chandan)\
**Post date:** [August 23, 2016, 4:03pm UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/19 "2016-08-23T16:03:36Z")

</div>

Try running with proxy if you are behind one.  
Go to your elasticsearch installation path. In my case \> /usr/share/elasticsearch

```
cd /usr/share/elasticsearch
bin/plugin -DproxyPort=<porxyPort> -DproxyHost=<proxyHostDNSorIP> install license
bin/plugin -DproxyPort=<porxyPort> -DproxyHost=<proxyHostDNSorIP> install shield

```

Thanks,

Chandan

---

<div class="post-metadata">

**Author:** ![nicolasazev](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@nicolasazev](https://discuss.elastic.co/u/nicolasazev)\
**Post date:** [December 13, 2016, 6:18pm UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/20 "2016-12-13T18:18:59Z")

</div>

Hey guys. I had the same issue.  
I got a solution without updating the ES version.

```auto
bin/plugin install license -u https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.4.3/license-2.4.3.zip

```

That worked for me! 😃

---

<div class="post-metadata">

**Author:** ![rajraja](https://avatars.discourse-cdn.com/v4/letter/r/dfb087/32.png) [@rajraja](https://discuss.elastic.co/u/rajraja)\
**Post date:** [January 18, 2017, 1:23pm UTC](https://discuss.elastic.co/t/cant-install-marvel-license/33352/21 "2017-01-18T13:23:44Z")

</div>

It is not working for me. Can someone suggest how to achieve this.

root@treselle-VirtualBox:/usr/share/elasticsearch# sudo bin/elasticsearch-plugin install license [https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.4.3/license-2.4.3.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.4.3/license-2.4.3.zip)  
A tool for managing installed elasticsearch plugins

## Commands

list - Lists installed elasticsearch plugins  
install - Install a plugin  
remove - Removes a plugin from elasticsearch

Non-option arguments:  
command

Option Description

* * *

-h, --help show help  
-s, --silent show minimal output  
-v, --verbose show verbose output  
ERROR: Found multiple arguments for option [arguments], but you asked for only one

Regards,  
Raja

[Next page](https://discuss.elastic.co/t/cant-install-marvel-license/33352.md?page=2)
