# OSX error install bin/kibana-plugin install x-pack

**URL:** <https://discuss.elastic.co/t/osx-error-install-bin-kibana-plugin-install-x-pack/88191>\
**Category:** Kibana\
**Created:** [June 4, 2017, 1:15pm UTC](https://discuss.elastic.co/t/osx-error-install-bin-kibana-plugin-install-x-pack/88191 "2017-06-04T13:15:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![bargitta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargitta/32/46670_2.png) [@bargitta](https://discuss.elastic.co/u/bargitta)\
**Post date:** [June 4, 2017, 1:15pm UTC](https://discuss.elastic.co/t/osx-error-install-bin-kibana-plugin-install-x-pack/88191/1 "2017-06-04T13:15:31Z")

</div>

I use OSX with elastic search5.4.0 and kibana 5.4.1, I'm trying to install xpack for kibana, but get following errors. Any ideas?

Error: end of central directory record signature not found  
at /Users/abc/kibana-5.4.1/node\_modules/yauzl/index.js:179:14  
at /Users/abc/kibana-5.4.1/node\_modules/yauzl/index.js:539:5  
at /Users/abc/kibana-5.4.1/node\_modules/fd-slicer/index.js:32:7  
at FSReqWrap.wrapper [as oncomplete] (fs.js:682:17)  
Plugin installation was unsuccessful due to error "Error retrieving metadata from plugin archive"

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 4, 2017, 2:55pm UTC](https://discuss.elastic.co/t/osx-error-install-bin-kibana-plugin-install-x-pack/88191/2 "2017-06-04T14:55:56Z")

</div>

Can't reproduce. How did you install it?

---

<div class="post-metadata">

**Author:** ![bargitta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargitta/32/46670_2.png) [@bargitta](https://discuss.elastic.co/u/bargitta)\
**Post date:** [June 5, 2017, 1:10am UTC](https://discuss.elastic.co/t/osx-error-install-bin-kibana-plugin-install-x-pack/88191/3 "2017-06-05T01:10:48Z")

</div>

I first install elastic search 5.4.0; then xpack plugin; then kibana 5.4.1; then xpack for kibana and get errors

I did not change any configuration files.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 5, 2017, 1:46am UTC](https://discuss.elastic.co/t/osx-error-install-bin-kibana-plugin-install-x-pack/88191/4 "2017-06-05T01:46:28Z")

</div>

How? What are the exact command line you are using ?

Also, why mixing 5.4.0 and 5.4.1?

---

<div class="post-metadata">

**Author:** ![bargitta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargitta/32/46670_2.png) [@bargitta](https://discuss.elastic.co/u/bargitta)\
**Post date:** [June 6, 2017, 1:01pm UTC](https://discuss.elastic.co/t/osx-error-install-bin-kibana-plugin-install-x-pack/88191/5 "2017-06-06T13:01:11Z")

</div>

I followed the steps here [https://www.elastic.co/downloads/x-pack](https://www.elastic.co/downloads/x-pack)

bin/elasticsearch-plugin install x-pack  
bin/elasticsearch  
bin/kibana-plugin install x-pack (here I get error)

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [June 7, 2017, 6:52am UTC](https://discuss.elastic.co/t/osx-error-install-bin-kibana-plugin-install-x-pack/88191/6 "2017-06-07T06:52:24Z")

</div>

Googling after this seems to reveal partly that there are issues with proxies inbetween. Are you using a proxy?

Also you could try to download x-pack manually and do an offline install, there is some [documentation](https://www.elastic.co/guide/en/x-pack/5.4/installing-xpack.html#xpack-installing-offline) to do that

--Alex

---

<div class="post-metadata">

**Author:** ![bargitta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargitta/32/46670_2.png) [@bargitta](https://discuss.elastic.co/u/bargitta)\
**Post date:** [June 8, 2017, 9:15am UTC](https://discuss.elastic.co/t/osx-error-install-bin-kibana-plugin-install-x-pack/88191/7 "2017-06-08T09:15:30Z")

</div>

Yes, I'm using a proxy server. Thanks very much, and I'll try the offline  
version

---

<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, 9:15am UTC](https://discuss.elastic.co/t/osx-error-install-bin-kibana-plugin-install-x-pack/88191/8 "2017-07-06T09:15:48Z")

</div>

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