# Could not find gem mimemagic 0.3.3

**URL:** <https://discuss.elastic.co/t/could-not-find-gem-mimemagic-0-3-3/293288>\
**Category:** Logstash\
**Created:** [January 2, 2022, 9:29am UTC](https://discuss.elastic.co/t/could-not-find-gem-mimemagic-0-3-3/293288 "2022-01-02T09:29:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shrikantgulia](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Post date:** [January 2, 2022, 9:29am UTC](https://discuss.elastic.co/t/could-not-find-gem-mimemagic-0-3-3/293288/1 "2022-01-02T09:29:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [January 2, 2022, 3:37pm UTC](https://discuss.elastic.co/t/could-not-find-gem-mimemagic-0-3-3/293288/2 "2022-01-02T15:37:05Z")

</div>

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](https://www.elastic.co/guide/en/logstash/current/offline-plugins.html#offline-plugins) 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:

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

---

<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:** [January 30, 2022, 3:37pm UTC](https://discuss.elastic.co/t/could-not-find-gem-mimemagic-0-3-3/293288/3 "2022-01-30T15:37:14Z")

</div>

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