无法使用 ES + Kibana 7.6.0 安装第 3 方插件

问题描述 投票:0回答:1

我陷入了这样的情况:我要运行一个仅支持 ES/Kibana 7.6.0 版本的插件,所以我安装并运行了这两个服务,它们按预期工作。当我尝试使用命令安装插件时出现问题

/usr/share/kibana/bin/./kibana-plugin 安装文件:///PATH_TO_FILE/sigma-ui-xxxxx.zip

我得到的错误是 “Kibana 不应以 root 身份运行。使用 --allow-root 继续。”

我进一步尝试编辑elasticsearch bin 文件并添加

如果!回声 $* | grep -E '(^-d |-d$| -d |--daemonize$|--daemonize)' > /dev/null;然后 执行
“$JAVA”
$ES_JAVA_OPTS
-Des.path.home="$ES_HOME"
-Des.path.conf="$ES_PATH_CONF"
-Des.distribution.flavor="$ES_DISTRIBUTION_FLAVOR"
-Des.distribution.type="$ES_DISTRIBUTION_TYPE"
-Des.bundled_jdk="$ES_BUNDLED_JDK"
-cp“$ES_CLASSPATH”
*-Des.insecure.allow.root=true * org.elasticsearch.bootstrap.Elasticsearch
“$@” 别的 执行
“$JAVA”
$ES_JAVA_OPTS
-Des.path.home="$ES_HOME"
-Des.path.conf="$ES_PATH_CONF"
-Des.distribution.flavor="$ES_DISTRIBUTION_FLAVOR"
-Des.distribution.type="$ES_DISTRIBUTION_TYPE"
-Des.bundled_jdk="$ES_BUNDLED_JDK"
-cp“$ES_CLASSPATH”
*-Des.insecure.allow.root=true * org.elasticsearch.bootstrap.Elasticsearch
“$@”
<&- &

但是添加 **-Des.insecure.allow.root=true **" 并没有帮助我,因为我仍然遇到相同的错误,这里是我尝试的不同组合,以便安装所有返回错误的插件,我如果有人能指导我克服这个问题,我将不胜感激。谢谢。

asad@elk:~$ /usr/share/kibana/bin/./kibana-plugin install file:///home/asad/sigma_ui_1.2.5.zip
Found previous install attempt. Deleting...
Babel could not write cache to file: /usr/share/kibana/optimize/.babel_register_cache.json 
due to a permission issue. Cache is disabled.
Plugin installation was unsuccessful due to error "Cannot delete files/directories outside the current working directory. Can be overridden with the `force` option."
elasticsearch kibana
1个回答
0
投票

我也遇到过同样的问题。我已经在他们的 github 页面上发布了这个问题,我认为没有人再积极维护这个项目了。

© www.soinside.com 2019 - 2024. All rights reserved.