Your comments

You should not just open the ports - you have to forward incoming and outgoing traffic used by this ports from your public ip adress to your Ubooquity installation by creating a rule for them.

Your router doesnt know about the target inside your private Network by just opening these ports...

take the easy way : install the app from the QNAP-Club repository (https://www.qnapclub.eu/de/howto/1

and then install the Ubooquity-package directly from them - it runs here nearly 4 years without any trouble...

you just unzipped the Ubooquity.jar-file, too ;-) 

Bonjour,

La question est importante, et cbz est probablement beaucoup plus facile et plus rapide à afficher que PDF.

La raison en est que cbz n'est rien de plus qu'un fichier ZIP avec les images au format jpg.

Dans le PDF, cependant, chaque image est «intégrée» au format Postscript, ce qui nécessite beaucoup plus de ressources pour le décodage que dans un fichier ZIP.
Mais veuillez également noter l'effort requis lors de l'extraction de toutes les images des fichiers PDF - cela prend en moyenne 5 à 10 fois plus de temps que l'extraction d'un fichier ZIP.

Désolé si l'explication n'est pas parfaite ou facile à lire, elle a été traduite de l'anglais vers le français à l'aide de Google Translate ...


Meilleures salutations et bonne chance!

(et de préférence faire une sauvegarde à l'avenir - malheureusement, je connais votre douleur personnellement)


TierParkToni

glad to help you (by "no directly help" ) - performing a platform change is quite the hardest way, but mostly it helps ;-) .
my Ubooquity here runs a long time on a windows 7 machine before i moved it on my QNAP - and here it runs now nearly 6 (!) years with almost 60-70 users ( i host for our club a private platform for old car repair manuals - page scans as CBZ or PDF-Files)

quote : "I'm also getting memory errors saying it's out of headspace, but there seems to be more than 475mb free 

java.lang.OutOfMemoryError: Java heap space " 


The "475 MB free RAM" is probably the global free RAM of your NAS, but not the free RAM for the JAVA Runtime. 


A quick look into the FAQ shows the following topic : 

https://vaemendis.github.io/ubooquity-doc/pages/faq.html#i-have-javalangoutofmemoryerror-java-heap-space-messages-in-the-logs


If qou dont reserve 512 MB RAM as java head space, this error may occur.... 

Add the parameter provided in the FAQ Link on your Ubooquity-startup-script, and it may runs 4erver  ... 

Hope that helps ! 

best regards

TierParkToni

Seems to be a java acess rights problem : is your share based on an symlink ? 

i had a long time ago the same problem on my old QNAP TS453mini, and the solution was using the "absolute" path.

The symlink path is "/share/Ubooquity" , the absolute path is "/share/CACHEDEV1_Vol/Ubooquity".

Any other non-Java-based application can use the symlink, only Java-based applications cant use it correct..... 

Even the scan runs perfect, but the web interface reader cant display any page from the previous scanned comic/book. 

My "easy" solution : use always absolute path's tho your books / comics if you run an java-based application on linux ;-) 

But you have to rescan your complete collection again....

Perfect - Thanks for the feedback !

Best regards 

TierParkToni

Look at this post from your log : 

20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: false, libraryport: -1, adminport: -1, remoteadmin: false, host: null, debug: false, execdir: C:\Ubooquity

Your uooquity port configuration doesnt know which port do you want to use and which host-IP-adress do you want to use.

So your configuration can only run local with no defined ports and without any known IP-adress - cant work, anyway  .... 

and by all, look at this : 20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 247 MB


it still needs more memory : 247 MB seems too less for 2.1.2 , 512 MB works definitely (4096MB under Linux x64 here, and sometimes max 15 users read here at the same time - without any leaks or delays).

Try this call in a cmd-window :

java -Xmx512m -jar Ubooquity.jar --libraryport 2202 --adminport 2203 --headless --host:<ENTER_YOUR_LOCAL_IP_ADRESS_HERE> 


- At  <ENTER_YOUR_LOCAL_IP_ADRESS_HERE> , type your local IP-adress from your LAN configuration without the <>. 

- keep this cmd-window open and running to see the output logs.

- now open your browser and enter 

http://<ENTER_YOUR_LOCAL_IP_ADRESS_HERE>:2203

You should now see the ubooquity admin page an begin with your ubooquity experience 😉 .... 

more to find @ https://vaemendis.github.io/ubooquity-doc/pages/manual.html 

hope that may help you ! 

best regards 

TierParkToni

Hello jaykool,

please try this : /opt/jre_1.8.191/bin.java -jar Ubooquity.jar -libraryport 2202 -remoteadmin -adminport 2203 

Hope that helps ..

Best regards !

TierParkToni