0
Not a bug

Error 500 on single EPUB

zerovirus 6 years ago updated 6 years ago 4

Added a new EPUB to the server, but it won't load. Thought it might be the file, but it loads in a desktop EPUB Reader program just fine. Haven't had this kind of error so far.


Here's the page that loads:

HTTP ERROR 500
Problem accessing /epubreader/68/. Reason:
Internal server error: null


Here's the log:

20191107 15:53:55 [qtp1739063-24507] ERROR com.ubooquity.d.b - Request processing failed for URI: /epubreader/68/?opening=true (method:GET)
java.lang.NullPointerException: null
   at com.ubooquity.fileformat.epub.c.close(SourceFile:242) ~[Ubooquity.jar:2.1.2]
   at com.ubooquity.f.b.a(SourceFile:21) ~[Ubooquity.jar:2.1.2]
   at com.ubooquity.provider.epubreader.a.a(SourceFile:145) ~[Ubooquity.jar:2.1.2]
   at com.ubooquity.d.c.a(SourceFile:142) ~[Ubooquity.jar:2.1.2]
   at com.ubooquity.d.b.handle(SourceFile:54) ~[Ubooquity.jar:2.1.2]
   at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [jetty-server-9.4.0.v20161208.jar.1383638551838216221.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190) [jetty-server-9.4.0.v20161208.jar.1383638551838216221.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1228) [jetty-server-9.4.0.v20161208.jar.1383638551838216221.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:170) [jetty-server-9.4.0.v20161208.jar.1383638551838216221.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1130) [jetty-server-9.4.0.v20161208.jar.1383638551838216221.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.4.0.v20161208.jar.1383638551838216221.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:118) [jetty-server-9.4.0.v20161208.jar.1383638551838216221.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [jetty-server-9.4.0.v20161208.jar.1383638551838216221.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.Server.handle(Server.java:564) [jetty-server-9.4.0.v20161208.jar.1383638551838216221.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:318) [jetty-server-9.4.0.v20161208.jar.1383638551838216221.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [jetty-server-9.4.0.v20161208.jar.1383638551838216221.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) [jetty-io-9.4.0.v20161208.jar.8575756471483478842.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:112) [jetty-io-9.4.0.v20161208.jar.8575756471483478842.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) [jetty-io-9.4.0.v20161208.jar.8575756471483478842.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672) [jetty-util-9.4.0.v20161208.jar.5478157055240233035.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590) [jetty-util-9.4.0.v20161208.jar.5478157055240233035.tmp:9.4.0.v20161208]
   at java.lang.Thread.run(Unknown Source) [na:1.8.0_221]

0
Answered

its not sorting comics issue by number

Sidd 6 years ago updated by Tom 6 years ago 1

its not sorting comics issue by number 

Image 587

0
Under review

Increase items on page limit

jchasa 6 years ago updated 6 years ago 2

I see there is a 300 item limit (max) to a page.  Could we get this updated to something larger at least a thousand.  Unless there is some specific reason there has to be that max.  I prefer myself to be able to see all my items on one page.

Thanks for the time.

0
Answered

How do i disable the option / remove the download ico in this application?

N. K D. 6 years ago updated by Tom 6 years ago 1

Hello,

i would like my library users to only read books or listen to audio books. i don't want them to download or print anything.

Is it possible to remove the download icon?

0

Cool New Use: Cookbooks and Paprika Recipe Manager

sous chef 6 years ago 0

For anyone using the Paprika Recipe Manager, I use Ubooquity to serve my epub cookbooks. I can then open them in Paprika's browser and import recipes individually. Success depends upon how the cookbook was formatted. Some cookbooks are one big file (won't work), others format each file individually (works!). This does not work with pdfs though, just epubs. 

0

Icons not showing on front page

TJ2 6 years ago updated 6 years ago 1

Hi,

I plan on using Ubooquity for pdf files, I'm running it on a NAS (using Unraid, installed via the Unraid Community App).  On the main page, I see buttons for Comics, Books, Raw Files etc.  I click on Books, which takes me to:

http://192.168.1.234:2202/ubooquity/books/

That page shows the icons at the top (Search, Random, go up one level, settings) and a single button saying Books, but nothing else, should it also show actual covers of specific titles on that page as well?  Currently the rest of the page is blank.  When I click on the Books link on that page (which links to http://192.168.1.234:2202/ubooquity/books/1/) it then shows me icons for each of the pdfs.  Just seems odd to have that intermediate page (/books/) that doesn't show anything beyond the link to books/1/, is that normal behavior?  Also, http://192.168.1.234:2202/ubooquity/books/?random=true works as expected and shows actual icons as I'd expect, but http://192.168.1.234:2202/ubooquity/books/ only shows the one link.  Do I need to correct something, or is this by design?  Thanks!

0

Internal server stopped: Illegal seek

FinalAngel 6 years ago 0

Hello, I can start the server and use Ubooquity for a while (sync, download, reading) all works fine. Though after some time (normally around or less than 24 hours) the server shuts unexpectedly down. From the logs the following error is shown:

20190814 17:32:27 [Scanner thread] INFO com.ubooquity.data.database.c - Found 61 empty folders
20190814 17:32:27 [Scanner thread] INFO com.ubooquity.data.database.c - Deleted empty folders from database. Looking for new ones...
20190814 17:32:27 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20190814 17:32:27 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics folder content cache populated
20190814 17:32:27 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics statistics: [total: 1655, added or updated: 0, removed: 0]
20190814 17:32:27 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books statistics: [total: 481, added or updated: 0, removed: 0]
20190814 19:43:52 [main] ERROR com.ubooquity.Ubooquity - Exiting application because of exception
java.io.IOException: Illegal seek

at java.io.FileInputStream.available0(Native Method) ~[na:1.8.0_201]
at java.io.FileInputStream.available(FileInputStream.java:306) ~[na:1.8.0_201]
at java.io.BufferedInputStream.available(BufferedInputStream.java:410) ~[na:1.8.0_201]
at com.ubooquity.Ubooquity.main(SourceFile:228) ~[Ubooquity.jar:2.1.2]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_201]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_201]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_201]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_201]
at com.ubooquity.e.a.a(SourceFile:823) [Ubooquity.jar:2.1.2]
at com.ubooquity.Launcher.main(SourceFile:10) [Ubooquity.jar:2.1.2]
20190814 19:43:53 [main] ERROR com.ubooquity.Ubooquity - Failed to display error dialog
java.lang.IllegalStateException: Toolkit not initialized

