Installing latest kibana plugin fails

I’m trying to install the latest kibana and searchguard.
I’m using the kibana-oss rpm from https://artifacts.elastic.co/downloads/kibana/kibana-oss-7.9.1-x86_64.rpm
The plugin install is failing miserably:

$ sudo -u kibana bin/kibana-plugin install https://maven.search-guard.com/search-guard-kibana-plugin-release/com/floragunn/searc
h-guard-kibana-plugin/7.9.1-45.0.0/search-guard-kibana-plugin-7.9.1-45.0.0.zip
Plugin installation was unsuccessful due to error "ENOENT: no such file or directory, mkdir"

apparently this also happens on 7.9.0 but not on 7.8.1-43.0.0

Hi. Strange, it works on Ubuntu and macOS.

$ pwd
/Users/sergiibondarenko/Development/kibana/dist/kibana-7.9.1-darwin-x86_64
trex-macbook:kibana-7.9.1-darwin-x86_64 sergiibondarenko$ ./bin/kibana-plugin install https://maven.search-guard.com//search-guard-kibana-plugin-release/com/floragunn/search-guard-kibana-plugin/7.9.1-45.0.0/search-guard-kibana-plugin-7.9.1-45.0.0.zip
Attempting to transfer from https://maven.search-guard.com//search-guard-kibana-plugin-release/com/floragunn/search-guard-kibana-plugin/7.9.1-45.0.0/search-guard-kibana-plugin-7.9.1-45.0.0.zip
Transferring 38486864 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Plugin installation complete

Make sure kibana user has access to the kibana folder and its subfolders.

chown -R kibana:{kibanausergroup} /path/to/kibana

Indeed, changing ownership to kibana of the whole of /usr/share/kibana fixed it.
A shame elastic aren’t able to offer proper processes

thanks!

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.