Your comments

I have private message you the full logs. Every time I read halfway and the net connection gets interrupted, the whole server becomes unusable with the logs above. Hope you could assist.

Hmm, not quite. Ubooquity is running on synology NAS and I'm accessing ubooquity from my tablet, hence it's not exactly running on my tablet.


However, if I'm reading it halfway and put my tablet to sleep, the next time I try to access it again from where I left off, it would show the error_timed_out message.

I wanted to create a script that points to the location of the letsencrypt cert and convert it to jks, It saves me the trouble of manually exporting it every 3 months and converting it to jks and place it inside ubooquity as the cert expires every 3 months. Any ideas on how I could do that with a script?

Can any kind soul with synology please enlighten on where dsm 6.0 stores the letsencrypt certs generated from the Gui so that I do not need to install another instance of letsencrypt? I can then update the script to generate keystore.jks

Is it possible to set up ubooquity to run as a server on a domain name that could login and books read outside the network? How do I configure the domain name to point to ubooquity server?

I went to look at the pdf file that it is getting stuck and realized the file is a (secured)pdf.


Perhaps one suggestion is to build in some error trapping or bypass so that the library can continue indexing other files instead of getting stuck once it encounters a secured pdf. =)

Java version: 1.8.0_60
Java vendor: Oracle Corporation
Java VM name: OpenJDK 64-Bit Server VM

Hi, I've tried the new version of ubooquity on Synology DSM 6.0. It gets stuck at the hour glass rendering and no PDF appears.


This is the log:

20160509 12:38:49 [pool-1-thread-25] ERROR com.ubooquity.Ubooquity - Uncaught exception on thread: pool-1-thread-25
java.lang.UnsatisfiedLinkError: no javalcms in java.library.path
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864) ~[na:1.8.0_60]
   at java.lang.Runtime.loadLibrary0(Runtime.java:870) ~[na:1.8.0_60]
   at java.lang.System.loadLibrary(System.java:1122) ~[na:1.8.0_60]
   at sun.java2d.cmm.lcms.LCMS$1.run(LCMS.java:210) ~[na:1.8.0_60]
   at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_60]
   at sun.java2d.cmm.lcms.LCMS.getModule(LCMS.java:203) ~[na:1.8.0_60]
   at sun.java2d.cmm.lcms.LcmsServiceProvider.getModule(LcmsServiceProvider.java:34) ~[na:1.8.0_60]
   at sun.java2d.cmm.CMMServiceProvider.getColorManagementModule(CMMServiceProvider.java:31) ~[na:1.8.0_60]
   at sun.java2d.cmm.CMSManager.getModule(CMSManager.java:76) ~[na:1.8.0_60]
   at java.awt.color.ICC_ColorSpace.toRGB(ICC_ColorSpace.java:165) ~[na:1.8.0_60]
   at org.apache.pdfbox.pdmodel.graphics.color.PDDeviceRGB.toRGB(PDDeviceRGB.java:104) ~[pdfbox-2.0.0.jar.210708696406580127.tmp:2.0.0]
   at org.apache.pdfbox.rendering.PageDrawer.getPaint(PageDrawer.java:237) ~[pdfbox-2.0.0.jar.210708696406580127.tmp:2.0.0]
   at org.apache.pdfbox.rendering.PageDrawer.getNonStrokingPaint(PageDrawer.java:529) ~[pdfbox-2.0.0.jar.210708696406580127.tmp:2.0.0]
   at org.apache.pdfbox.rendering.PageDrawer.drawGlyph2D(PageDrawer.java:374) ~[pdfbox-2.0.0.jar.210708696406580127.tmp:2.0.0]
   at org.apache.pdfbox.rendering.PageDrawer.showFontGlyph(PageDrawer.java:334) ~[pdfbox-2.0.0.jar.210708696406580127.tmp:2.0.0]
   at org.apache.pdfbox.contentstream.PDFStreamEngine.showGlyph(PDFStreamEngine.java:744) ~[pdfbox-2.0.0.jar.210708696406580127.tmp:2.0.0]
   at org.apache.pdfbox.contentstream.PDFStreamEngine.showText(PDFStreamEngine.java:701) ~[pdfbox-2.0.0.jar.210708696406580127.tmp:2.0.0]
   at org.apache.pdfbox.contentstream.PDFStreamEngine.showTextStrings(PDFStreamEngine.java:609) ~[pdfbox-2.0.0.jar.210708696406580127.tmp:2.0.0]
   at org.apache.pdfbox.contentstream.operator.text.ShowTextAdjusted.process(ShowTextAdjusted.java:52) ~[pdfbox-2.0.0.jar.210708696406580127.tmp:2.0.0]
   at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:815) ~[pdfbox-2.0.0.jar.210708696406580127.tmp:2.0.0]
   at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:472) ~[pdfbox-2.0.0.jar.210708696406580127.tmp:2.0.0]
   at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:446) ~[pdfbox-2.0.0.jar.210708696406580127.tmp:2.0.0]
   at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:149) ~[pdfbox-2.0.0.jar.210708696406580127.tmp:2.0.0]
   at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:189) ~[pdfbox-2.0.0.jar.210708696406580127.tmp:2.0.0]
   at org.apache.pdfbox.rendering.PDFRenderer.renderPage(PDFRenderer.java:208) ~[pdfbox-2.0.0.jar.210708696406580127.tmp:2.0.0]
   at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:139) ~[pdfbox-2.0.0.jar.210708696406580127.tmp:2.0.0]
   at com.ubooquity.fileformat.pdf.a.a(SourceFile:59) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.f.a.a(SourceFile:41) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.provider.page.a.a(SourceFile:107) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.provider.page.a.a(SourceFile:82) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.c.a(SourceFile:324) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.c.a(SourceFile:58) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.c$1.a(SourceFile:133) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.e.e.a(SourceFile:287) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.e.e$f.a(SourceFile:830) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.e.e$1$1.run(SourceFile:210) ~[Ubooquity.jar:1.10.0]
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_60]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_60]
   at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60]


Could you please advise?

This is the new ubooquity.conf for DSM 6 and Java 8. Server runs, but pdf files does not load properly when read online.


start on started httpd-user

stop on runlevel [06]


exec /volume1/@appstore/Java8/j2sdk-image/jre/bin/java -Dfile.encoding=UTF-8 -Xmx512m -jar /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -headless -workdir "/volume1/comics/Ubooquity"