2016-11-23 98 views
0

我已經安裝了ElasticSearch 1.7並且想要安裝marvel,bellow命令來安裝許可證。Elasticsearch 1.7安裝奇蹟代理程序失敗

sudo bin/plugin --install mobz/elasticsearch-head --verbose 

但安裝奇蹟本身失敗:

[email protected]:/usr/share/elasticsearch$ sudo bin/plugin install marvel-agent 
-> Installing marvel-agent... 
Trying https://github.com/null/marvel-agent/archive/master.zip... 
Failed to install marvel-agent, reason: failed to download out of all possible locations..., use --verbose to get detailed information 

如何解決這個問題? 與--verbose發生這種情況[email protected]:/usr/share/elasticsearch$ sudo bin/plugin install marvel-agent --verbose -> Installing marvel-agent... Trying https://github.com/null/marvel-agent/archive/master.zip... Failed: IOException[Can't get https://github.com/null/marvel-agent/archive/master.zip to /usr/share/elasticsearch/plugins/marvel-agent.zip]; nested: FileNotFoundException[https://github.com/null/marvel-agent/archive/master.zip]; nested: FileNotFoundException[https://github.com/null/marvel-agent/archive/master.zip]; Failed to install marvel-agent, reason: failed to download out of all possible locations..., use --verbose to get detailed information

+0

嘗試'--verbose'的建議?名爲_null_的github組織看起來很奇怪。 – StephenKing

+0

@StephenKing用'--verbose'它也會失敗。 – jones

+0

毫不奇怪,它也失敗了;-) – StephenKing

回答

2

對於Elasticsearch 1.7,正確的命令是比2.x的不同:

bin/plugin -i elasticsearch/marvel/latest 
+0

真棒謝謝。有效 – robert