de.flapdoodle.embed.mongo: Error: linux distribution not supported

This error appears after “3.0.0” -> “3.2.0” update.

[info]   java.lang.IllegalArgumentException: linux distribution not supported: PRODUCTION:Platform{operatingSystem=Linux, architecture=X86_64}
[info]   at de.flapdoodle.embed.mongo.packageresolver.linux.LinuxPackageFinder.lambda$rules$0(LinuxPackageFinder.java:129)
[info]   at de.flapdoodle.embed.mongo.packageresolver.linux.LinuxPackageFinder$$Lambda$246/654468124.packageFor(Unknown Source)
[info]   at de.flapdoodle.embed.mongo.packageresolver.PlatformMatchRules.packageFor(PlatformMatchRules.java:43)
[info]   at de.flapdoodle.embed.mongo.packageresolver.linux.LinuxPackageFinder.packageFor(LinuxPackageFinder.java:46)
[info]   at de.flapdoodle.embed.mongo.packageresolver.PlatformMatchRules.packageFor(PlatformMatchRules.java:43)
[info]   at de.flapdoodle.embed.mongo.packageresolver.PlatformPackageResolver.packageFor(PlatformPackageResolver.java:58)
[info]   at de.flapdoodle.embed.process.store.ArtifactStore.filesToExtract(ArtifactStore.java:93)
[info]   at de.flapdoodle.embed.process.store.ExtractedArtifactStore.extractFileSet(ExtractedArtifactStore.java:82)
[info]   at de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:59)
[info]   at de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:52)

It looks like OS version check code is heavily changed.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 9
  • Comments: 64 (33 by maintainers)

Commits related to this issue

Most upvoted comments

@MichealZub @smn-codes there is a new release 3.2.6 with all the changes included (.os and .process dependency update) …

@hlavki yes, you can go on with that… and i thought that most people moved already… but thats not the case … there are still >100.000 downloads each month… so i have to do my best to make some people happy:)

did a new release (3.2.5). I hope detection of amazon linux works as expected. 😃

@michaelmosmann Sorry for the late response. I have upgraded to version 3.2.6 which works successfully on Amazon Linux for me. Thanks so much!

@MichealZub @smn-codes … as i expected. I have to refactor this a little bit:) Thanks for your input:) I leave this issue open as an reminder until i fixed this.

@MichealZub @smn-codes Ah… ok. I will try i detection will catch this

@michaelmosmann The new release 3.2.4 works well for me. Thanks!

@ophalsp … found a bug, now i have a test for this:)