
Unable to start Ubooquity.jar in Ubuntu 18.04 after trying to set up NGINX reverse proxy
I have been using Ubooquity for several years, but recently I have been trying to set up NGINX for reverse proxy with TLS enabled via LetsEncrypt/Certbot on the horizon.
I was following along with some of the comments here and set up my ubooquity_reverse_proxy.conf file like this:
<code>server {
listen 2204;
listen 2205;
server_name ubooquity;
location /library {
proxy_pass http://my.subdomain.here:2204;
}
location /library/admin {
proxy_pass http://my.subdomain.here:2205;
}
}</code>
I kept getting error messages in NGINX saying that ports 2204 and 2205 were already being used and would fail to start.
I tried to kill the processes that may have been listening on those ports, but by the time I got NGINX to start, it would direct me to a 500 error page for /library/admin and a 404 for /library.
When I tried running the jar via the command line it would not start. Initially I got errors saying the DB was already being used. I checked but there were no other instances of Ubooquity running. So I backed up my database and deleted that version out of my /opt/ubooquity directory.
Now when I try to run Ubooquity.jar i get a different error:
<code>
20200317 22:36:24 [main] INFO com.ubooquity.Ubooquity - #############################
20200317 22:36:24 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20200317 22:36:24 [main] INFO com.ubooquity.Ubooquity - #############################
20200317 22:36:24 [main] INFO com.ubooquity.Ubooquity - Java version: 1.8.0_242
20200317 22:36:24 [main] INFO com.ubooquity.Ubooquity - Java vendor: Private Build
20200317 22:36:24 [main] INFO com.ubooquity.Ubooquity - java vm name: OpenJDK 64-Bit Server VM
20200317 22:36:24 [main] INFO com.ubooquity.Ubooquity - java runtime name: OpenJDK Runtime Environment
20200317 22:36:24 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 7125 MB
20200317 22:36:24 [main] INFO com.ubooquity.Ubooquity - OS name: Linux
20200317 22:36:24 [main] INFO com.ubooquity.Ubooquity - OS version: 5.3.0-40-generic
20200317 22:36:24 [main] INFO com.ubooquity.Ubooquity - OS architecture: amd64
20200317 22:36:24 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20200317 22:36:24 [main] INFO com.ubooquity.Ubooquity - Ubooquity 2.1.2 built on 2018-10-14 at 12:58
20200317 22:36:24 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20200317 22:36:24 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20200317 22:36:25 [main] INFO org.eclipse.jetty.util.log - Logging initialized @1536ms to org.eclipse.jetty.util.log.Slf4jLog
java.lang.NoClassDefFoundError: javafx/fxml/Initializable
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:757)
at com.ubooquity.e.a.d(SourceFile:597)
at com.ubooquity.e.a.loadClass(SourceFile:962)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
at com.ubooquity.a.(SourceFile:19)
at com.ubooquity.Ubooquity.main(SourceFile:246)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.ubooquity.e.a.a(SourceFile:823)
at com.ubooquity.Launcher.main(SourceFile:10)
Caused by: java.lang.ClassNotFoundException: Failure to load: javafx.fxml.Initializable
at com.ubooquity.e.a.loadClass(SourceFile:992)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
... 13 more
20200317 22:36:25 [Thread-2] INFO com.ubooquity.b - Stopping internal server...
20200317 22:36:25 [Thread-2] INFO com.ubooquity.data.feeder.a - Aborting content scan...
20200317 22:36:25 [Thread-2] ERROR com.ubooquity.b - Error while stopping internal server
java.lang.NullPointerException: null
at com.ubooquity.d.e.a(SourceFile:99) ~[Ubooquity.jar:2.1.2]
at com.ubooquity.b.c(SourceFile:112) ~[Ubooquity.jar:2.1.2]
at com.ubooquity.Ubooquity.C(SourceFile:216) [Ubooquity.jar:2.1.2]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_242]
20200317 22:36:25 [Thread-2] INFO com.ubooquity.b - Internal server stopped
20200317 22:36:25 [Thread-2] INFO com.ubooquity.Ubooquity - Ubooquity has closed.</code>
I checked and I'm running Java 8 so I can't figure out what it could be.
Any help would be greatly appreciated.

