How are you doing the Uboquity,Unraid,Docker,Nginx,duckdns reverse proxy Set up?
Issues I am having with Reverse Proxy set up: These are not my actual IP's and domains, just examples.
- I am Able to access ubooquity on port 443 through DSN at DumbDuck.duckdns.org = Works. Destination Nat/Port Forwarding Correctly configured.
- I am able to access nginx on port 443 through DSN at DumbDuck.duckdns.org = Works. Destination Nat/Port Forwarding Correctly configured.
- linuxserver/letsencrypt Docker For some reason I cannot get it to work, unable to get to the "Welcome to our server" Welcome landing page locally (webUI) or through DNS. all destination Nat and forwarding is set up correctly in Juniper SRX 220. I am thinking its just broken.

- using Notepad++ to edit .conf files
- Do not want Admin reachable through DNS and I am not using port 80
- All docker containers are on a Custom Ip range, just not on a Specific custom Docker ip range. I did create a custom network in command line via "docker network create nginxLAN". When I tried this setting change in each of my containers, The docker container will no longer start providing a 0.0.0.0:443 for ip.
[BackGround]
Unraid 10.0.0.2
Docker Containers
- linuxserver/Nginx 10.0.0.104:443 (port 443 open)
- linuxserver/Ubiquity 10.0.0.102:2202
- linuxserver/DuckDNS - HOST DumbDuck.duckdns.org - PublicIP
I am Having a very hard time knowing exactly what to add to the nginx.conf file and exactly where. or. If I need a New file ubooquity.subdomain.conf and how to integrate the linuxserver/letsencrypt setup with linuxserver/nginx. I have tried adn I have given up where I need some help.
This is the long winded nginx.conf file, and below the conf info I found on these forums.

