
Not pulling apple-touch-icon when configured for reverse proxy
Hi -
Finally figured out the nuances to nginx and Ubooquity, and now Ubooquity lives under /ubooquity. I use nginx access for remote access, and I hit Ubooquity directly when I'm at home.
When I attempt to "Add to Home Screen" from Safari on my iPad or iPhone, I now get the generic screenshot icon instead of the nice books & cloud icon I had prior to the nginx setup...
Can this be fixed?

Not workign on synology ds216j+
synology dsm 6.0
JAVA 7 (1.7.0)
ubooquity.conf
start on started httpd-user
stop on runlevel [06]
exec /var/packages/java7/target/jre/bin/java -Dfile.encoding=UTF-8 -jar -Xmx512m /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -headless -workdir "/volume1/comics"
Log
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: false, libraryport: -1, adminport: -1, remoteadmin: false, host: null, debug: false, execdir: /var/packages/Ubooquity
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - #############################
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - #############################
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - Java version: 1.8.0_131
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - Java vendor: Oracle Corporation
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 121 MB
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - OS name: Linux
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - OS version: 3.10.102
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - OS architecture: arm
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - Ubooquity 2.0.2 built on 2017-04-24 at 20:52
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20170611 18:41:11 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20170611 18:41:11 [main] INFO com.ubooquity.Ubooquity - Saving preferences
20170611 18:41:17 [main] INFO org.eclipse.jetty.util.log - Logging initialized @27199ms to org.eclipse.jetty.util.log.Slf4jLog
20170611 18:41:17 [main] INFO com.ubooquity.b - Starting internal server...
20170611 18:41:17 [main] INFO com.ubooquity.b - Reverse proxy prefix is not activated
20170611 18:41:17 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning books directories
20170611 18:41:17 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning books directories, populating folders content cache
20170611 18:41:17 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books folder content cache populated
20170611 18:41:17 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning comics directories
20170611 18:41:17 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20170611 18:41:17 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics folder content cache populated
20170611 18:41:17 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics statistics: [total: 0, added or updated: 0, removed: 0]
20170611 18:41:17 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books statistics: [total: 0, added or updated: 0, removed: 0]
20170611 18:41:18 [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.0.v20161208
20170611 18:41:18 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@13d1baf{/,null,AVAILABLE,@admin}
20170611 18:41:18 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@eb3ea3{/,null,AVAILABLE,@library}
20170611 18:41:18 [main] INFO o.e.jetty.server.AbstractConnector - Started admin@3cf2ba{HTTP/1.1,[http/1.1]}{127.0.0.1:2203}
20170611 18:41:18 [main] ERROR com.ubooquity.Ubooquity - Exiting application because of exception
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_131]
at sun.nio.ch.Net.bind(Net.java:433) ~[na:1.8.0_131]
at sun.nio.ch.Net.bind(Net.java:425) ~[na:1.8.0_131]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[na:1.8.0_131]
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[na:1.8.0_131]
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:298) ~[jetty-server-9.4.0.v20161208.jar.5531817902204455979.tmp:9.4.0.v20161208]
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[jetty-server-9.4.0.v20161208.jar.5531817902204455979.tmp:9.4.0.v20161208]
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236) ~[jetty-server-9.4.0.v20161208.jar.5531817902204455979.tmp:9.4.0.v20161208]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.0.v20161208.jar.7686238508981717002.tmp:9.4.0.v20161208]
at org.eclipse.jetty.server.Server.doStart(Server.java:431) ~[jetty-server-9.4.0.v20161208.jar.5531817902204455979.tmp:9.4.0.v20161208]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.0.v20161208.jar.7686238508981717002.tmp:9.4.0.v20161208]
at com.ubooquity.d.e.a(SourceFile:92) ~[Ubooquity.jar:2.0.2]
at com.ubooquity.b.a(SourceFile:95) ~[Ubooquity.jar:2.0.2]
at com.ubooquity.Ubooquity.main(SourceFile:222) ~[Ubooquity.jar:2.0.2]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]
at com.ubooquity.e.a.a(SourceFile:823) [Ubooquity.jar:2.0.2]
at com.ubooquity.Launcher.main(SourceFile:10) [Ubooquity.jar:2.0.2]
20170611 18:42:41 [Thread-2] INFO com.ubooquity.b - Stopping internal server...
20170611 18:42:41 [Thread-2] INFO com.ubooquity.data.feeder.a - Aborting content scan...
20170611 18:42:41 [Thread-2] INFO com.ubooquity.data.feeder.a - Waiting for scanner thread to stop
20170611 18:42:41 [Thread-2] INFO com.ubooquity.data.feeder.a - Scanner thread stopped
20170611 18:42:41 [Thread-2] INFO o.e.jetty.server.AbstractConnector - Stopped library@1f46f8f{HTTP/1.1,[http/1.1]}{0.0.0.0:2202}
20170611 18:42:41 [Thread-2] INFO o.e.jetty.server.AbstractConnector - Stopped admin@3cf2ba{HTTP/1.1,[http/1.1]}{127.0.0.1:2203}
20170611 18:42:41 [Thread-2] INFO o.e.j.server.handler.ContextHandler - Stopped o.e.j.s.h.ContextHandler@eb3ea3{/,null,UNAVAILABLE,@library}
20170611 18:42:41 [Thread-2] INFO o.e.j.server.handler.ContextHandler - Stopped o.e.j.s.h.ContextHandler@13d1baf{/,null,UNAVAILABLE,@admin}
20170611 18:42:41 [Thread-2] INFO com.ubooquity.b - Internal server stopped
20170611 18:42:41 [Thread-2] INFO com.ubooquity.Ubooquity - Ubooquity has closed.
Do anyone know how to solve the problem?

