0
Under review

sort of API

Attila Rozsa 5 years ago updated 5 years ago 3

I'd like to get some basic information on my libraries (.e.g number of books, date/time of last scan) via curl to be able to intergrate it into a home automation system (in my case Home Assistant).

So far I can only test is the Ubooquity server is up.

Is there some sort of REST API that has end-points (with or without authentication) to query the aboves?

0

Clean install of Ubooquity on UnRaid 6.8.1 does not progress beyong "Loading preferences" ...

Robert Regnell 5 years ago updated 5 years ago 1

I had this running and moved onto including my Calibre library. It required many, many restarts to complete the scanning of the Calibre library I even upped the MAXMEM in between. I could see the Calibre library occasionally, but not consistently. Now I see the log files show, after starting Ubooquity, doesn't progress beyond "Loading preferences" - see below. I removed the Docker container and installed again from scratch but get the same results. I have deleted the preferences.json file and restarted but same ...


[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...

-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User
uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[cont-init.d] 30-config: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
20200719 07:36:51 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: true, libraryport: -1, adminport: -1, remoteadmin: true, host: 0.0.0.0, debug: false, execdir: /config
20200719 07:36:51 [main] INFO com.ubooquity.Ubooquity - #############################
20200719 07:36:51 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20200719 07:36:51 [main] INFO com.ubooquity.Ubooquity - #############################
20200719 07:36:51 [main] INFO com.ubooquity.Ubooquity - Java version: 1.8.0_242
20200719 07:36:51 [main] INFO com.ubooquity.Ubooquity - Java vendor: IcedTea
20200719 07:36:51 [main] INFO com.ubooquity.Ubooquity - java vm name: OpenJDK 64-Bit Server VM
20200719 07:36:51 [main] INFO com.ubooquity.Ubooquity - java runtime name: OpenJDK Runtime Environment
20200719 07:36:51 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 966 MB
20200719 07:36:51 [main] INFO com.ubooquity.Ubooquity - OS name: Linux
20200719 07:36:51 [main] INFO com.ubooquity.Ubooquity - OS version: 4.19.94-Unraid
20200719 07:36:51 [main] INFO com.ubooquity.Ubooquity - OS architecture: amd64
20200719 07:36:51 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20200719 07:36:51 [main] INFO com.ubooquity.Ubooquity - Ubooquity 2.1.2 built on 2018-10-14 at 12:58
20200719 07:36:51 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20200719 07:36:51 [main] INFO com.ubooquity.Ubooquity - Loading preferences 

0

does anyone have install instructions for ubuntu 16.04

Will Meakins 5 years ago updated 5 years ago 1

any step by step instructions on installing ubooquity on ubuntu 16.04? thank you

0

Cant access Ubooquity remotely

Will Meakins 5 years ago updated by Annorax 4 years ago 3

I forwarded the 2202 port in my router, and opened the port in windows 10,  allowed javaw in windows firewall permissions

still cant connect from outside network... only can access library at localhost:2202  

0

[2.1.2 + docker] acces to folder

pascal 5 years ago 0

Hi

Since I reinstall Ubooquity on my nas (docker + linuxserver/ubooquity) I have some problem to share my collection.

my config directory : volume1/dockers/Ubooquity

if I put "volume2/BDs/comics" as /comics share, Ubooquity did not see the files as the files are not in the config directory

if I moved them into the config directory it worked "volume1/dockers/Ubooquity/comics"

is there a solution to access to another directory ??

0

Trouble with Traefik Reverse Proxy

Ken Vermillion 5 years ago updated by Jon Molina 5 years ago 1
anyone familiar with traefik v2 labels and ubooquity in docker compose?  I get a 404 error when trying to hit both the admin and library sites via ubooquity.domain

https://gist.github.com/bigverm23/db74516ceef08971489688143d478c1e

0

Folder Covers Slow to Load or Not Loading

Thechickenmoo 5 years ago updated 5 years ago 0

I've got ~750 ePubs on an external drive attached to an ubuntu server I'm using. I utilized the LinuxServer.io Docker image to run an instance of Ubooquity. It runs behind another container that acts as a reverse-proxy for a few services I host. I noticed a while back that the covers of the folders weren't loading very quickly. Sometimes folder links would take a full minute to load. I started trying to troubleshoot this today when I had a minute.

First I updated the docker container as I was a version or two behind. No major difference after updating. 

Checked permissions on the Books folder. (specifically that the gid and uid match, and I set permissions to 775) 

Added another theme (plextheme) to see if that would alter anything. 

Changed Maxmem on the container to make sure it wasn't running out of RAM or etc. (4096mb)

Cleared cache on the database

Tried incognito and a new browser just in case. 

Confirmed same results on a mobile browser. 


I use calibre sorting, and it tends to be that all the A-G or so author folders will correctly load an image. I might get one or two folders with a generic cover, and then the rest of the page is showing broken images where the cover should be. 

I checked the logs and am seeing this and others like it: 

ERROR com.ubooquity.d.b - Request processing failed for URI: /books/1969/coverFolder?cover=true (method:GET)
java.lang.NullPointerException: null
at com.ubooquity.provider.book.g.a(SourceFile:169) ~[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.6468239414284984926.tmp:9.4.0.v20161208]
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190) [jetty-server-9.4.0.v20161208.jar.6468239414284984926.tmp:9.4.0.v20161208]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1228) [jetty-server-9.4.0.v20161208.jar.6468239414284984926.tmp:9.4.0.v20161208]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:170) [jetty-server-9.4.0.v20161208.jar.6468239414284984926.tmp:9.4.0.v20161208]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1130) [jetty-server-9.4.0.v20161208.jar.6468239414284984926.tmp:9.4.0.v20161208]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.4.0.v20161208.jar.6468239414284984926.tmp:9.4.0.v20161208]
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:118) [jetty-server-9.4.0.v20161208.jar.6468239414284984926.tmp:9.4.0.v20161208]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [jetty-server-9.4.0.v20161208.jar.6468239414284984926.tmp:9.4.0.v20161208]
at org.eclipse.jetty.server.Server.handle(Server.java:564) [jetty-server-9.4.0.v20161208.jar.6468239414284984926.tmp:9.4.0.v20161208]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:318) [jetty-server-9.4.0.v20161208.jar.6468239414284984926.tmp:9.4.0.v20161208]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [jetty-server-9.4.0.v20161208.jar.6468239414284984926.tmp:9.4.0.v20161208]
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) [jetty-io-9.4.0.v20161208.jar.1142343236971734481.tmp:9.4.0.v20161208]
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:112) [jetty-io-9.4.0.v20161208.jar.1142343236971734481.tmp:9.4.0.v20161208]
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) [jetty-io-9.4.0.v20161208.jar.1142343236971734481.tmp:9.4.0.v20161208]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672) [jetty-util-9.4.0.v20161208.jar.4902311888213625721.tmp:9.4.0.v20161208]
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590) [jetty-util-9.4.0.v20161208.jar.4902311888213625721.tmp:9.4.0.v20161208]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_242]

