# Error in Installing Kibana5 Plugin

**URL:** <https://discuss.elastic.co/t/error-in-installing-kibana5-plugin/80149>\
**Category:** Kibana\
**Created:** [March 27, 2017, 2:38pm UTC](https://discuss.elastic.co/t/error-in-installing-kibana5-plugin/80149 "2017-03-27T14:38:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harinath](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harinath/32/58639_2.png) [@Harinath](https://discuss.elastic.co/u/Harinath)\
**Post date:** [March 27, 2017, 2:38pm UTC](https://discuss.elastic.co/t/error-in-installing-kibana5-plugin/80149/1 "2017-03-27T14:38:42Z")

</div>

I followed the command from Kibana site to install Kibana from local file.

$bin/kibana-plugin install file:///home/elastic/ELK5/test/SIP\_APP\_Install\_Test.zip

I get the following error

```
Transferring 21523717 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Plugin installation was unsuccessful due to error "No kibana plugins found in archive"

```

I googled but could not get proper solution to the issue but I could install plugin manually by placing inside the plugin directory. Any help or suggestion would be great. Thank you.

---

<div class="post-metadata">

**Author:** ![Kikketer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kikketer/32/13813_2.png) [@Kikketer](https://discuss.elastic.co/u/Kikketer)\
**Post date:** [March 27, 2017, 2:53pm UTC](https://discuss.elastic.co/t/error-in-installing-kibana5-plugin/80149/2 "2017-03-27T14:53:02Z")

</div>

The structure of the plugin is very very sensitive:

> [@Kibana 5.2 Plugin Installs](https://discuss.elastic.co/t/kibana-5-2-plugin-installs/77017/3):
>
> The structure of the plugin is very sensitive. The "plugin-helpers" project has been recently updated to agree with the sensitive structure. I'm not sure what version you are running in any case but it's worth checking out.

The "plugin-helpers" will get the zip file you are messing with in proper order, that is if you are building a custom plugin. I believe the structure needs a `/kibana/plugin-name` inside the zip file.

---

<div class="post-metadata">

**Author:** ![Harinath](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harinath/32/58639_2.png) [@Harinath](https://discuss.elastic.co/u/Harinath)\
**Post date:** [March 28, 2017, 7:17am UTC](https://discuss.elastic.co/t/error-in-installing-kibana5-plugin/80149/3 "2017-03-28T07:17:47Z")

</div>

Thanks @Kikketer when I changed by plugin directory structure like /kibana/plugin-name and zip it manually. I was able to install without any issue but I have trouble using plugin-helper. Can you please provide same input argument to create a package.

---

<div class="post-metadata">

**Author:** ![Kikketer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kikketer/32/13813_2.png) [@Kikketer](https://discuss.elastic.co/u/Kikketer)\
**Post date:** [March 28, 2017, 3:19pm UTC](https://discuss.elastic.co/t/error-in-installing-kibana5-plugin/80149/4 "2017-03-28T15:19:50Z")

</div>

The plugin-helper is used when you are building your own plugin. I'm not sure if that's what you are doing, but it would be included in the `package.json` of the plugin you are developing.

The idea is that the plugin you develop then has an `npm run build` command that will produce the zip file properly. If this isn't your plugin or you are not developing it, then disregard.

Good to hear you got it working by just altering the structure a little.

---

<div class="post-metadata">

**Author:** ![Harinath](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harinath/32/58639_2.png) [@Harinath](https://discuss.elastic.co/u/Harinath)\
**Post date:** [March 29, 2017, 9:34am UTC](https://discuss.elastic.co/t/error-in-installing-kibana5-plugin/80149/5 "2017-03-29T09:34:47Z")

</div>

Thanks @Kikketer. Your answer helped me to understand some internals of Kibana

---

<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 26, 2017, 9:35am UTC](https://discuss.elastic.co/t/error-in-installing-kibana5-plugin/80149/6 "2017-04-26T09:35:30Z")

</div>

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