Error: Unable to install kibana-plugin

Kibana and elasticsearch are installed same server but through linux 64-Bit.

Home path of kibana is /data/kibana

When i try to install a kibana-plugin it gives below error at the end

Plugin installation was unsuccessful due to error "Cannot delete files/directories outside the current working directory. Can be overridden with the force option."

Hi @Surendar_Niji, welcome to the discussion boards!

Can you post the exact command you ran, and provide the full console output? What directory did you run the command from? What version of Kibana are you using?

@Larry_Gregory
Kibana version : 7.6.1
Directory-->/data/kibana-7.6.1-linux-x86_64/bin
Command ran: ./kibana-plugin install file:///data/softwares/search-guard-kibana-plugin-7-7.6.1-40.1.0.zip

Console output:
[tsfunc@xxxxxxxx bin]$ ./kibana-plugin install file:///data/softwares/search-guard-kibana-plugin-7-7.6.1-40.1.0.zip
Attempting to transfer from file:///data/softwares/search-guard-kibana-plugin-7-7.6.1-40.1.0.zip
Transferring 37610818 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Plugin installation was unsuccessful due to error "Cannot delete files/directories outside the current working directory. Can be overridden with the force option."

Thanks for the details, I appreciate it. The docs for installing plugins mention running the command from your${KIBANA_HOME} directory, rather than from ${KIBANA_HOME}/bin.

Do you get the same error if you run this from /data/kibana-7.6.1-linux-x86_64 instead of /data/kibana-7.6.1-linux-x86_64/bin?

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