macbook Pro/Comcast XFinity Public Access
I had previously been successful in setting up Ubooquity on my MacBook pro/ipad/comcast router. Then the ip address on Ubooquity updated from a 10.0.0..... ip to a 192.168...... ip and it's not worked ever since. I'm not sure if I'm correctly forwarding my port on my comcast router, as I was really just guessing on those steps. I can access my comics via web browser both inside my home network and outside (on my iPhone 4g) but I cannot get it to work with chunky anymore (the whole point of me using this server). I have odds enabled in the advanced menu of ubooquity, I disabled user accounts so it should be open to all, and I attempted to connect via myipaddress:2202/opds-comics and still nothing. any help would be greatly appreciated as this is the last piece I need to really just have the perfect digital comic reading experience.

[2.0.2] Unable to access from Public IP address
I am unable to use my public IP address to browse Ubooquity, but I can do it locally, and from other computers on my network, including the router.
Things I have tried/confirmed:
1) Port is open on both the router and the modem. Using online port checking tools shows that it is reachable.
2) Trying with/without SSL enabled. SSL handshake does come up with a warning (since it is self-signed), suggesting they are getting the initial packets from the ssl-handing-part of the server
3) Problem exists with Windows Firewall turned on or off. There is an explicit rule for incoming connections on that port regardless.
Browsing straight to it just hangs for a long time until timing out. Using the default port.

Some CBZs result in "page not found"
My comic collection is comprised entirely of CBZs. A small percentage of these CBZs aren't viewable in the web viewer, but are downloadable and readable in any number of comic reader apps. I've unzipped these problem CBZs looking for superfluous files, but they appear identical to my good CBZs containing only jpegs. Is there a jpeg format that disrupts the web view?

Need sfk flag
hi, very nice app, thanks for tour work.
Ils ont possible to add a kind of "safe for kids" flag to manage authorisation for young reader?

Sorry, you are not authorized to access any file on this server 2.0.2
Was running the latest 1.10 and wanted to try 2.0.2 so I deleted 1.10 and installed 2.0.2. No matter what I get "Sorry, you are not authorized to access any file on this server". Nothing works! What am I missing here..
Ubuntu Server = Ubuntu 16.04
http:xxx.xxx.xxx.xxx:2202 or 2202/admin same error.

Brinkdogg, due to heavy changes in 2.0.X, you have to reconfigure Ubooquity as if it were a completely new installation (shared folders, users, etc.).
Let me know if you already did that and still have issues.

Stops Scanning/Adding Books
This is new for me because I had Ubooquity on my old install (I had to reinstall Windows 10) and it worked perfectly.
I have a massive 2TB folder of books. Ubooquity stops scanning and adding books when it gets to the letter "E," so only roughly half my books are in the library. It doesn't add any of those books to the library and I can't search for them inside Ubooquity, either.
Any suggestions?

2.0.2 Books trouble - might be me...
So 2.0.2 is working beautifully for comics. I thought I'd be adventurous and can iBooks/iCloud too.
I copied over a few epubs from my Mac into a new directory on the RPi running ubooquity. After a scan, the count sits at 0. Looking in the log, it clearly sees them; if I'm following it correctly it looks like it's deleting them from the database as well.
Am I doing something wrong here? Is epub a fancy format that doesnt copy from Mac to Linux easily, like a package?

Script for Ubooquity 2.0.2 on Synology
Hello,
in case somebody requires an update of the script for running ubooquity 2.0.2 on a synology NAS, here is mine. The procedure of installation is already described in the tutorial (look in the FAQ). This script is meant to go in :
>etc/init/ubooquity.conf
This is tested and it's working on my Synology DS212 [the NAS is quite old but it's still able to run ubooquity without (much) issue]
Here is the code, don't forget to adapt to your environnement, especially the installation folders: WORK_DIR, PCKG_DIR
and network and memory settings
# app settings
PORT=2202
ADMINPORT=2203
MEM=128m
#============================================
# Ubooquity
# description: upstart job configuration file for automatically
# starting ubooquity when syno starts
# title :ubooquity.conf
# date :16 05 2017
# version : 2.0.2 (tested for ubooquity version...)
# original source: ubooquity forum about special characters
# http://ubooquity.userecho.com/topic/907059-comics-not-imported-umlaut-mark-bug/
#=============================================
description "start/stop Ubooquity"
author "Elouan Le Bretton"
version "Ubooquity Version 2.0.2; java version 1.8.0_121 "
# automatically start ubooquity after webserver has been started
# DSM 5.0 = httpd-user (apache); DSM 6.0 = nginx
start on started nginx
# stop ubooquity on
stop on runlevel [06]
# Automatically respawn if ubooquity stops unexpetedly
respawn
respawn limit 5 500
# expect stop [this seems to be expected sometime but requires testing to be sure)
# run the scripts as the 'http' user; because running as root (the default) is a bad idea.
setuid http
script
# installation settings
JAVA_DIR=/var/packages/java8/target/ejdk1.8.0_121/linux_arm_sflt/jre/bin/
WORK_DIR=/volume1/comics/.Ubooquity2
PCKG_DIR=/var/packages/Ubooquity
PCKG_BIN=Ubooquity.jar
# app settings
PORT=2202
ADMINPORT=2203
MEM=128m
# This ensures that ubooquity reads special characters properly
ENCO=UTF-8
LANG=fr_FR.$ENCO
export LANG
# Main command for ubooquity
exec "$JAVA_DIR/java" -Dfile.encoding=$ENCO -Xmx$MEM -jar $PCKG_DIR/$PCKG_BIN --libraryport $PORT --workdir "$WORK_DIR" --adminport $ADMINPORT --remoteadmin --headless
end script
Customer support service by UserEcho