[DOCKER CONTAINER] Ubooquity


Recommended Posts

  • Replies 72
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 year later...

OK, I'm running pretty dense this weekend.

 

I've got a Calibre library that I'm starting to build. I want to be able to share these books with my daughter, and to read them on my phone from wherever, so I've installed Ubooquity.

 

I'm baffled as to how I point Ubooquity at the Calibre library, and how I grant people access to it. (I know how to port-forward, I don't see where I administer users, etc.)

 

I'm attaching my docker config. I've tried /mnt <-> /mnt, and I've tried /mnt <-> /mnt/users/Books - neither seems to automatically find anything, and I don't see where in this configuration to point it at the books.

 

I'm also attaching some screen shots of what I can see in Ubooquity - as you can see, there are no books found.

 

I've seen that Ubooquity needs the metadata embedded in the .epub file itself, and I've not yet gone back through and re-exported them all, but I've got a wide variety of .epub files, and I'd imagine that at least a few of them have some metadata in them. (Can't guarantee it at this point.)

 

I've gone to [ip]:[port]/admin, and it takes me to the admin screen. When I try to go to [ip]:[port], it immediately redirects me to /admin. Is that to be expected? I don't see any of the screens shown on Ubooquity's web site. Is this because I don't have anything for it to display yet?

 

All in all... HELP!!!

unRAID_Ubooquity_config.PNG.b4ef86084695b46621c57d579e82dea0.PNG

unRAID_Ubooquity_1.PNG.90237d286533359485b626c252076d66.PNG

unRAID_Ubooquity_2.PNG.1f5c3873dd9541cd3171ab6bcc87bcbf.PNG

unRAID_Ubooquity_3.PNG.cb5055b22d850ad16bb9d3743faa7492.PNG

Link to comment

OK, I'm running pretty dense this weekend.

 

I've got a Calibre library that I'm starting to build. I want to be able to share these books with my daughter, and to read them on my phone from wherever, so I've installed Ubooquity.

 

I'm baffled as to how I point Ubooquity at the Calibre library, and how I grant people access to it. (I know how to port-forward, I don't see where I administer users, etc.)

 

I'm attaching my docker config. I've tried /mnt <-> /mnt, and I've tried /mnt <-> /mnt/users/Books - neither seems to automatically find anything, and I don't see where in this configuration to point it at the books.

 

I'm also attaching some screen shots of what I can see in Ubooquity - as you can see, there are no books found.

 