at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:273) ~[jfxrt.jar:na]
at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:268) ~[jfxrt.jar:na]
at javafx.application.Platform.runLater(Platform.java:83) ~[jfxrt.jar:na]
at com.ubooquity.Ubooquity.main(SourceFile:264) ~[Ubooquity.jar:2.1.2]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_201]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_201]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_201]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_201]
at com.ubooquity.e.a.a(SourceFile:823) [Ubooquity.jar:2.1.2]
at com.ubooquity.Launcher.main(SourceFile:10) [Ubooquity.jar:2.1.2]
20190814 19:43:53 [Thread-2] INFO com.ubooquity.b - Stopping internal server...
20190814 19:43:53 [Thread-4] INFO o.e.jetty.server.AbstractConnector - Stopped library@1fa89059{HTTP/1.1,[http/1.1]}{0.0.0.0:8096}
20190814 19:43:53 [Thread-2] INFO com.ubooquity.data.feeder.a - Aborting content scan...
20190814 19:43:53 [Thread-2] INFO com.ubooquity.data.feeder.a - Waiting for scanner thread to stop
20190814 19:43:53 [Thread-2] INFO com.ubooquity.data.feeder.a - Scanner thread stopped
20190814 19:43:53 [Thread-4] INFO o.e.jetty.server.AbstractConnector - Stopped admin@7ca694f8{HTTP/1.1,[http/1.1]}{0.0.0.0:8097}
20190814 19:43:53 [Thread-4] INFO o.e.j.server.handler.ContextHandler - Stopped o.e.j.s.h.ContextHandler@34666fdc{/,null,UNAVAILABLE,@library}
20190814 19:43:53 [Thread-4] INFO o.e.j.server.handler.ContextHandler - Stopped o.e.j.s.h.ContextHandler@1285185c{/,null,UNAVAILABLE,@admin}
20190814 19:43:53 [Thread-2] INFO com.ubooquity.b - Internal server stopped
20190814 19:43:53 [Thread-2] INFO com.ubooquity.Ubooquity - Ubooquity has closed.

Any advice would be helpful

0

Help needed, configure HTTPS on Qnap

mercury 6 years ago updated by MontyJ 6 years ago 1

Hello there friends,

I have recently started using Ubooquity and loving it. In fact I dont think I have come across anyone who does not like it :). I have enabled external access via portforward however I generaly dont open anything to WWW unless it is HTTPS.

So my request, is there anyone who runs Ubooquity on Qnap and has configured HTTPS? If yes, may I kindly request a step by step guide?


Thank you in advance.

QNAP firmware: Latest

Ubooquity version: Latest

0

[Feature Request] List view of pages

yoshwata1010 6 years ago 0

Ubooquity does not have ability to show all page thumbnails of a comic. This functionality is so useful to seek the page with your eyes.

0
Under review

Max database size?

jrabb1t 6 years ago updated 6 years ago 2

I think my database hit a size limit.  It's right around 2GB and has not increased in size after adding new files.  The logs show a number of dotNet errors in regards to accessing the database (I can share those when I get access to the PC again).  The website displays the initial Comics/Books page but selecting either option times out.  Is there a way to allow a larger database?