# Plugin Installation Error

**URL:** <https://discuss.elastic.co/t/plugin-installation-error/63902>\
**Category:** Kibana\
**Created:** [October 25, 2016, 3:57pm UTC](https://discuss.elastic.co/t/plugin-installation-error/63902 "2016-10-25T15:57:32Z")\
**Posts on this page:** 4\
**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:** [October 25, 2016, 3:57pm UTC](https://discuss.elastic.co/t/plugin-installation-error/63902/1 "2016-10-25T15:57:32Z")

</div>

I have developed a Kibana 4.x plugin. I usually compress my files GUI in Ubuntu by right clicking the folder(compress..) and install the plugin in test machine (it was working fine). Recently when I tried to do it in command line, file are compress properly but while installing I got the following error.  
Tried multiple time in ubuntu and centos using tar and 7zip also  
**_Transferring 56535040 bytes...................._**  
**_Transfer complete_**  
**_Extracting plugin archive_**  
**_Error: Could not find the End of Central Directory Record_**  
**_Plugin installation was unsuccessful due to error "Error extracting plugin archive"_**

My command to compress file in linux was **$tar -cvf testing.zip pluginfoldername**

Can anyone please say what could be issue, any mistake am I doing from my side.  
Any help would be very helpful.

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [October 25, 2016, 9:32pm UTC](https://discuss.elastic.co/t/plugin-installation-error/63902/2 "2016-10-25T21:32:19Z")

</div>

I don't believe that you can create zip archives with the `tar` command. Try creating your zip with:

```auto
zip -r testing.zip pluginfoldername

```

---

<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:** [October 26, 2016, 11:51am UTC](https://discuss.elastic.co/t/plugin-installation-error/63902/3 "2016-10-26T11:51:06Z")

</div>

Thank you. It worked.

---

<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:** [July 6, 2017, 1:32pm UTC](https://discuss.elastic.co/t/plugin-installation-error/63902/5 "2017-07-06T13:32:57Z")

</div>


