我已经安装了ElasticSearch 1.7,并希望安装marvel,bellow命令来安装许可证。
sudo bin/plugin --install mobz/elasticsearch-head --verbose
但安装marvel本身失败了:
vagrant@homestead:/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
发生了vagrant@homestead:/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 :(得分:2)
对于Elasticsearch 1.7,正确的命令与2.x:
不同bin/plugin -i elasticsearch/marvel/latest