无法访问elasticsearch Kopf

时间:2017-02-05 22:55:44

标签: elasticsearch elasticsearch-plugin

我正在尝试安装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

我明白了:

http://localhost:9200/_plugin/kopf/

但是,当我尝试在

中访问Kopf时
This localhost page can’t be found

我明白了:

http://localhost:9200/

但是当我访问elasticsearch时:

{
  "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"
}

我明白了:

import { Pipe, PipeTransform } from '@angular/core';

@Pipe({name: 'removeAFromString'})
export class RemoveAFromString implements PipeTransform {
  transform(value: number){
    return value.substring(1);

  }
}

1 个答案:

答案 0 :(得分:0)

错误说明了一切

  

无法安装lmenezes / elasticsearch-kopf,原因:插件目录/ usr / local / var / lib / elasticsearch / plugins / kopf已经存在。要更新插件,请先使用--remove lmenezes / elasticsearch-kopf命令

将其卸载

所以要先用

删除它
crtexe.o

或者只是删除crtexe.o文件夹

plugin --remove lmenezes/elasticsearch-kopf

然后你应该能够正确安装它。