Can anyone assist me here? Is it something specific to my docker image? Something I messed up in the settings? 

0
Answered

Some cbrs dont show up right

mannamanna 5 years ago updated 5 years ago 4

Hello! I have a really strange problem: Some of my cbr-files show up with a generic book-icon, clicking on them they show "Book contains 1 page". I cannot read it, but download.

So i unpacked and packed the files again with rar, using m4 and later with m5 (rar version 4, 5), but same error. Logs show "WARN, not a rar file..."

So i renamed my freshly created rar-file (which was renamed before to .cbr) to .cbz:

Ubooquity is able to read the file without error. Book cover is shown right!

Now i tested by unzipping my .cbz: results in an error from unzip: "Not a zip-file" - which is obviously right.

I can unrar the file without problem. I have tested with "correct" cbrs by doing an unrar, rar again without any options set, they work right and show up as expected. So i think there is no error in the rar files itself. The folder containing the jpg's dont contain special files like Appledouble, thumb or anything else. Only jpg's.

Oh, my ubooquity server runs in a freebsd jail, with -Xmx2g.

If you need further infos i can give.

0
Answered

High Memory Usage in QNAP

linearkinetics 5 years ago updated by Tom 5 years ago 1

Hihi, I recently installed Ubooquity server on my QNAP NAS. It's an amazing app. The only thing is that the memory usage racks up very quickly, and does not reduce even during inactivity. Memory usage initially stands at 200MB, and that is fine. But it quickly goes over 1GB after reading a few comics, and that does not go down even after I finished reading. This then makes my entire NAS system very slow (4GB in total of RAM). Is there any settings I could change in order to limit, or release memory usage, when Ubooquity is not in use?  Many thanks. 

0

New Implementation - Different Kinds of Strangeness

JeffN1213 5 years ago updated 5 years ago 1

I've installed Ubooquity on a clean Windows Server 2016 virtual machine under VMware ESXi. Java is version 8, Update 251 (Build 1.8.0_251-b08). Content is on a Synology NAS, with SMB/CIFS shares set up. There are no network issues between the Windows server VM and the NAS. There is no antivirus installed on the server other than Windows Defender. (Virus scanning is done at multiple levels elsewhere on the network.) I am using the Plex theme.

I initially indexed a folder containing various magazines that was mapped to the Ubooquity server as M:\. Since I didn't like seeing the drive share as a high-level source on Ubooquity's desktop, I created a folder called Magazines, deleted the M:\ shared folder from U and mapped the Magazines share instead. Fine. Until today, when M:\ reappeared on U's desktop and "Magazines" disappeared.


I have another share mapped called "Books."


Sometimes I see the two mapped shares/sources on U's desktop. Mostly, I see only one. Which one, I cannot predict.

Looking at the Ubooquity admin console, I often see a message stating that the admin console can't reach the Ubooquity server even though they are both on the same machine. The message is transient and usually disappears in a few seconds to a few minutes.