Reputation: 13299
Because my Elasticsearch server is behind a proxy, I can't directly install plugins using the command under bin.
So I tried uncompressing some of them in the plugins directory, with no luck.
Specifically I tried this https://github.com/jprante/elasticsearch-knapsack and I can't get it to work.
Any help?
Upvotes: 21
Views: 46684
Reputation: 79
I installed elasticsearch using Homebrew on my Mac and was getting this ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip. The bin directory is /usr/local/Cellar/elasticsearch/2.0.0_1/bin I did sudo plugin install license first then sudo plugin install marvel-agent and this solved the problem. https://www.elastic.co/guide/en/marvel/current/installing-marvel.html
Upvotes: 0
Reputation: 49
Many times, when using Linux inside a Proxied network, I had to install cNTLM or some other software proxy. Anyway, what worked for me is to download the file with the Plugin (ZIP, TAR.GF, whatever) and then just unzip it on the plugins directory. Check file permissions, and you are good to go.
Upvotes: 0
Reputation: 91
I have used the following to install the plugin behind the firewall:
bin/plugin -DproxyHost=myproxy.proxy.com -DproxyPort=80 --install lmenezes/elasticsearch-kopf
Upvotes: 9
Reputation: 30163
Typically uncompressing the plugin file into plugins directory should work as long as file access rights are not messed up. To verify that plugin is installed correctly check that elasticsearch home directory contains directory called plugins/knapsack
and that this directory contains two files: commons-compress-1.4.1.jar
and elasticsearch-knapsack-2.1.2.jar
You can also download plugin zip file to a temporary location and then install it by specifying path to it using --url
parameter:
bin/plugin --install knapsack --url file:///Full/Path/To/elasticsearch-knapsack-2.1.2.zip
See Plugins documentation for more information.
Upvotes: 32