Manual marvel plugin install not working

When I run:

./bin/plugin -i elasticsearch/marvel/latest

I get:

ERROR: unknown command [-i]. Use [-h] option to list available commands

When I try:

./bin/plugin install elasticsearch/marvel/latest

I get:

-> Installing elasticsearch/marvel/latest...
Trying ...
Trying ...
Trying ...
Trying ...
Trying ...
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information

Detail error is Connection Refused.

When I download the marvel zip file and try the manual install instruction:

bin/plugin install file:///var/elasticsearch-2.0.0/

I get this:

Downloading ....................DONE
Verifying file:/var/elasticsearch-2.0.0/ checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
ERROR: Could not find plugin descriptor '' in plugin zip

Things are quite hard here.

Well not that much if you read the doc:

I am afraid the instructions on that page is what I am trying. The elastic search installers fail, but the kibana one works:

$  bin/plugin install license file:///var/elasticsearch-2.0.0/
-> Installing license...
Trying ...
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information

You see it is trying to go to the internet to download this.

Only the kibana plugin installer is picking up the local file and working:

$ bin/kibana plugin --install marvel --url file:///var/elasticsearch-2.0.0/marvel-2.0.0.tar.gz
Installing marvel
Attempting to extract from file:///var/elasticsearch-2.0.0/marvel-2.0.0.tar.gz
Extraction complete
Optimizing and caching browser bundles...
Plugin installation complete

However, as I was writing this, I have found the problem. The documentation need to be updated. Here's the right command for offline installation:

plugin install file:/path/to/

The --help command shows the right instruction. The documentation is wrong.

Also there seems to be discrepancy in the way the bin/plugin works between elasticsearch, kibana, logstash. They have different parameters, different file:// syntax.

Either try:

bin/plugin install license


bin/plugin install file:///var/elasticsearch-2.0.0/

It seems that there is a problem with the git repository called during the marvel plugin installation

Trying ...
Failed: FileNotFoundException[]; nested: FileNotFoundException[];

What are you exactly doing @camel_113 and with which elasticsearch version?

Ok I apologize, I probably did the same mistake as @Omar_Al_Zabir (I guess) :-). I followed the Elasticsearch Definitive Guide whis is valid for version 1.4 :cry: sorry... But maybe it should be specified Elasticsearch: The Definitive Guide[1.4] :yum: