# Unable to install custom plugin in logstash5.x

**URL:** <https://discuss.elastic.co/t/unable-to-install-custom-plugin-in-logstash5-x/78141>\
**Category:** Logstash\
**Created:** [March 10, 2017, 12:20pm UTC](https://discuss.elastic.co/t/unable-to-install-custom-plugin-in-logstash5-x/78141 "2017-03-10T12:20:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikhil\_Pillai](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@Nikhil\_Pillai](https://discuss.elastic.co/u/Nikhil_Pillai)\
**Post date:** [March 10, 2017, 12:20pm UTC](https://discuss.elastic.co/t/unable-to-install-custom-plugin-in-logstash5-x/78141/1 "2017-03-10T12:20:19Z")

</div>

Hi,

I am facing below error when trying to install a custom (logstash-output-jdbc) plugin in logstash 5.2. Server doesn't have an internet access.

./logstash-plugin install file:///home/tibusr/mounted/ELK/logstash-output-jdbc-master.zip  
Installing file: /home/tibusr/mounted/ELK/logstash-output-jdbc-master.zip

ERROR: Invalid pack for: file:///home/tibusr/mounted/ELK/logstash-output-jdbc-master.zip, reason: The pack must contains at least one plugin, message: The pack must contains at least one plugin

Regards,  
Nikhil

---

<div class="post-metadata">

**Author:** ![Siegfried\_Hauenstein](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@Siegfried\_Hauenstein](https://discuss.elastic.co/u/Siegfried_Hauenstein)\
**Post date:** [March 28, 2017, 2:20pm UTC](https://discuss.elastic.co/t/unable-to-install-custom-plugin-in-logstash5-x/78141/2 "2017-03-28T14:20:15Z")

</div>

I have the same problem with an unmodifed plugin.

I need to download it offline and get this:

/usr/share/logstash/bin/logstash-plugin install file:///home/shauenst/Download/logstash-output-exec.zip  
Installing file: /home/shauenst/Download/logstash-output-exec.zip  
ERROR: Invalid pack for: file:///home/shauenst/Download/logstash-output-exec.zip, reason: The pack must contains at least one plugin, message: The pack must contains at least one plugin

The same happend with logstash5.1.

I am not amused. Default filters are not all deployed and the install does not work...

---

<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 25, 2017, 2:20pm UTC](https://discuss.elastic.co/t/unable-to-install-custom-plugin-in-logstash5-x/78141/3 "2017-04-25T14:20:31Z")

</div>

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