I've seen that Ubooquity needs the metadata embedded in the .epub file itself, and I've not yet gone back through and re-exported them all, but I've got a wide variety of .epub files, and I'd imagine that at least a few of them have some metadata in them. (Can't guarantee it at this point.)

 

I've gone to [ip]:[port]/admin, and it takes me to the admin screen. When I try to go to [ip]:[port], it immediately redirects me to /admin. Is that to be expected? I don't see any of the screens shown on Ubooquity's web site. Is this because I don't have anything for it to display yet?

 

All in all... HELP!!!

You've got to type in the path to the books in the shared directory box  (in your case, /mnt)

 

I used to love Ubooquity, but have recently switched over to using COPS from lsio  (don't like the fact that Calibre forces me to relocate my library, but it is what it is), and since you're already using Calibre, switching to COPS will make sense

 

 

Link to comment

You've got to type in the path to the books in the shared directory box  (in your case, /mnt)

 

Ah! That did it. I kept trying to assign a user to it, and it didn't like a user. Didn't realize I could just assign a path. If I want to make this accessible from the outside, where do I create users/pwd?

 

I used to love Ubooquity, but have recently switched over to using COPS from lsio  (don't like the fact that Calibre forces me to relocate my library, but it is what it is), and since you're already using Calibre, switching to COPS will make sense

 

Do I use COPS instead of Calibre, or in addition to Calibre?

Link to comment

Hey... what are you trying to say?

 

Interesting, I got COPS installed and running in about 20 seconds. The one distinct advantage Ubooquity has is that it has a built in reader - I can browse from laptop, phone or ebook reader & read via Ubooquity, where I cannot read an epub on a Win or Mac without additional software.

Link to comment

Hey... what are you trying to say?

 

Interesting, I got COPS installed and running in about 20 seconds. The one distinct advantage Ubooquity has is that it has a built in reader - I can browse from laptop, phone or ebook reader & read via Ubooquity, where I cannot read an epub on a Win or Mac without additional software.

Talk to CHBMB in the COPS thread.  He's the expert...  I just use it to browse and transfer to my tablets

 

lol... Never looked at your sig...  You beat my secondary server, but my primary did come out ahead of yours (barely)

Link to comment

Hey... what are you trying to say?

 

Interesting, I got COPS installed and running in about 20 seconds. The one distinct advantage Ubooquity has is that it has a built in reader - I can browse from laptop, phone or ebook reader & read via Ubooquity, where I cannot read an epub on a Win or Mac without additional software.

 

COPS has a built in epub reader as well, we updated the container a couple of weeks ago to get this feature working.

Link to comment

Hello Hurricane,

 

I am having an issue with Ubooquity not scanning all my comics, at a certain point it just hangs and won't continue to scan.  I get the following error in my logs:

 

20161012 12:58:48 [scanner thread] ERROR com.ubooquity.Ubooquity - Uncaught exception on thread: Scanner thread
java.lang.OutOfMemoryError: Java heap space
??	at java.awt.image.DataBufferByte.(DataBufferByte.java:92) ~[na:1.8.0_77]
??	at java.awt.image.ComponentSampleModel.createDataBuffer(ComponentSampleModel.java:445) ~[na:1.8.0_77]
??	at sun.awt.image.ByteInterleavedRaster.(ByteInterleavedRaster.java:90) ~[na:1.8.0_77]
??	at sun.awt.image.ByteInterleavedRaster.createCompatibleWritableRaster(ByteInterleavedRaster.java:1281) ~[na:1.8.0_77]
??	at sun.awt.image.ByteInterleavedRaster.createCompatibleWritableRaster(ByteInterleavedRaster.java:1292) ~[na:1.8.0_77]
??	at org.apache.pdfbox.filter.DCTFilter.fromBGRtoRGB(DCTFilter.java:245) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.filter.DCTFilter.decode(DCTFilter.java:170) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.cos.COSInputStream.create(COSInputStream.java:69) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.cos.COSStream.createInputStream(COSStream.java:163) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.pdmodel.common.PDStream.createInputStream(PDStream.java:235) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.createInputStream(PDImageXObject.java:565) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader.from8bit(SampledImageReader.java:233) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader.getRGBImage(SampledImageReader.java:138) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.getImage(PDImageXObject.java:340) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.rendering.PageDrawer.drawImage(PageDrawer.java:781) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.contentstream.operator.graphics.DrawObject.process(DrawObject.java:62) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:815) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:472) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:446) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:149) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:189) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.rendering.PDFRenderer.renderPage(PDFRenderer.java:208) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:139) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:94) ~[pdfbox-2.0.0.jar.518817863100874557.tmp:2.0.0]
??	at com.ubooquity.fileformat.pdf.b.a(SourceFile:71) ~[ubooquity.jar:1.10.1]
??	at com.ubooquity.fileformat.pdf.b.a(SourceFile:44) ~[ubooquity.jar:1.10.1]
??	at com.ubooquity.b.c.a(SourceFile:58) ~[ubooquity.jar:1.10.1]
??	at com.ubooquity.data.feeder.a.b(SourceFile:512) ~[ubooquity.jar:1.10.1]
??	at com.ubooquity.data.feeder.a.c(SourceFile:470) ~[ubooquity.jar:1.10.1]
??	at com.ubooquity.data.feeder.a.b(SourceFile:35) ~[ubooquity.jar:1.10.1]
??	at com.ubooquity.data.feeder.a$1.run(SourceFile:123) ~[ubooquity.jar:1.10.1]
??	at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_77]

 

 

I found a possible fix here:

 

https://ubooquity.userecho.com/topics/187-scanning-a-large-library-seems-to-time-out/

 

How do I apply this to your docker?

 

Thank You

Link to comment
  • 4 weeks later...
  • 3 weeks later...

Hello Hurricanehrndz,

 

Just wondering if you had any update to ubooquity.

 

Thanks!

 

First of all, I'm sorry this has taken me soo long to look into. Second of all I'm wondering if you read the readme?

Specifically the the tech details:

https://github.com/hurricanehrndz/docker-containers/tree/master/ubooquity#technical-information

 

You will see that you can adjust how much mem java is allowed via an environment variable.

Link to comment
  • 8 months later...
  • 3 years later...

Hello!

 

I've been using Ubooquity, for years, on a Windows server with a NAS mapped as a network drive. Now I have begun moving everything to Unraid with the drives on the local machine, and am royally stuck with Ubooquity.  :(

 

In order to preserve my Ubooquity database I will need to map it's old path to the Container Path, while mapping the new Comics path to the Host Path, but they look like this:

 

Container Path: R:\\Comics
Host Path: /mnt/user/Comics/

 

Docker seems to really not like the old Windows mapped drive "R:\\Comics", and throws me an error saying as much "docker: Error response from daemon: invalid volume specification: '/mnt/user/Comics/:R:\Comics:ro'."

 

Does anyone have a way to map Windows paths to Unraid paths? This is kind of brought about by the limitation of Ubooquity's mapping requirements.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.