petalmd / armor

Apache License 2.0
15 stars 8 forks source link

elasticsearch plugin install fails with file not found exception #5

Closed etfeet closed 8 years ago

etfeet commented 8 years ago

When attempting to install using elasticsearch plugin, elasticsearch plugin throws a file not found exception:

/usr/share/elasticsearch/bin/plugin -i com.petalmd/armor --verbose -> Installing com.petalmd/armor... Trying https://github.com/com.petalmd/armor/archive/master.zip... Failed: IOException[Can't get https://github.com/com.petalmd/armor/archive/master.zip to /usr/share/elasticsearch/plugins/armor.zip]; nested: FileNotFoundException[https://github.com/com.petalmd/armor/archive/master.zip]; nested: FileNotFoundException[https://github.com/com.petalmd/armor/archive/master.zip]; Failed to install com.petalmd/armor, reason: failed to download out of all possible locations..., use --verbose to get detailed information

jmaitrehenry commented 8 years ago

You need to add the version: plugin -i com.petalmd/armor/1.7.0.

I will check for having it without version if it's possible.

Envoyé de mon iPhone

Le 12 nov. 2015 à 18:45, etfeet notifications@github.com a écrit :

When attempting to install using elasticsearch plugin, elasticsearch plugin throws a file not found exception:

/usr/share/elasticsearch/bin/plugin -i com.petalmd/armor --verbose -> Installing com.petalmd/armor... Trying https://github.com/com.petalmd/armor/archive/master.zip... Failed: IOException[Can't get https://github.com/com.petalmd/armor/archive/master.zip to /usr/share/elasticsearch/plugins/armor.zip]; nested: FileNotFoundException[https://github.com/com.petalmd/armor/archive/master.zip]; nested: FileNotFoundException[https://github.com/com.petalmd/armor/archive/master.zip]; Failed to install com.petalmd/armor, reason: failed to download out of all possible locations..., use --verbose to get detailed information

— Reply to this email directly or view it on GitHub.

etfeet commented 8 years ago

that fixed it. thanks!