# Logstash offline plugin installtion failed (logatsh-codec-protobuf)

**URL:** <https://discuss.elastic.co/t/logstash-offline-plugin-installtion-failed-logatsh-codec-protobuf/87887>\
**Category:** Logstash\
**Created:** [June 1, 2017, 10:55am UTC](https://discuss.elastic.co/t/logstash-offline-plugin-installtion-failed-logatsh-codec-protobuf/87887 "2017-06-01T10:55:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sgarap](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@sgarap](https://discuss.elastic.co/u/sgarap)\
**Post date:** [June 1, 2017, 10:55am UTC](https://discuss.elastic.co/t/logstash-offline-plugin-installtion-failed-logatsh-codec-protobuf/87887/1 "2017-06-01T10:55:20Z")

</div>

Hi,

I installed logstash-codec-protobuf on a staging server and exported zip file using offline-plugin-management. I tried to install the exported plugins zip file to logstash 5.2.0 on a different machine without internet access. Installation failed with the following error.

RUN DEBUG=1 /usr/share/logstash/bin/logstash-plugin install file:///tmp/logstash-offline-plugins.zip  
build 01-Jun-2017 12:47:29 ---\> Running in 22a2c7bff455  
build 01-Jun-2017 12:47:29 DEBUG: exec /usr/share/logstash/vendor/jruby/bin/jruby /usr/share/logstash/lib/pluginmanager/main.rb install file:///tmp/logstash-offline-plugins.zip  
build 01-Jun-2017 12:47:34 Local file: /tmp/logstash-offline-plugins.zip  
build 01-Jun-2017 12:47:34 Installing with strategy: LogStash::PluginManager::PackInstaller::Local  
build 01-Jun-2017 12:47:34 Installing file: /tmp/logstash-offline-plugins.zip  
build 01-Jun-2017 12:47:56 Pack uncompressed to /tmp/studtmp-1731cb7f751af85bf90253e4f0cb1c53d6a090d9dfe26026d9b1c7378b29  
build 01-Jun-2017 12:47:56 Creating the index structure format from /tmp/studtmp-1731cb7f751af85bf90253e4f0cb1c53d6a090d9dfe26026d9b1c7378b29 to /tmp/studtmp-bac23a54121f4405c3c0937df52fdacd339b13560eb0e433139ad54ea360  
build 01-Jun-2017 12:47:56 Generating indexes in /tmp/studtmp-bac23a54121f4405c3c0937df52fdacd339b13560eb0e433139ad54ea360  
build 01-Jun-2017 12:47:57 Generating Marshal quick index gemspecs for 2 gems  
build 01-Jun-2017 12:47:57 ..  
build 01-Jun-2017 12:47:57 Complete  
build 01-Jun-2017 12:47:57 Generated Marshal quick index gemspecs: 0.012s  
build 01-Jun-2017 12:47:57 Generating specs index  
build 01-Jun-2017 12:47:57 Generated specs index: 0.002s  
build 01-Jun-2017 12:47:57 Generating latest specs index  
build 01-Jun-2017 12:47:57 Generated latest specs index: 0.001s  
build 01-Jun-2017 12:47:57 Generating prerelease specs index  
build 01-Jun-2017 12:47:57 Generated prerelease specs index: 0.001s  
build 01-Jun-2017 12:47:57 Compressing indicies  
build 01-Jun-2017 12:47:57 Compressed indicies: 0.005s  
**build 01-Jun-2017 12:47:57 e[91mBundler::GemfileNotFound: Could not locate Gemfile or .bundle/ directory**  
build 01-Jun-2017 12:47:57 root at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler.rb:198  
build 01-Jun-2017 12:47:57 app\_cache at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler.rb:210  
build 01-Jun-2017 12:47:57 initialize at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/source/rubygems.rb:21  
build 01-Jun-2017 12:47:57 initialize at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/source\_list.rb:9  
build 01-Jun-2017 12:47:57 initialize at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/dsl.rb:20  
build 01-Jun-2017 12:47:57 inject at /usr/share/logstash/lib/pluginmanager/bundler/logstash\_injector.rb:44  
build 01-Jun-2017 12:47:57 inject! at /usr/share/logstash/lib/pluginmanager/bundler/logstash\_injector.rb:23  
build 01-Jun-2017 12:47:57 execute at /usr/share/logstash/lib/pluginmanager/pack\_installer/local.rb:37  
build 01-Jun-2017 12:47:57 execute at /usr/share/logstash/lib/pluginmanager/install.rb:32  
build 01-Jun-2017 12:47:57 run at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67  
build 01-Jun-2017 12:47:57 execute at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/subcommand/execution.rb:11  
build 01-Jun-2017 12:47:57 run at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67  
build 01-Jun-2017 12:47:57 run at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132  
build 01-Jun-2017 12:47:57 (root) at /usr/share/logstash/lib/pluginmanager/main.rb:46

---

<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, 10:55am UTC](https://discuss.elastic.co/t/logstash-offline-plugin-installtion-failed-logatsh-codec-protobuf/87887/2 "2017-06-29T10:55:41Z")

</div>

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