# Unable to install x-pack in my logstash 5.4.0

**URL:** <https://discuss.elastic.co/t/unable-to-install-x-pack-in-my-logstash-5-4-0/87777>\
**Category:** Logstash\
**Created:** [May 31, 2017, 3:13pm UTC](https://discuss.elastic.co/t/unable-to-install-x-pack-in-my-logstash-5-4-0/87777 "2017-05-31T15:13:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodrigokroll](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@rodrigokroll](https://discuss.elastic.co/u/rodrigokroll)\
**Post date:** [May 31, 2017, 3:13pm UTC](https://discuss.elastic.co/t/unable-to-install-x-pack-in-my-logstash-5-4-0/87777/1 "2017-05-31T15:13:21Z")

</div>

Hello guys,

I need help. I'm trying to install the x-pack, but unfortunately without success.

First, I've tried using the traditional way (online) and I had the following message.

root@test:/opt/logstash/logstash-5.4.0# bin/logstash-plugin install --no-verify x-pack  
Java HotSpot(TM) Client VM warning: TieredCompilation is disabled in this release.  
Downloading file: [https://artifacts.elastic.co/downloads/logstash-plugins/x-pack/x-pack-5.4.0.zip](https://artifacts.elastic.co/downloads/logstash-plugins/x-pack/x-pack-5.4.0.zip)  
Downloading [=============================================================] 100%  
Installing file: /tmp/studtmp-65d01d3063067c601b6106f111ebf925e8d8273223e93f2f7f68e65b30c0/x-pack-5.4.0.zip  
ERROR: Something went wrong when installing x-pack, message: No such file or directory - /opt/logstash/logstash-5.4.0/$HOME

And then I downloaded the zip and extracted the gem file. And tried to install the plugin offline.

root@test:/opt/logstash/logstash-5.4.0# bin/logstash-plugin install --no-verify --local x-pack-5.4.0-java.gem  
Java HotSpot(TM) Client VM warning: TieredCompilation is disabled in this release.  
Installing x-pack  
Error Bundler::GemspecError, retrying 1/10  
There was a Errno::ENOENT while loading x-pack.gemspec:  
No such file or directory - /opt/logstash/logstash-5.4.0/vendor/local\_gems/b667aa08/x-pack-5.4.0-java/VERSION from  
/opt/logstash/logstash-5.4.0/vendor/local\_gems/b667aa08/x-pack-5.4.0-java/x-pack.gemspec:3:in `eval_gemspec' Error Bundler::GemspecError, retrying 2/10 There was a Errno::ENOENT while loading x-pack.gemspec: No such file or directory - /opt/logstash/logstash-5.4.0/vendor/local_gems/b667aa08/x-pack-5.4.0-java/VERSION from /opt/logstash/logstash-5.4.0/vendor/local_gems/b667aa08/x-pack-5.4.0-java/x-pack.gemspec:3:in`eval\_gemspec'  
Error Bundler::GemspecError, retrying 3/10  
There was a Errno::ENOENT while loading x-pack.gemspec:  
No such file or directory - /opt/logstash/logstash-5.4.0/vendor/local\_gems/b667aa08/x-pack-5.4.0-java/VERSION from  
/opt/logstash/logstash-5.4.0/vendor/local\_gems/b667aa08/x-pack-5.4.0-java/x-pack.gemspec:3:in `eval_gemspec' Error Bundler::GemspecError, retrying 4/10 There was a Errno::ENOENT while loading x-pack.gemspec: No such file or directory - /opt/logstash/logstash-5.4.0/vendor/local_gems/b667aa08/x-pack-5.4.0-java/VERSION from /opt/logstash/logstash-5.4.0/vendor/local_gems/b667aa08/x-pack-5.4.0-java/x-pack.gemspec:3:in`eval\_gemspec'  
Error Bundler::GemspecError, retrying 5/10  
There was a Errno::ENOENT while loading x-pack.gemspec:  
No such file or directory - /opt/logstash/logstash-5.4.0/vendor/local\_gems/b667aa08/x-pack-5.4.0-java/VERSION from  
/opt/logstash/logstash-5.4.0/vendor/local\_gems/b667aa08/x-pack-5.4.0-java/x-pack.gemspec:3:in `eval_gemspec' Error Bundler::GemspecError, retrying 6/10 There was a Errno::ENOENT while loading x-pack.gemspec: No such file or directory - /opt/logstash/logstash-5.4.0/vendor/local_gems/b667aa08/x-pack-5.4.0-java/VERSION from /opt/logstash/logstash-5.4.0/vendor/local_gems/b667aa08/x-pack-5.4.0-java/x-pack.gemspec:3:in`eval\_gemspec'  
Error Bundler::GemspecError, retrying 7/10  
There was a Errno::ENOENT while loading x-pack.gemspec:  
No such file or directory - /opt/logstash/logstash-5.4.0/vendor/local\_gems/b667aa08/x-pack-5.4.0-java/VERSION from  
/opt/logstash/logstash-5.4.0/vendor/local\_gems/b667aa08/x-pack-5.4.0-java/x-pack.gemspec:3:in `eval_gemspec' Error Bundler::GemspecError, retrying 8/10 There was a Errno::ENOENT while loading x-pack.gemspec: No such file or directory - /opt/logstash/logstash-5.4.0/vendor/local_gems/b667aa08/x-pack-5.4.0-java/VERSION from /opt/logstash/logstash-5.4.0/vendor/local_gems/b667aa08/x-pack-5.4.0-java/x-pack.gemspec:3:in`eval\_gemspec'  
Error Bundler::GemspecError, retrying 9/10  
There was a Errno::ENOENT while loading x-pack.gemspec:  
No such file or directory - /opt/logstash/logstash-5.4.0/vendor/local\_gems/b667aa08/x-pack-5.4.0-java/VERSION from  
/opt/logstash/logstash-5.4.0/vendor/local\_gems/b667aa08/x-pack-5.4.0-java/x-pack.gemspec:3:in `eval_gemspec' Error Bundler::GemspecError, retrying 10/10 There was a Errno::ENOENT while loading x-pack.gemspec: No such file or directory - /opt/logstash/logstash-5.4.0/vendor/local_gems/b667aa08/x-pack-5.4.0-java/VERSION from /opt/logstash/logstash-5.4.0/vendor/local_gems/b667aa08/x-pack-5.4.0-java/x-pack.gemspec:3:in`eval\_gemspec'  
Too many retries, aborting, caused by Bundler::GemspecError  
ERROR: Installation Aborted, message: There was a Errno::ENOENT while loading x-pack.gemspec:  
No such file or directory - /opt/logstash/logstash-5.4.0/vendor/local\_gems/b667aa08/x-pack-5.4.0-java/VERSION from  
/opt/logstash/logstash-5.4.0/vendor/local\_gems/b667aa08/x-pack-5.4.0-java/x-pack.gemspec:3:in `eval\_gemspec'

This a fresh logstash 5.4.0 installation which is working fine. My pipeline is working properly and also tested logstash-plugin install with other plugins, and is working fine.

Do you guys have ideas how to solve this?

I truly appreciate.

Regards,

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 31, 2017, 10:10pm UTC](https://discuss.elastic.co/t/unable-to-install-x-pack-in-my-logstash-5-4-0/87777/2 "2017-05-31T22:10:42Z")

</div>

How did you install Logstash?

---

<div class="post-metadata">

**Author:** ![rodrigokroll](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@rodrigokroll](https://discuss.elastic.co/u/rodrigokroll)\
**Post date:** [June 1, 2017, 1:18pm UTC](https://discuss.elastic.co/t/unable-to-install-x-pack-in-my-logstash-5-4-0/87777/3 "2017-06-01T13:18:48Z")

</div>

Hi Warkolm.

Thanks for helping.

This installation I did extracting the tar.gz packet.

---

<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:** [June 29, 2017, 1:18pm UTC](https://discuss.elastic.co/t/unable-to-install-x-pack-in-my-logstash-5-4-0/87777/4 "2017-06-29T13:18:50Z")

</div>

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