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

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

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