Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the easy-footnotes domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6131
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the health-check domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6131
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-includes/functions.php:6131) in /var/www/html/wp-includes/feed-rss2.php on line 8
It is Java-based and runs fine on your Desktop, but if you’re running a (QNAP-)NAS which already stores all your books, why not have them served nicely.

I did this on A QNAP TS-421 (ARM-CPU) Running OS version 4.x, though this should work the same way (except the Java installation on x86 see link below) on any other QNAP NAS.
I am assuming that you already have IPKG installed and are able to log in via ssh and already have some experience with the (Linux-)shell.
The start script for the daemon requires the nohup and pgrep command which unfortunately aren’t shipped with the basic installation.
So simply do a
ipkg install coreutils ipkg install procps
Follow the instructions on http://wiki.qnap.com/wiki/Category:JavaRuntimeEnviroment in order to install Java. In brief:
Download the jar from http://vaemendis.net/ubooquity/static2/download and put it on your QNAP NAS. I created a Folder Ubooquity in Public/ where everything from Ubooquity lives, so it is in /share/Public/Ubooquity/ now.
Do a test run on the shell:
java -jar Ubooquity.jar -webadmin
Now you should be able to connect to the admin server on http://<qnapaddress>:2202/admin
Set a password for administration and play with the Web ui.
As soon as you close the shell from above, Ubooquity quits itself. Not very cool. So we need to install it as a daemon, a service starting on system start and then running all time.
Ubooquity provides a nice startup script called ubooquity.sh at http://vaemendis.net/ubooquity/downloads/scripts/. Get it and put it next to Ubooquity.jar. As pgrep on QNAP doesn’t support the -c (count) option, we need to change one line:
Replace all occurrences of the line
count=`pgrep -fc Ubooquity.jar`
with
count=`pgrep -f Ubooquity.jar | wc -l`
QNAP provides a quite easy way to register an application as a service. Simply edit the file /etc/config/qpkg.conf and add the following block.
[Ubooquity] Name = Ubooquity Version = 1.4.0 Enable = TRUE QPKG_File = none.qpkg Date = 2014-04-28 Shell = /share/Public/Ubooquity/ubooquity.sh Install_Path = /share/Public/Ubooquity Web_Port = 2202 WebUI = / Author = Ubooquity
You may have to adapt the paths to your installation.
Now you can start Ubooquity in the App Center just like any other app.

]]>