Can´t install Shield

security

(Oscar Crespo Couoh) #1

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?


(Jay Modi) #2

Hi Oscar,

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


(Oscar Crespo Couoh) #3

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


(Jay Modi) #4

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

Also are you behind a firewall or proxy?


(Oscar Crespo Couoh) #5

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


(Oscar Crespo Couoh) #6

this is the error:

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


(Rishi) #7

I am also getting this with the 2.2.0 install.


(Rishi) #8

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


(Steve Kearns) #9

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


(Rishi) #10

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


(Jay Modi) #11

@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

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


(Rishi) #12

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


(system) #13