无法访问 elasticsearch Kopf
Not able to access elasticsearch Kopf
我正在尝试安装 elasticsearch-kopf
当我运行:
plugin -install lmenezes/elasticsearch-kopf
我得到:
-> Installing lmenezes/elasticsearch-kopf...
Failed to install lmenezes/elasticsearch-kopf, reason: plugin directory /usr/local/var/lib/elasticsearch/plugins/kopf already exists. To update the plugin, uninstall it first using --remove lmenezes/elasticsearch-kopf command
但是,当我尝试在
中访问 Kopf 时
http://localhost:9200/_plugin/kopf/
我明白了:
This localhost page can’t be found
但是当我访问 elasticsearch 时:
http://localhost:9200/
我得到:
{
"name" : "Rachel van Helsing",
"cluster_name" : "elasticsearch",
"version" : {
"number" : "2.3.1",
"build_hash" : "bd980929010aef404e7cb0843e61d0665269fc39",
"build_timestamp" : "2016-04-04T12:25:05Z",
"build_snapshot" : false,
"lucene_version" : "5.5.0"
},
"tagline" : "You Know, for Search"
}
错误说明了一切
Failed to install lmenezes/elasticsearch-kopf, reason: plugin directory /usr/local/var/lib/elasticsearch/plugins/kopf already exists. To update the plugin, uninstall it first using --remove lmenezes/elasticsearch-kopf command
所以要么先用
删除它
plugin --remove lmenezes/elasticsearch-kopf
或者直接删除 kopf
文件夹
rm -rf /usr/local/var/lib/elasticsearch/plugins/kopf
那你应该可以正常安装了
我正在尝试安装 elasticsearch-kopf
当我运行:
plugin -install lmenezes/elasticsearch-kopf
我得到:
-> Installing lmenezes/elasticsearch-kopf...
Failed to install lmenezes/elasticsearch-kopf, reason: plugin directory /usr/local/var/lib/elasticsearch/plugins/kopf already exists. To update the plugin, uninstall it first using --remove lmenezes/elasticsearch-kopf command
但是,当我尝试在
中访问 Kopf 时http://localhost:9200/_plugin/kopf/
我明白了:
This localhost page can’t be found
但是当我访问 elasticsearch 时:
http://localhost:9200/
我得到:
{
"name" : "Rachel van Helsing",
"cluster_name" : "elasticsearch",
"version" : {
"number" : "2.3.1",
"build_hash" : "bd980929010aef404e7cb0843e61d0665269fc39",
"build_timestamp" : "2016-04-04T12:25:05Z",
"build_snapshot" : false,
"lucene_version" : "5.5.0"
},
"tagline" : "You Know, for Search"
}
错误说明了一切
Failed to install lmenezes/elasticsearch-kopf, reason: plugin directory /usr/local/var/lib/elasticsearch/plugins/kopf already exists. To update the plugin, uninstall it first using --remove lmenezes/elasticsearch-kopf command
所以要么先用
删除它plugin --remove lmenezes/elasticsearch-kopf
或者直接删除 kopf
文件夹
rm -rf /usr/local/var/lib/elasticsearch/plugins/kopf
那你应该可以正常安装了