lmenezes / elasticsearch-kopf

web admin interface for elasticsearch
MIT License
2.41k stars 332 forks source link

ERROR: Unknown command [lmenezes/elasticsearch-kopf] #400

Closed land-pack closed 6 years ago

land-pack commented 6 years ago

My elasticsearch work fine, but when i install the plugin, just show me error!

landpacks-MacBook-Pro:bin frank$ which elasticsearch-plugin
/usr/local/bin/elasticsearch-plugin
landpacks-MacBook-Pro:bin frank$ elasticsearch-plugin lmenezes/elasticsearch-kopf
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 command [lmenezes/elasticsearch-kopf]

Anyone have meet this?

up-town-down commented 6 years ago

As the error is telling you, you've not used a keyword, presumably in this case you want "install"?

land-pack commented 6 years ago

I have tried a variety of possible spelling, still can not follow. I miss install just when a put code here..sorry! I have try again still given me error

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
up-town-down commented 6 years ago

Have you read the readme.md? You haven't included a version or branch.

land-pack commented 6 years ago

I have try again with branch/version still no found the plugin ~~

elasticsearch-plugin install 'lmenezes/elasticsearch-kopf/2.0|v2.1.1'
elasticsearch-plugin install lmenezes/elasticsearch-kopf/2.0_v2.1.1
elasticsearch-plugin install lmenezes/elasticsearch-kopf/2.0/v2.1.1
elasticsearch-plugin install lmenezes/elasticsearch-kopf/2.0v2.1.1

Show me the same error ~

up-town-down commented 6 years ago

It's branch OR version number, not both ☺

E.g.

-kopf/master -kopf/2.0 -kopf/v2.1.1

land-pack commented 6 years ago

I have check the install script, and got a url , i try to ping it but show me Unknown host, it's the reason?

landpacks-MacBook-Pro:code frank$ org.elasticsearch.plugins.PluginCli
-bash: org.elasticsearch.plugins.PluginCli: command not found
landpacks-MacBook-Pro:code frank$ ping org.elasticsearch.plugins.PluginCli
ping: cannot resolve org.elasticsearch.plugins.PluginCli: Unknown host
landpacks-MacBook-Pro:code frank$ ping org.elasticsearch.plugins
ping: cannot resolve org.elasticsearch.plugins: Unknown host
landpacks-MacBook-Pro:code frank$ ping org.elasticsearch
ping: cannot resolve org.elasticsearch: Unknown host
landpacks-MacBook-Pro:code frank$ 

I also try the you way with:

landpacks-MacBook-Pro:code frank$ elasticsearch-plugin install lmenezes/elasticsearch-kopf/2.4.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.4.1
landpacks-MacBook-Pro:code frank$ elasticsearch-plugin install lmenezes/elasticsearch-kopf/master
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/master
landpacks-MacBook-Pro:code frank$ elasticsearch-plugin install lmenezes/elasticsearch-kopf/2.0
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.0
landpacks-MacBook-Pro:code frank$ 

Anyway! Thank you for you response ~

up-town-down commented 6 years ago

Hmmm if you can't reach the server, that probably explains why none of the plugin names appear valid. Are you behind a corporate proxy/firewall?

If so you should be able to download the release zip file you want manually from github and expand it into the directory on the elastic search server. I can't remember the exact location it has to go into as it's a while since I've used pre 5.x elastic but it should be fairly easy to Google manual plugin installation

land-pack commented 6 years ago

Strange, i can install x-pack

landpacks-MacBook-Pro:code frank$ elasticsearch-plugin install x-pack
-> Downloading x-pack from elastic
[====>                                            ] 10%  
up-town-down commented 6 years ago

What version of elastic search is this?

land-pack commented 6 years ago

Hey! I installed the elasticsearch on my Mac by brew, current version show as below:

landpacks-MacBook-Pro:bin frank$ elasticsearch -version
Version: 5.6.3, Build: 1a2f265/2017-10-06T20:33:39.012Z, JVM: 1.8.0_31
up-town-down commented 6 years ago

Ah that makes sense, site plugins have been removed from es 5.x if you look at the readme you'll have to use a run locally method or switch to cerebro 🙂

land-pack commented 6 years ago

Okay! Is there any plugin replace kopf ?

g6n commented 6 years ago

Try cerebro

On 28 Nov 2017, at 12:45, Frank AK notifications@github.com<mailto:notifications@github.com> wrote:

Okay! Is there any plugin replace kopf ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/lmenezes/elasticsearch-kopf/issues/400#issuecomment-347512693, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVfumLQwV0g-Td6jOvK40bQpKBk9xfmAks5s7AB9gaJpZM4Qpfym.