# Cannot package development logstash plugins for offline installation

**URL:** <https://discuss.elastic.co/t/cannot-package-development-logstash-plugins-for-offline-installation/106319>\
**Category:** Logstash\
**Created:** [November 3, 2017, 1:49pm UTC](https://discuss.elastic.co/t/cannot-package-development-logstash-plugins-for-offline-installation/106319 "2017-11-03T13:49:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NetAppBlueDevil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/netappbluedevil/32/23765_2.png) [@NetAppBlueDevil](https://discuss.elastic.co/u/NetAppBlueDevil)\
**Post date:** [November 3, 2017, 1:49pm UTC](https://discuss.elastic.co/t/cannot-package-development-logstash-plugins-for-offline-installation/106319/1 "2017-11-03T13:49:43Z")

</div>

I'm following the procedures here [https://www.elastic.co/guide/en/logstash/current/offline-plugins.html#building-offline-packs](https://www.elastic.co/guide/en/logstash/current/offline-plugins.html#building-offline-packs)

I need to install the development plugins to an environment that does not have internet connection. On an external staging server I installed them

`$ /usr/share/logstash/bin/logstash-plugin install --development Installing logstash-devutils, logstash-input-generator, logstash-codec-json, logstash-output-null, benchmark-ips, rspec, logstash-patterns-core, logstash-filter-grok, flores, stud, pry, rspec-wait, childprocess, ftw, logstash-output-elasticsearch, rspec-sequencing, gmetric, gelf, timecop, jdbc-derby, jdbc-mysql, jar-dependencies, logstash-codec-plain, logstash-codec-json_lines, addressable, json, gzip, elasticsearch, logstash-filter-kv, logstash-filter-ruby, sinatra, webrick, poseidon, snappy, webmock, logstash-codec-line Installation successful`

I assume the list of items echoed is the set of plugins that I need to pack for the offline install, so I then did

`$ /usr/share/logstash/bin/logstash-plugin prepare-offline-pack --overwrite logstash-devutils logstash-input-generator logstash-codec-json logstash-output-null benchmark-ips rspec logstash-patterns-core logstash-filter-grok flores stud pry rspec-wait childprocess ftw logstash-output-elasticsearch rspec-sequencing gmetric gelf timecop jdbc-derby jdbc-mysql jar-dependencies logstash-codec-plain logstash-codec-json_lines addressable json gzip elasticsearch logstash-filter-kv logstash-filter-ruby sinatra webrickposeidon snappy webmock logstash-codec-line`

But get this error

`ERROR: Offline package, message: Cannot explicitly pack 'jar-dependencies' for offline installation`

How can I get the development plugins into my offline environment?

Also to note, I initially tried within my restricted environment to utilize the Artifactory proxy that was available to access rubygems and updated the gemfiles as documented here [https://www.elastic.co/guide/en/logstash/current/private-rubygem.html](https://www.elastic.co/guide/en/logstash/current/private-rubygem.html). That seemed to get the gems, but some part of this development set of plugins is attempting to also reach the apache maven repositories and failed. I have no idea how to be able to redirect that to my Artifactory based URLs (which is why I went looking for the offline solution)  
Nov 03, 2017 8:57:41 AM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute  
INFO: I/O exception (java.net.NoRouteToHostException) caught when processing request to {s}-\>[https://repo.maven.apache.org:443](https://repo.maven.apache.org:443): No route to host

---

<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:** [December 1, 2017, 1:49pm UTC](https://discuss.elastic.co/t/cannot-package-development-logstash-plugins-for-offline-installation/106319/2 "2017-12-01T13:49:57Z")

</div>

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