# Offline Plugin update installation fails

**URL:** <https://discuss.elastic.co/t/offline-plugin-update-installation-fails/221255>\
**Category:** Logstash\
**Created:** [February 27, 2020, 2:27pm UTC](https://discuss.elastic.co/t/offline-plugin-update-installation-fails/221255 "2020-02-27T14:27:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christian\_Hubinger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_hubinger/32/836_2.png) [@Christian\_Hubinger](https://discuss.elastic.co/u/Christian_Hubinger)\
**Post date:** [February 27, 2020, 2:27pm UTC](https://discuss.elastic.co/t/offline-plugin-update-installation-fails/221255/1 "2020-02-27T14:27:37Z")

</div>

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:

```auto
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

---

<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:** [March 26, 2020, 2:27pm UTC](https://discuss.elastic.co/t/offline-plugin-update-installation-fails/221255/2 "2020-03-26T14:27:37Z")

</div>

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