# How to install Marvel on Elasticsearch 2.1.1

**URL:** <https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884>\
**Category:** Elasticsearch\
**Created:** [January 22, 2016, 2:00pm UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884 "2016-01-22T14:00:45Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![pradeeptp](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@pradeeptp](https://discuss.elastic.co/u/pradeeptp)\
**Post date:** [January 22, 2016, 2:00pm UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884/1 "2016-01-22T14:00:45Z")

</div>

I have installed Elasticsearch on Windows 7 and I am working on command prompt started as "Run as Administrator"

I started following the video "Getting started with Elasticsearch" on Elasticsearch tutorial web site. The video seems to be out of date w.r.t the latest version which is 2.1.1. the video shows how to install marvel. But I tried the same command but I am facing many issues:

1. There is no "-i" option anymore so I had to give "install" option.
2. I executed the command "plugin install elasticsearch/marvel/latest --verbose", but I am getting the following errors:

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

I have tried to set the proxy at the command line by executing "set http\_proxy=[proxy.name:8080](http://proxy.name:8080)". except one thread in [Stackoverflow.com](http://Stackoverflow.com), I have not found mention of this error and its solution anywhere. Can anybody help me understand and fix this issue please?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 24, 2016, 3:59am UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884/2 "2016-01-24T03:59:32Z")

</div>

Per [https://www.elastic.co/guide/en/marvel/current/installing-marvel.html;](https://www.elastic.co/guide/en/marvel/current/installing-marvel.html;)

```auto
sudo bin/plugin install license
sudo bin/plugin install marvel-agent

```

---

<div class="post-metadata">

**Author:** ![pradeeptp](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@pradeeptp](https://discuss.elastic.co/u/pradeeptp)\
**Post date:** [January 25, 2016, 9:15am UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884/3 "2016-01-25T09:15:30Z")

</div>

As mentioned in my post, I am using Elasticsearch on Windows 7. I executed the following command, but I am getting similar error

D:\ElasticSearch\bin\>plugin install license --verbose  
-\> Installing license...  
Trying [https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.1.1/license-2.1.1.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.1.1/license-2.1.1.zip) ...  
Failed: SocketTimeoutException[connect timed out]  
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information

---

<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:** [January 25, 2016, 9:35am UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884/4 "2016-01-25T09:35:26Z")

</div>

Probably you are running behind a proxy or so?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 25, 2016, 10:11am UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884/5 "2016-01-25T10:11:22Z")

</div>

Yeah, just cause you are on Windows doesn't mean you have different commands.

---

<div class="post-metadata">

**Author:** ![pradeeptp](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@pradeeptp](https://discuss.elastic.co/u/pradeeptp)\
**Post date:** [January 25, 2016, 10:59am UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884/6 "2016-01-25T10:59:12Z")

</div>

If you read my original post, I have mentioned about setting up the proxy server. I am behind proxy server, but I mentioned the proxy server through settings. It has not helped me either.

---

<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:** [January 25, 2016, 11:12am UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884/7 "2016-01-25T11:12:02Z")

</div>

Read this: [https://www.elastic.co/guide/en/elasticsearch/plugins/current/\_other\_command\_line\_parameters.html#\_proxy\_settings](https://www.elastic.co/guide/en/elasticsearch/plugins/current/_other_command_line_parameters.html#_proxy_settings)

---

<div class="post-metadata">

**Author:** ![pradeeptp](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@pradeeptp](https://discuss.elastic.co/u/pradeeptp)\
**Post date:** [January 25, 2016, 12:42pm UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884/8 "2016-01-25T12:42:19Z")

</div>

I have tried setting up the proxy as mentioned on the URL you have mentioned, but I am still getting the error. This problem seems to be with downloading the .zip file through command prompt, because if I try to download (by pasting the .zip url on address bar) through the web browser, then I am able to download. Any other suggestion? . 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:** [January 25, 2016, 1:14pm UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884/9 "2016-01-25T13:14:26Z")

</div>

It's because your browser has the proxy setup correctly I guess.

You can install the plugin manually once you have downloaded it:

```auto
bin/plugin install file:path/to/plugin.zip

```

---

<div class="post-metadata">

**Author:** ![pradeeptp](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@pradeeptp](https://discuss.elastic.co/u/pradeeptp)\
**Post date:** [January 25, 2016, 1:50pm UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884/10 "2016-01-25T13:50:19Z")

</div>

I tried to install from the .zip file, but it seems there are other supporting .zip files which it tries to download from the internet and fails with the error messages for the supporting files. In this case, the error relates to missing files, **not** the error "Failed: SocketTimeoutException[connect timed out]". I am pasting the entire output below. So, this time the error seems to be that of a missing file. (I copied the license-2.1.1.zip file in the bin folder).

D:\ElasticSearch\bin\>plugin install license-2.1.1.zip  
-\> Installing license-2.1.1.zip...  
Trying [https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license-2.1.1.zip/2.1.1/license-2.1.1.zip-2.1.1.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license-2.1.1.zip/2.1.1/license-2.1.1.zip-2.1.1.zip) ...  
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 25, 2016, 10:52pm UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884/11 "2016-01-25T22:52:54Z")

</div>

Please, [read the docs](https://www.elastic.co/guide/en/marvel/current/installing-marvel.html#offline-installation).

They explicitly tell you what you need to.

---

<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:** [January 25, 2016, 11:18pm UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884/12 "2016-01-25T23:18:07Z")

</div>

Yeah as I wrote, don't forget file:

---

<div class="post-metadata">

**Author:** ![pradeeptp](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@pradeeptp](https://discuss.elastic.co/u/pradeeptp)\
**Post date:** [January 26, 2016, 8:19am UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884/13 "2016-01-26T08:19:54Z")

</div>

Thank you so much dadoonet. Your instruction on installing from .zip file was correct. I was doing the mistake of not including 'file:' in my command. After I included 'file:' in the command, it started working without any error. I have now installed marvel from .zip file as instructed in the URL given by warkolm. Thank you once again to all of you work helping me 🙂

---

<div class="post-metadata">

**Author:** ![PZ-cs](https://avatars.discourse-cdn.com/v4/letter/p/5fc32e/32.png) [@PZ-cs](https://discuss.elastic.co/u/PZ-cs)\
**Post date:** [January 28, 2016, 3:05pm UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884/14 "2016-01-28T15:05:03Z")

</div>

I am solving the same problem. I mean installing marvel plugin2.1.1 on windows 7 without connectivity but without success. I tried different variation of path to zip file i.e.

plugin install -v file:///c:\pracovni\ElasticSearch\2.1.1\plugins\license-2.1.1.zip

response is:

Downloading .DONE  
Verifying file:/c:/pracovni/ElasticSearch/2.1.1/plugins/license-2.1.1.zip checks  
ums if available ...  
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .  
md5 file to verify)

- Plugin information:  
Name: license  
Description: Internal Elasticsearch Licensing Plugin  
Site: false  
Version: 2.1.1  
JVM: true

- Classname: org.elasticsearch.license.plugin.LicensePlugin
- Isolated: false  
ERROR: c:\pracovni\ElasticSearch\2.1.1\plugins\license-2.1.1.zip\plugin-descriptor.properties

Thanks for advice. Pavel

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 28, 2016, 9:29pm UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884/15 "2016-01-28T21:29:06Z")

</div>

Please start your own thread, this appears to be a different problem.

---

<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:20pm UTC](https://discuss.elastic.co/t/how-to-install-marvel-on-elasticsearch-2-1-1/39884/16 "2017-07-05T23:20:37Z")

</div>


