0

Progress bar in ePub web reader

Serj 5 years ago updated 5 years ago 0

What would be great to have some kind of an progress bar (like when you open ePub book in Internet Explorer) so you'll know how many percents of a book you are far away from finishing it

0

Systemd startup file

Richard Leonard 5 years ago updated 5 years ago 5

For any linux folk out there... here is my latest systemd startup file....

[Unit]
Description=Ubooquity-Server
After=network.target

[Service]
WorkingDirectory=/home/rmleonard/Ubooquity
Type=forking
ExecStart=/usr/bin/screen \
-dmS uboo \
/usr/bin/java \
-Xmx6g \
-Xms5g \
-Xss1g \
-jar Ubooquity.jar \
--headless \
--host 192.168.1.53 \
--libraryport 2207 \
--adminport 2292 \
--workdir /home/rmleonard/Ubooquity \
--remoteadmin

ExecStop=/usr/bin/screen -S uboo -p 0 \
-X stuff "Q^M"

Restart=on-failure
User=rmleonard
Group=netusers
UMask=0022

[Install]
WantedBy=multi-user.target

-=-=-=-

On the ExecStop ... following the Q (but still inside the quotes) is a 'carriage return' using vi as the text editor, scroll to just past the Q, press I to enter insert mode, then do 'control-v' <return>

That should insert a highlighted ^M (which means a carriage return)

The server I'm using has 16GB of ram in it, so....

Xmx6g --- allocate 6GB ram to the java app

Xms5g --- start w/5GB pre-allocated (it may never use that last gb)

Xss1g --- allow up to 1GB for thread space (seemed like a good idea at the time) --

So... first is starts the terminal multiplexer 'screen' (you might have to install that if you haven't already)

Then it starts Java / Ubooquity in that 'bubble' ..

if it sounds complicated then it may not be what you need.

If you are running any of the Debian Linuxes (ubuntu, mint, etc.) Then this may be of use

0

Why is there no "How to Add a User" or "How to Access Outside Network" Guide?

Brian Evangelista 5 years ago updated by Dave P 5 years ago 13

All I'm looking for is a simple How To.  I installed Ubooquity, I scanned my Comics folder... Now what?  How do I add a User? How does that user connect to my Ubooquity? Does he also install Ubooquity?  Very confused why there isn't a guide on the Main page on how to USE the program....only how to install it LOL.

0
Not a bug

Error 500 on single EPUB

zerovirus 5 years ago updated 5 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 5 years ago updated by Tom 5 years ago 1

its not sorting comics issue by number 

Image 587

0
Under review

Increase items on page limit

jchasa 5 years ago updated 5 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