linuxserver/docker-ubooquity

Version Update Request - Ubooquity 3

Closed this issue ยท 7 comments

Is this a new feature request?

  • I have searched the existing issues

Wanted change

A new version of Ubooquity is has finally arrived:
https://vaemendis.net/ubooquity/article23/ubooquity-3-beta
New requirement is Java 17.

Would it be possible to update the docker?

Reason for change

Version update with new java requirement

Proposed code change

No response

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

Once there's a stable release we'll pick it up and build, I'll get a PR ready to update the Java deps for when that happens.

I don't know if I should post here or create a separate issue for this. But after updating the docker I'm now getting errors while reading files that I believe is related to going from jdk-base to jdk-headless. As the program requires several image extensions to operate. Adding libjavajpeg.so to the lib directory solves many of the scanning issues but I'm still seeing several others related to color pallets. Below is the original error.

ERROR com.ubooquity.data.feeder.a - Failed to insert /FILENAME java.lang.NoClassDefFoundError: Could not initialize class com.sun.imageio.plugins.jpeg.JPEGImageReader โ€ƒโ€ƒ at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi.createReaderInstance(JPEGImageReaderSpi.java:85) ~[na:na] โ€ƒโ€ƒ at com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReaderSpi.createReaderInstance(JPEGImageReaderSpi.java:126) ~[imageio-jpeg-3.3.1.jar.10613186102461637445.tmp:3.3.1] โ€ƒโ€ƒ at java.desktop/javax.imageio.spi.ImageReaderSpi.createReaderInstance(ImageReaderSpi.java:320) ~[na:na] โ€ƒโ€ƒ at java.desktop/javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:534) ~[na:na] โ€ƒโ€ƒ at java.desktop/javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:518) ~[na:na] โ€ƒโ€ƒ at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1465) ~[na:na] โ€ƒโ€ƒ at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1365) ~[na:na] โ€ƒโ€ƒ at com.ubooquity.fileformat.cbr.a.a(SourceFile:84) ~[Ubooquity.jar:2.1.2] โ€ƒโ€ƒ at com.ubooquity.f.a.a(SourceFile:38) ~[Ubooquity.jar:2.1.2] โ€ƒโ€ƒ at com.ubooquity.data.feeder.b.a(SourceFile:63) ~[Ubooquity.jar:2.1.2] โ€ƒโ€ƒ at com.ubooquity.data.feeder.a.b(SourceFile:554) ~[Ubooquity.jar:2.1.2] โ€ƒโ€ƒ at com.ubooquity.data.feeder.a.b(SourceFile:468) ~[Ubooquity.jar:2.1.2] โ€ƒโ€ƒ at com.ubooquity.data.feeder.a.b(SourceFile:112) ~[Ubooquity.jar:2.1.2] โ€ƒโ€ƒ at java.base/java.lang.Thread.run(Thread.java:840) ~[na:na] Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.UnsatisfiedLinkError: no javajpeg in system library path: /usr/lib/jvm/java-17-openjdk/lib [in thread "Scanner thread"] โ€ƒโ€ƒ at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2408) ~[na:na] โ€ƒโ€ƒ at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818) ~[na:na] โ€ƒโ€ƒ at java.base/java.lang.System.loadLibrary(System.java:1989) ~[na:na] โ€ƒโ€ƒ at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageReader$1.run(JPEGImageReader.java:99) ~[na:na] โ€ƒโ€ƒ at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageReader$1.run(JPEGImageReader.java:96) ~[na:na] โ€ƒโ€ƒ at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) ~[na:na] โ€ƒโ€ƒ at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageReader.initStatic(JPEGImageReader.java:95) ~[na:na] โ€ƒโ€ƒ at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageReader.(JPEGImageReader.java:90) ~[na:na] ... 14 common frames omitted

Ugh, apparently openjdk8-jre-base (No GUI support) is fundamentally different from the later JRE headless packages. I'll open a PR to install the full JRE package.

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Resolved by #49

This issue is locked due to inactivity