# Error: Unable to install kibana-plugin

**URL:** <https://discuss.elastic.co/t/error-unable-to-install-kibana-plugin/223943>\
**Category:** Kibana\
**Created:** [March 17, 2020, 2:04pm UTC](https://discuss.elastic.co/t/error-unable-to-install-kibana-plugin/223943 "2020-03-17T14:04:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Surendar\_Niji](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/surendar_niji/32/64591_2.png) [@Surendar\_Niji](https://discuss.elastic.co/u/Surendar_Niji)\
**Post date:** [March 17, 2020, 2:04pm UTC](https://discuss.elastic.co/t/error-unable-to-install-kibana-plugin/223943/1 "2020-03-17T14:04:15Z")

</div>

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."

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [March 17, 2020, 2:24pm UTC](https://discuss.elastic.co/t/error-unable-to-install-kibana-plugin/223943/2 "2020-03-17T14:24:00Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Surendar\_Niji](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/surendar_niji/32/64591_2.png) [@Surendar\_Niji](https://discuss.elastic.co/u/Surendar_Niji)\
**Post date:** [March 17, 2020, 4:24pm UTC](https://discuss.elastic.co/t/error-unable-to-install-kibana-plugin/223943/3 "2020-03-17T16:24:06Z")

</div>

@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."

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [March 17, 2020, 5:08pm UTC](https://discuss.elastic.co/t/error-unable-to-install-kibana-plugin/223943/4 "2020-03-17T17:08:16Z")

</div>

Thanks for the details, I appreciate it. The [docs](https://www.elastic.co/guide/en/kibana/current/install-plugin.html) 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`?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 14, 2020, 5:08pm UTC](https://discuss.elastic.co/t/error-unable-to-install-kibana-plugin/223943/5 "2020-04-14T17:08:16Z")

</div>

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