Could not find gem mimemagic 0.3.3

Dears,

happy new year
i upgraded logstash from 7.3 to 7.14.2 and i took the backup of the plugins when i am installing the backuo of the plugin i faced the error

"Using bundled JDK: /usr/share/logstash/jdk
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in ve rsion 9.0 and will likely be removed in a future release.
Installing file: /home/infosec/logstash-offline-plugins-7.zip
ERROR: An error occured when installing the: file:///home/infosec/logstash-offline-plugins-7.zip, to have more information about the error add a DEBUG=1 before running the command., message: Bundler could not find compatible versions for gem "mimemagic":
In Gemfile:
logstash-input-google_cloud_storage (= 0.11.1) java was resolved to 0.11.1, which depends on
mimemagic (>= 0.3.3) java

Could not find gem 'mimemagic (>= 0.3.3)', which is required by gem 'logstash-input-google_cloud_storage (= 0.11.1)', in any of the sources."

any advise

Regards

If you generated offline plugins for version 7.3 you can't just install those same plugins into a newer version, you need to regenerate the offline plugins for the correspondent version.

If you want just the logstash-input-google_cloud_storage plugin, you can generate the offline installation with the command:

bin/logstash-plugin prepare-offline-pack logstash-input-google_cloud_storage

You need to run this command on a machine with logstash 7.14.2 and internet access.

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