# Can´t install Shield

**URL:** <https://discuss.elastic.co/t/can-t-install-shield/36316>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [December 3, 2015, 7:09pm UTC](https://discuss.elastic.co/t/can-t-install-shield/36316 "2015-12-03T19:09:12Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![OscarCrespo](https://avatars.discourse-cdn.com/v4/letter/o/3da27b/32.png) [@OscarCrespo](https://discuss.elastic.co/u/OscarCrespo)\
**Post date:** [December 3, 2015, 7:09pm UTC](https://discuss.elastic.co/t/can-t-install-shield/36316/1 "2015-12-03T19:09:12Z")

</div>

hi, i had installed "shield" but failed. uninstall it to install it again, but I can not, it displays the following error: "failed to download out of all possible locations" .

How I can reinstall it?

---

<div class="post-metadata">

**Author:** ![jaymode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaymode/32/50103_2.png) [@jaymode](https://discuss.elastic.co/u/jaymode)\
**Post date:** [December 3, 2015, 7:22pm UTC](https://discuss.elastic.co/t/can-t-install-shield/36316/2 "2015-12-03T19:22:50Z")

</div>

Hi Oscar,

Can you please provide more information such as your elasticsearch version and the command you are running to install Shield?

---

<div class="post-metadata">

**Author:** ![OscarCrespo](https://avatars.discourse-cdn.com/v4/letter/o/3da27b/32.png) [@OscarCrespo](https://discuss.elastic.co/u/OscarCrespo)\
**Post date:** [December 3, 2015, 7:35pm UTC](https://discuss.elastic.co/t/can-t-install-shield/36316/3 "2015-12-03T19:35:22Z")

</div>

i have install elasticsearch 2.1 and run for install shield:  
bin/plugin install license  
bin/plugin install shield

---

<div class="post-metadata">

**Author:** ![jaymode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaymode/32/50103_2.png) [@jaymode](https://discuss.elastic.co/u/jaymode)\
**Post date:** [December 3, 2015, 8:10pm UTC](https://discuss.elastic.co/t/can-t-install-shield/36316/4 "2015-12-03T20:10:37Z")

</div>

Is there any other output from the command? If there is, it will be helpful.

Also are you behind a firewall or proxy?

---

<div class="post-metadata">

**Author:** ![OscarCrespo](https://avatars.discourse-cdn.com/v4/letter/o/3da27b/32.png) [@OscarCrespo](https://discuss.elastic.co/u/OscarCrespo)\
**Post date:** [December 4, 2015, 4:24pm UTC](https://discuss.elastic.co/t/can-t-install-shield/36316/5 "2015-12-04T16:24:47Z")

</div>

i behind a firewall, also download the zip for offline installation but not installed. I use bin / plugin --install file: ///path/to/license-2.1.zip and displays the same error

---

<div class="post-metadata">

**Author:** ![OscarCrespo](https://avatars.discourse-cdn.com/v4/letter/o/3da27b/32.png) [@OscarCrespo](https://discuss.elastic.co/u/OscarCrespo)\
**Post date:** [December 7, 2015, 5:29pm UTC](https://discuss.elastic.co/t/can-t-install-shield/36316/6 "2015-12-07T17:29:04Z")

</div>

this is the error:

Installing license...  
Trying [https://github.com/null/license/archive/master.zip](https://github.com/null/license/archive/master.zip)...  
Failed: IOException[Can't get [https://github.com/null/license/archive/master.zip](https://github.com/null/license/archive/master.zip) to /usr/share/elasticsearch/plugins/license.zip]; nested: FileNotFoundException[[https://github.com/null/license/archive/master.zip](https://github.com/null/license/archive/master.zip)]; nested: FileNotFoundException[[https://github.com/null/license/archive/master.zip](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

---

<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:22pm UTC](https://discuss.elastic.co/t/can-t-install-shield/36316/7 "2016-02-25T12:22:37Z")

</div>

I am also 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:32pm UTC](https://discuss.elastic.co/t/can-t-install-shield/36316/8 "2016-02-25T12:32:21Z")

</div>

The github username seems to be missing (coming as "null").  
Who's account are the plugins in?

---

<div class="post-metadata">

**Author:** ![skearns](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skearns/32/125945_2.png) [@skearns](https://discuss.elastic.co/u/skearns)\
**Post date:** [February 25, 2016, 6:46pm UTC](https://discuss.elastic.co/t/can-t-install-shield/36316/9 "2016-02-25T18:46:40Z")

</div>

Can you share what version of ES you are using, the exact command you are running, and the full output?

---

<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 26, 2016, 9:19am UTC](https://discuss.elastic.co/t/can-t-install-shield/36316/10 "2016-02-26T09:19:14Z")

</div>

Version: 1.7.5, Build: 00f95f4/2016-02-02T09:55:30Z, JVM: 1.7.0\_80  
`sudo bin/plugin install license -v -> Installing license... Trying https://github.com/null/license/archive/master.zip... Failed: IOException[Can't get https://github.com/null/license/archive/master.zip to /usr/share/elasticsearch/plugins/license.zip]; nested: FileNotFoundException[https://github.com/null/license/archive/master.zip]; nested: FileNotFoundException[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`

---

<div class="post-metadata">

**Author:** ![jaymode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaymode/32/50103_2.png) [@jaymode](https://discuss.elastic.co/u/jaymode)\
**Post date:** [February 26, 2016, 11:43am UTC](https://discuss.elastic.co/t/can-t-install-shield/36316/11 "2016-02-26T11:43:48Z")

</div>

@rdign you need to use a different command for installing shield and license on version 1.x of elasticsearch. The latest version of Shield that is compatible with Elasticsearch 1.7 is Shield 1.3.3. The installation instructions for this version of shield can be found at [https://www.elastic.co/guide/en/shield/shield-1.3/getting-started.html](https://www.elastic.co/guide/en/shield/shield-1.3/getting-started.html)

Note: if you are using a RPM/DEB installation of elasticsearch use the following instructions [https://www.elastic.co/guide/en/shield/shield-1.3/installing-shield.html#deb-rpm-install](https://www.elastic.co/guide/en/shield/shield-1.3/installing-shield.html#deb-rpm-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 26, 2016, 11:59am UTC](https://discuss.elastic.co/t/can-t-install-shield/36316/12 "2016-02-26T11:59:02Z")

</div>

Aah I see, ok, I think I will simply consider moving up the version 🙂  
Thank you for the quick response

---

<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, 1:46pm UTC](https://discuss.elastic.co/t/can-t-install-shield/36316/13 "2017-07-06T13:46:21Z")

</div>


