Can't install plugin
Closed this issue · 4 comments
Hello @drlight17,
How are you doing? I'm having issues installing the plugin on kibana (opendistro), these are the versions I'm using:
opendistro-for-elasticsearch-kibana:1.13.1
opendistro-for-elasticsearch:1.13.1
Kibana and Elastic versions are 7.10.2
I updated the packages.json
accordingly:
"kibana": {
"version": "7.10.2"
}
This is the error I get:
$ ./kibana-plugin install file:///tmp/kibana-menu-hide-master.zip
Found previous install attempt. Deleting...
Attempting to transfer from file:///tmp/kibana-menu-hide-master.zip
Transferring 1159 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Error: end of central directory record signature not found
at /usr/share/kibana/node_modules/yauzl/index.js:187:14
at /usr/share/kibana/node_modules/yauzl/index.js:631:5
at /usr/share/kibana/node_modules/fd-slicer/index.js:32:7
at FSReqWrap.wrapper [as oncomplete] (fs.js:467:17)
Plugin installation was unsuccessful due to error "Error retrieving metadata from plugin archive"
I googled it but couldn't find the issue.
Any help is welcome! thanks in advance :)
Hi, @gbadenes .
I didn't test plugin with newer then 7.7.0 version.
Anyway, try the following:
- stop kibana service
service kibana stop
- unpack plugin zip to /usr/share/kibana/plugins/kibana-menu-hide
- remove all /usr/share/kibana/optimize folder contents
rm -rf /usr/share/kibana/optimize/*
- start kibana service
service kibana start
- check that plugin successfully installed
/usr/share/kibana/bin/kibana-plugin --allow-root list
the output must be like:
kibana-menu-hide@0.1.4
opendistro-alerting@1.8.0.0
opendistro-anomaly-detection-kibana@1.8.0.0
opendistro-sql-workbench@1.8.0.0
opendistro_index_management_kibana@1.8.0.0
opendistro_security@1.8.0.0
- check kibana log for other errors
- if no errors in log - try to login to kibana
Hope this helps.
Hi @drlight17 thanks for your quick reply, unfortunatelly it didn't work. I am still troubleshooting and will let you know if I find the issue. Regards
How do I actually build the zip file to install it? Do I need to use generate_plugin.js in kibana?
How do I actually build the zip file to install it? Do I need to use generate_plugin.js in kibana?
Hello. There is no need to build something. Just unzip the archive to /usr/share/kibana/plugins/kibana-menu-hide.
Follow the instruction above.
Make sure you have version 7.7.0 of Kibana as I didn't test it with other ones.