0

Adding themes to ubooquity in an Unraid server

maknilsin 5 years ago 0

Hi with my Unraid server I am unable to add a theme. The folder appears locked whenever I try to move the theme into the themes folder

Any help or suggestions for resolving this would be greatly appreciated!

0

Ubooquity 2.1.2 in Docker/portainer (raspberry pi) will not let me change portnumbers for library

Michiel Niemeijer 5 years ago updated 5 years ago 0

Hi all,

I have this problem where I just cannot get Ubooquity to work with another portnumber than 2202 (for library access). My setup is as follows:

- raspberry pi 3b+ (Raspberry PI OS)

- OMV5 with Docker/Portainer ( linuxserver/ubooquity:latest)

- Multiple containers running, several with custom functioning 'published ports' (what I would call port forwarding between dockerhost and container)

- Configured Macvlan to enable dockercontainers to have their unique/own IP within my LAN (like for example Pihole, successfully running and working on its own local IP)


Issue: I want ubooquity to work on webport 80 instead of 2202, so I can assign a local domain name and have the users not needing to remember IP numbers. No matter what I try to do:

* in Docker container 'Manual network port publishing' settings configure 80 --> 2202 mapping

* edit 'preferences.json' file value "libraryPortNumber" : 80

it does not work. Seems like Ubooquity totally ignores these values? Or when I restart my container the values are reset. Quite frustrating as this is the final piece of the puzzle I need to solve before 'going to production'. 

Any suggestions? Thanks so much in advance for your assistance,

Kind regards,

0
Fixed

Error Performing Query on Launch

joefrizzell 5 years ago updated 5 years ago 2

Hi I'm getting this error when I launch my server:

Last login: Sat Aug  8 18:31:01 on ttys007
joe@Darth-Pro ~ % cd ~/Desktop/Ubooquity; java -Xmx4096m -jar Ubooquity.jar
20200808 18:32:02 [main] INFO  com.ubooquity.Ubooquity - Running with the following parameters - headless: false, libraryport: -1, adminport: -1, remoteadmin: false, host: null, debug: false, execdir: /Users/joe/Desktop/Ubooquity
20200808 18:32:02 [main] INFO  com.ubooquity.Ubooquity - #############################
20200808 18:32:02 [main] INFO  com.ubooquity.Ubooquity - #     Starting Ubooquity    #
20200808 18:32:02 [main] INFO  com.ubooquity.Ubooquity - #############################
20200808 18:32:02 [main] INFO  com.ubooquity.Ubooquity - Java version: 1.8.0_65
20200808 18:32:02 [main] INFO  com.ubooquity.Ubooquity - Java vendor: Oracle Corporation
20200808 18:32:02 [main] INFO  com.ubooquity.Ubooquity - java vm name: Java HotSpot(TM) 64-Bit Server VM
20200808 18:32:02 [main] INFO  com.ubooquity.Ubooquity - java runtime name: Java(TM) SE Runtime Environment
20200808 18:32:02 [main] INFO  com.ubooquity.Ubooquity - Max heap size available: 3641 MB
20200808 18:32:02 [main] INFO  com.ubooquity.Ubooquity - OS name: Mac OS X
20200808 18:32:02 [main] INFO  com.ubooquity.Ubooquity - OS version: 10.15.6
20200808 18:32:02 [main] INFO  com.ubooquity.Ubooquity - OS architecture: x86_64
20200808 18:32:02 [main] INFO  com.ubooquity.Ubooquity - Loading local version info
20200808 18:32:02 [main] INFO  com.ubooquity.Ubooquity - Ubooquity 2.1.2 built on 2018-10-14 at 12:58
20200808 18:32:02 [main] INFO  com.ubooquity.Ubooquity - Creating application folders
20200808 18:32:02 [main] INFO  com.ubooquity.Ubooquity - Loading preferences
zsh: suspended (signal)  java -Xmx4096m -jar Ubooquity.jar
joe@Darth-Pro Ubooquity % 20200808 18:32:05 [main] INFO  org.eclipse.jetty.util.log - Logging initialized @3743ms to org.eclipse.jetty.util.log.Slf4jLog
20200808 18:32:05 [main] INFO  com.ubooquity.b - Starting internal server...
20200808 18:32:05 [main] INFO  com.ubooquity.b - Reverse proxy prefix is not activated
20200808 18:32:05 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Scanning books directories
20200808 18:32:05 [main] INFO  org.eclipse.jetty.server.Server - jetty-9.4.0.v20161208
20200808 18:32:05 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@548a24a{/,null,AVAILABLE,@admin}
20200808 18:32:05 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@433defed{/,null,AVAILABLE,@library}
20200808 18:32:08 [main] INFO  o.e.jetty.server.AbstractConnector - Started library@239a307b{HTTP/1.1,[http/1.1]}{0.0.0.0:2202}
20200808 18:32:08 [main] INFO  o.e.jetty.server.AbstractConnector - Started admin@2a8448fa{HTTP/1.1,[http/1.1]}{0.0.0.0:2203}
20200808 18:32:08 [main] INFO  org.eclipse.jetty.server.Server - Started @6305ms
20200808 18:32:08 [main] INFO  com.ubooquity.b - Internal server started. Listening on port 2202 (library) and 2203 (admin)
20200808 18:32:09 [Timer-0] INFO  com.ubooquity.Ubooquity - Checking latest available Ubooquity version from website
20200808 18:32:10 [Timer-0] INFO  com.ubooquity.Ubooquity - Latest version available: 2.1.2Error performing query '<strong>': INSERT command denied to user 'gregre001'@'10.22.20.8' for table 'ubqt_startup'

 - Current version: 2.1.2

Exception: java.lang.IllegalStateException thrown from the UncaughtExceptionHandler in thread "Timer-0"
2020-08-08 18:32:40.429 java[8186:58296] unrecognized type is 4294967295
2020-08-08 18:32:40.429 java[8186:58296] *** Assertion failure in -[NSEvent _initWithCGEvent:eventRef:], /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1894.60.100/AppKit.subproj/NSEvent.m:1960
2020-08-08 18:33:05.468 java[8186:58296] unrecognized type is 4294967295
2020-08-08 18:33:05.468 java[8186:58296] *** Assertion failure in -[NSEvent _initWithCGEvent:eventRef:], /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1894.60.100/AppKit.subproj/NSEvent.m:1960
2020-08-08 18:33:10.553 java[8186:58296] unrecognized type is 4294967295
2020-08-08 18:33:10.553 java[8186:58296] *** Assertion failure in -[NSEvent _initWithCGEvent:eventRef:], /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1894.60.100/AppKit.subproj/NSEvent.m:1960</strong>

It seems like its failing on trying to check for a new version. I realize this software isn't really being supported anymore since there hasn't been an updated version since 2018, just wanted to see if there was a work around for this, maybe editing the local code on my machine to skip the version check or something.

Thanks.

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?