Raw files..What are they?
Trying to map paths for the linux server docker image for Ubooquity, I came across 'Raw Files'. What is this folder supposed to be for?

Not seeing *some* pdfs
Hello, I am truing to switch to Ubooquitey from Calibre, but I am having an issue.
Specifically, it seems to be refusing to see some of my PDFs. For instance, in the folder in question I have 23 PDFs, but UB only shows 18. There is nothing in the logs (literally nothing). There is nothing in particular weird about the file names.
I am very glad that I did not bulk move all my books. I would have no way of knowing (not initially, anyway) that some books were not getting picked up. a few misses out of thousands of books would have gone unnoticed.
Please advise

Don't understand it at all!
I have downloaded Chunk Comic Reader but when I open the app there is just a big white square and very little else. So I guess I have to download a comic first into it? But there is NOTHING that tells me simply how to do this. I think I have to download Ubooquity to do this , so I do it and then I'm told I've got to install Java 8 which I do, then I'm told I have to install a JDK so I do. But there's is nothing to actually click on to either open ubooquity or really do anything at all!
Please help - I read the Chunky is the best comoic reader so am loathe to simply bin everything and try something else.

Is this project still alive? No update for almost 2 years......
Hi Tom !
After a long trip searching on the Internet, finally i found this project.Thanks for this amazing free project, it's so unique anywhere. But seems the latest update is traced back to 2018. Another sad fact is kuboo--the Android app for ubooquity also stops updating.....
I love this project so much and have given a suggestion , however , having no reply....
Just curious if this project still under working? Any improvement coming? Thanks again!

Clear Username Cache
Hello,
Is there any way to clear the Username cache on the login page? I have some old usernames I want to remove cause they keep popping up. Gets annoying. I'd like to clear the list and rebuild again as I go along. But I can't find where they're located to clear them. Would love some help!
Thanks!

Ubooquity on IPv6
Hi,
is anyone can expose ubooquity through an ipv6 address?
WIth ipv4 i have no problem but when i use ipv6 though a dns i was unable to access to my server.
Anyone with the same issue ?

Apache virtualhost no prefix
Hello all,
I have a host with apache and virtualhost set by servername tryhard.com
I tried 2 kinds of settings : one with reverse proxy + prefix: ok
so If I go to tryhard.com/prefix --> ok
I made a subdomain: uboo.tryhard.com (set 80 for Ubooquity)
Tried to set apache to reach it but it failed. But According to apache documentation, we can set the reverse proxy like that.
ProxyPass / http://localhost:80
But It does not work.
Is it possible or did I miss something somewhere ?
Thanks a lot
Regards

cannot reach books folder
HI there,
i have setup ubooquity via Synology Docker i used the linuxserver/ubooquity which works great.
i also have setup a reverse proxy so i can acces it via internet.
i connect via HTTPS and everyting works as designed exept for Books somehow...
when i click books i get the page cannot be found message. but when i check the url its pointed to http://mysite/books/10754/ and when i manually go to https://mysite/books/10754/ the page works just fine... is there a place where i can correct the link ?

can't move files to the folders
I've installed Ubooquity on a Raspberry PI 3A+ on DietPi.
Every thing as gone fine and Ubooquity is opening on my browser and i've mounted the PI as a hard drive on windows.
BUT, when i try to move files from my laptop to the /comic/ or /ebook" folders, i cannot write
I've changed the "samba" network parameter with FTO, connected and tried to CHMOD. But there are no changes in the rights and i cannot move files by FTP too.
What am idoing wrong ?....ideas ?
Customer support service by UserEcho