Actually i have elasticsearch 5.1.1 and tried downloading kopf plugin with the following commands and i got a error like this ..Can u help me in solving this problem??
C:\Users\896323\Downloads\elasticsearch-5.1.1\elasticsearch-5.1.1\bin>plugin install lmenezes/elasticsearch-kopf/2.1.1 A tool for managing installed elasticsearch plugins
Commands
- list - Lists installed elasticsearch plugins
- install - Install a plugin
- remove - Removes a plugin from elasticsearch
Non-option arguments: command
Option Description ------ -----------
- -h, --help show help
- -s, --silent show minimal output
- -v, --verbose show verbose output
ERROR: Unknown plugin lmenezes/elasticsearch-kopf/2.1.1
The plugin you are trying to use is not compatible with your elasticsearch version 5.x.
Further there is no compatible depency for the plugin uri "lmenezes/elasticsearch-kopf/2.1.1" which results to your already mentioned error "Unknown plugin lmenezes/elasticsearch-kopf/2.1.1". Additional plugin uri depencies are unknowen and not commited by producers.
I was trying to use a localy kopf plugin outsite the plugins space of elasticsearch with but thats not working correctly without configurations.
The alternative plugin Head is not available for es version 5.1 too which makes it worse.
If somebody knows some good alternatives beside an own custom modification of those plugins i would be glad.
Solution 1 :
Use a standalone head plugin which is described here: https://github.com/mobz/elasticsearch-head#running-with-built-in-server
The important part is to enable cors for your es-5.x
Solution 2 : Use a standalone kopf plugin from here : https://github.com/lmenezes/elasticsearch-kopf/blob/master/README.md
Step 1
git clone git://github.com/lmenezes/elasticsearch-kopf.git
Step 2
Modifiy the elasticsearch.yml
Step 3 Add a property for elasticsearch port in
_site/kopf_external_settings.json
. sampleModify javascript of _site/dist/kopf.js
1- Add a constant for the port value beginning in line
5562
2- Add a getter for the property beginning in line
5615
3- Replace
$location.port();
withExternalSettingsService.getElasticsearchPort();
on line1269
4- avoid the nervouse amount of version compatibility alerts beginning on line
1215
sample could be a different version , though throw the alert once