Offline Plugin update installation fails

Hi,

I've developed an extended version of the output-file-plugin (see this PR https://github.com/logstash-plugins/logstash-output-file/pull/85) and i want to ship this with our logstash configuration RPM we are building.

I packaged the plugin as documented from my local installation with /usr/share/logstash/bin/logstash-plugin prepare-offline-pack --overwrite --output logstash-output-file.zip logstash-output-file
When running the installation /usr/share/logstash/bin/logstash-plugin install file:///tmp/logstash-file-output.zip i get the following error:

Installing file: /tmp/logstash-file-output.zip
Pack uncompressed to /tmp/studtmp-2473332b4562186f21301a835e3b920d06a4560fc1dec05769c913f12b68
Installing, logstash-output-file, version: 4.3.0 file: /tmp/studtmp-2473332b4562186f21301a835e3b920d06a4560fc1dec05769c913f12b68/logstash/logstash-output-file-4.3.0.gem
Installing, logstash-codec-json_lines, version: 3.0.6 file: /tmp/studtmp-2473332b4562186f21301a835e3b920d06a4560fc1dec05769c913f12b68/logstash/dependencies/logstash-codec-json_lines-3.0.6.gem
Installing, logstash-codec-line, version: 3.0.8 file: /tmp/studtmp-2473332b4562186f21301a835e3b920d06a4560fc1dec05769c913f12b68/logstash/dependencies/logstash-codec-line-3.0.8.gem
Bundler::GemNotFound: You have requested:
  logstash-output-file = 4.3.0

The bundle currently has logstash-output-file locked at 4.2.6.
Try running `bundle update logstash-output-file`

If you are updating multiple gems in your Gemfile at once,
try passing them all to `bundle update`
  verify_gemfile_dependencies_are_found

when doing the same with /usr/share/logstash/bin/logstash-plugin update it complains that the plugin logstash-file-output.zip is not installed.

Is there any way to perform an offline package update or do i need to rename and install my version as a completely seperate plugin?

We are using Logstash OSS 6.8.1 on CentOS

kind regards,
Christian

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