Ruby errors after updating logstash-input-s3 to 2.0.3

(Kareem) #1

Today I updated the plugin logstash-input-s3 to version 2.0.3 using this command:

/opt/logstash/bin/plugin update logstash-input-s3

Simple enough, but now I get a bunch of Ruby errors:

RuntimeError: Logstash expects concurrent-ruby version 0.9.1 and version 0.9.2 is installed, please verify this patch: /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/patches/silence_concurrent_ruby_warning.rb
   (root) at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/patches/silence_concurrent_ruby_warning.rb:53
  require at org/jruby/
   (root) at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/patches.rb:1
  require at org/jruby/
   (root) at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/patches.rb:6
  require at org/jruby/
   (root) at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/environment.rb:1
  require at org/jruby/
   (root) at /opt/logstash/lib/bootstrap/environment.rb:48

The errors show up in my logstash.err file, and I am unable to start logstash.

Can anyone assist? Anything I can do to use this new version?

I'm using Logstash 2.0.0.

(Kareem) #2

Unfortunately there has been zero response about this, so for anyone looking at this who might be having the same issue, I managed to (I think) fix the issue by completely reinstalling the plugin:

/opt/logstash/bin/plugin uninstall logstash-input-s3
/opt/logstash/bin/plugin install logstash-input-s3

I also reinstalled the 'beats' plugin, as apparently it caused similar issues:

/opt/logstash/bin/plugin uninstall logstash-input-beats
/opt/logstash/bin/plugin install logstash-input-beats

I hope this can assist someone in future.

(system) #3