=================================================
server {
listen 443 ssl;
server_name DumbDuck.duckdns.org;
# SSL
include /config/nginx/ssl.conf;
location / {
proxy_pass http://10.0.0.102:2202/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# HTTP 1.1 support
proxy_http_version 1.1;
proxy_set_header Connection "";
}
# location /admin {
# proxy_pass http://ubooquity:2203/admin/;
# proxy_set_header Host $http_host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header X-Forwarded-Proto $scheme;
# # HTTP 1.1 support
# proxy_http_version 1.1;
# proxy_set_header Connection "";
# }
#location /admin-res {
# proxy_pass http://ubooquity:2203/admin-res/;
# proxy_set_header Host $http_host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header X-Forwarded-Proto $scheme;
# HTTP 1.1 support
# proxy_http_version 1.1;
# proxy_set_header Connection "";
# }
#}
#server {
#listen 80;
#server_name ubooquity.domain.com;
#return 301 https://$host$request_uri;
}
=======================================================
Enabling HTTPS on Windows 10 - I have my cert, now what?
After a bunch of messing around with my DNS provider (GoDaddy), I finally got my certificates from SSLforFree.com.
So, now I have a ca_bundle.crt, a certificate.crt, and a private.key file. What the heck do I do with them? By the way, I have Ubooquity running on a Windows 10 Pro machine.
I swear I had tried this years ago with a self-signed cert, and there were good directions here on the Ubooquity site. But I can't find them. The only HTTPS/SSL/cert instructions I can find are for Linux. :(
Thanks in advance,
Tom
Side Note:
For anyone using GoDaddy and getting a cert from sslforfree.com, I had to create TXT records a couple of times to get it to work. Entering in _acme-challenge.mydomain.com for the Name value would not work at all. I had to use @ for the name and combine the name and the values they gave me into the value field on GoDaddy's web interface. Like this:
Type: TXT
Name: @
Value: _acme-challenge.mydomain.com=the-key-value-sslforfree-gave-me
Type: TXT
Name: @
Value: Value: _acme-challenge.www.mydomain.com=the-other-key-value-sslforfree-gave-me
Directories missing from Server
I recently added a couple directories of comics to the shared directory for my server - but they're not showing up in the server itself. I know the files are where I put them because I properly organized the directories using ComicRack - and I know the files in the directories are properly formatted because I opened them using ComicRack and CDisplayEX. I also know the directories are being scanned by Ubooquity because I checked the logs and confirmed the directories are there.
However, if I search for those directories or their contents in the Ubooquity library, I can't find them. I just get blank search results.
Running Ubooquity 2.1.1 using Windows 10.
How to Start Ubooquity on Ubuntu 16.04
I have just installed Ubooquity on Ubuntu 16.04. I can launch it from the CLI and it seems to be working just fine.
I cannot however get Ubooquity to run as a service. The posts and how-tos on this are all (or at least ones I've found) all use upstart.
Unfortunately 16.04 now uses systemd and upstart.
Does anyone have a systemd start up for Ubooquity?
Are there any plans for coming updates or releases?
Hi Tom! Thanks for this fantastic piece of software! I love it and use it daily. I post this just because I am curious if you are still actively working on new features and improvements. I understand its your personal project and you also need to make a living and that things take the time they take.
But maybe you are getting close to finishing something that will be published?
Just curious about the progress and wont take any news as a promise. Thanks again!
Ubooquity won't start
I'm unable to make ubooquity work on my synology. I tried all the setup tutorials.
I don't know what I'm doing wrong
Ubooquity no longer displaying subfolders
I have been using Ubooquity for two years now and it has always been a great companion and awesome piece of software.
Yesterday I updated to Version 2.1.1 on my QNAP TS-453b-Mini and now run into the problem that while scanning the folders I point Ubooquity to and finding comics, magazines, etc. nothing can be found in the library view which is just empty despite the scan saying it added several thousand files.
While playing around I was able to narrow down the problem to subfolders.
My Comics are organized in a folder that has different subfolders for the series (e.g. Jackboot & Ironheel #01-04 (Complete)) that then hold the individual files. In the past this structure was never a problem and I could navigate through the folder structure without a hitch. Now it seems to be the case that the comics appear only in the library view if I point Ubooquity to the exact subfolder that holds the single files.
Am I missing any settings? I really do not want to point Ubooquity to hundreds of individual folders plus I loved that the library view basically copied my folder system which made things look nice and clean.
Thanks to everyone in advance for your help!
is there a size limit on database?
is there a limit to the database size?
during initial scan, some folder/books are added to the database, and at some point an error is shown and from that point nothing is added and all the rest show the same error (and while the indexer shows 16000+ books, 15000 are missing) :
20180730 14:26:12 [Scanner thread] ERROR com.ubooquity.data.database.c - Error while creating/updating comic in database
org.h2.jdbc.JdbcSQLException:
General error: "java.lang.IllegalStateException: Reading from
nio:/volume1/homes/Ubooquity/.Ubooquity2/ubooquity-5.mv.db failed; file
length -1 read length 1536 at 24132435 [1.4.193/1]"; SQL statement:
merge
into comic(parentid, rootid, isdirectory, title, norm_title, filedate,
filepath, filename, norm_filename,
lastupdatedate,filesize,description,language,norm_language,seriesname,norm_seriesname,seriesindex,altseriesname,norm_altseriesname,altseriesindex,volume,publisher,publicationdate,writers,norm_writers,pencillers,norm_pencillers,genre,norm_genre,pagecount)
key(filepath)values(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [50000-193]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.message.DbException.get(DbException.java:168) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.message.DbException.convert(DbException.java:295) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.command.Command.executeUpdate(Command.java:266) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at
org.h2.jdbc.JdbcPreparedStatement.execute(JdbcPreparedStatement.java:201)
~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at com.ubooquity.data.database.c.a(SourceFile:649) [Ubooquity.jar:2.1.1]
at com.ubooquity.data.database.c.a(SourceFile:68) [Ubooquity.jar:2.1.1]
at com.ubooquity.data.feeder.a.b(SourceFile:539) [Ubooquity.jar:2.1.1]
at com.ubooquity.data.feeder.a.b(SourceFile:459) [Ubooquity.jar:2.1.1]
at com.ubooquity.data.feeder.a.b(SourceFile:112) [Ubooquity.jar:2.1.1]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_161]
Caused
by: java.lang.IllegalStateException: Reading from
nio:/volume1/homes/Ubooquity/.Ubooquity2/ubooquity-5.mv.db failed; file
length -1 read length 1536 at 24132435 [1.4.193/1]
at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.mvstore.DataUtils.readFully(DataUtils.java:435) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.mvstore.FileStore.readFully(FileStore.java:98) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.mvstore.Page.read(Page.java:190) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.mvstore.MVStore.readPage(MVStore.java:1954) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.mvstore.MVMap.readPage(MVMap.java:736) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.mvstore.Page.getChildPage(Page.java:217) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.mvstore.Cursor.min(Cursor.java:129) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.mvstore.Cursor.hasNext(Cursor.java:36) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at
org.h2.mvstore.db.TransactionStore$TransactionMap$1.fetchNext(TransactionStore.java:1388)
~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.mvstore.db.TransactionStore$TransactionMap$1.(TransactionStore.java:1384) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at
org.h2.mvstore.db.TransactionStore$TransactionMap.keyIterator(TransactionStore.java:1379)
~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at
org.h2.mvstore.db.TransactionStore$TransactionMap.keyIterator(TransactionStore.java:1367)
~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.mvstore.db.MVSecondaryIndex.find(MVSecondaryIndex.java:309) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.mvstore.db.MVSecondaryIndex.find(MVSecondaryIndex.java:254) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.index.BaseIndex.find(BaseIndex.java:128) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.index.IndexCursor.find(IndexCursor.java:169) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.table.TableFilter.next(TableFilter.java:467) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.command.dml.Update.update(Update.java:102) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.command.dml.Merge.merge(Merge.java:154) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.command.dml.Merge.update(Merge.java:106) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.command.CommandContainer.update(CommandContainer.java:98) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.command.Command.executeUpdate(Command.java:258) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
... 7 common frames omitted
Caused by: java.nio.channels.ClosedChannelException: null
at sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:110) ~[na:1.8.0_161]
at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:721) ~[na:1.8.0_161]
at org.h2.store.fs.FileNio.read(FilePathNio.java:74) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
at org.h2.mvstore.DataUtils.readFully(DataUtils.java:421) ~[h2-1.4.193.jar.4067930195476961885.tmp:1.4.193]
Found a good Junrar fork
https://github.com/junrar/junrar
Please consider using this fork or merging. Some of my users are unable to stream because Ubooquity can't process the CBR file with it's current junrar version. If they download the CBR to the client which uses the version posted above, it works fine. Not all files fail to load, it is just some random ones I have not found the specific issue.
Possibly related https://ubooquity.userecho.com/communities/1/topics/298-unreadable-cbr
cbz =/= zip
I know adding .zip and .rar support has already been declined but I feel like this is the one thing preventing this software from being perfect for my use case.
Although in principle all comics should be renamed as .cbz to make them distinct from standard archives, the reality is that 99% of the digital comics you download whether they be from legitimate or illegitimate sources are packaged as .zip.
This makes automation not really an option for Ubooquity which is a shame because the user experience is so fantastic as is.
I think a lot of people just want to have a folder ONLY for their comics and are happy with all .cbz and .zip alike to be treated as comics.
If allowing .zip as a format is never going to be permitted, could some kind of script or option be implemented to scan the directory and rename every .zip to .cbz?
Customer support service by UserEcho