Your comments

Have a look at the "ubooquity.log" file that's in the folder where you start ubooquity or the workdir.

A normal startup should look like this (the font extraction error can be ignored if the fonts exist in the "fonts" folder; also the "HTTS activated" if you have no keystore installed):



20160822 10:56:35 [main] INFO  com.ubooquity.Ubooquity - #############################
20160822 10:56:35 [main] INFO  com.ubooquity.Ubooquity - #     Starting Ubooquity    #
20160822 10:56:35 [main] INFO  com.ubooquity.Ubooquity - #############################
20160822 10:56:35 [main] INFO  com.ubooquity.Ubooquity - Java version: 1.8.0_101
20160822 10:56:35 [main] INFO  com.ubooquity.Ubooquity - Java vendor: Oracle Corporation
20160822 10:56:35 [main] INFO  com.ubooquity.Ubooquity - Max heap size available: 228 MB
20160822 10:56:35 [main] INFO  com.ubooquity.Ubooquity - OS name: Linux
20160822 10:56:35 [main] INFO  com.ubooquity.Ubooquity - OS version: 3.10.77
20160822 10:56:35 [main] INFO  com.ubooquity.Ubooquity - OS architecture: amd64
20160822 10:56:35 [main] INFO  com.ubooquity.Ubooquity - Loading local version info
20160822 10:56:35 [main] INFO  com.ubooquity.Ubooquity - Ubooquity 1.10.1 built on 2016-05-10 at 20:36
20160822 10:56:35 [main] INFO  com.ubooquity.Ubooquity - Creating application folders
20160822 10:56:35 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/Charis SIL.css to /fonts/Charis SIL.css
20160822 10:56:35 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/CharisSIL-B.woff to /fonts/CharisSIL-B.woff
20160822 10:56:35 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/CharisSIL-BI.woff to /fonts/CharisSIL-BI.woff
20160822 10:56:35 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/CharisSIL-I.woff to /fonts/CharisSIL-I.woff
20160822 10:56:35 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/CharisSIL-R.woff to /fonts/CharisSIL-R.woff
20160822 10:56:35 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/Fira Sans.css to /fonts/Fira Sans.css
20160822 10:56:35 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/FiraSans-Bold.woff to /fonts/FiraSans-Bold.woff
20160822 10:56:35 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/FiraSans-BoldItalic.woff to /fonts/FiraSans-BoldItalic.woff
20160822 10:56:35 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/FiraSans-Italic.woff to /fonts/FiraSans-Italic.woff
20160822 10:56:36 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/FiraSans-Regular.woff to /fonts/FiraSans-Regular.woff
20160822 10:56:36 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/texgyrepagella-bold.woff to /fonts/texgyrepagella-bold.woff
20160822 10:56:36 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/texgyrepagella-bolditalic.woff to /fonts/texgyrepagella-bolditalic.woff
20160822 10:56:36 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/texgyrepagella-italic.woff to /fonts/texgyrepagella-italic.woff
20160822 10:56:36 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/texgyrepagella-regular.woff to /fonts/texgyrepagella-regular.woff
20160822 10:56:36 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/Tex Gyre Pagella.css to /fonts/Tex Gyre Pagella.css
20160822 10:56:36 [main] INFO  com.ubooquity.Ubooquity - Loading preferences
20160822 10:56:40 [main] INFO  com.ubooquity.c - Starting internal server...
20160822 10:56:40 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Scanning books directories
20160822 10:56:40 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Finished scanning books directories, populating folders content cache
20160822 10:56:40 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Books folder content cache populated
20160822 10:56:40 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Scanning comics directories
20160822 10:56:41 [main] INFO  com.ubooquity.c - Reverse proxy prefix is not activated
20160822 10:56:42 [main] INFO  com.ubooquity.c - HTTPS activated
20160822 10:56:44 [main] INFO  com.ubooquity.c - Internal server started. Listening on port 2204
20160822 10:56:45 [Timer-1] INFO  com.ubooquity.Ubooquity - Checking latest available Ubooquity version from website
20160822 10:56:45 [Timer-1] INFO  com.ubooquity.Ubooquity - Latest version available: 1.10.1 - Current version: 1.10.1
20160822 10:56:45 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20160822 10:56:48 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Comics folder content cache populated
20160822 10:56:48 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Comics statistics: [total: 1729, added or updated: 0, removed: 0]
20160822 10:56:48 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Books statistics: [total: 0, added or updated: 0, removed: 0]

Right...

Manually start ubooquity via ssh and see what the log says. If its fully initialized then there should be nothing preventing you from opening the webpage (except a client or synology firewall)

Well if you don't want to update to DSM 6 then you can simply change the filename that you upload to the Java Manager as it only checks the name but not the version of the content.


Doesn't work: jdk-8u101-linux-i586.tar.gz

Works: jdk-7u101-linux-i586.tar.gz

To activate UTF-8 you add the switch "-Dfile.encoding=UTF-8". But according to your first comment its causing more problems than it solves.


You can try UTF-16 though I highly doubt it would change much.


Not sure if Ubooquity/Java checks the system codepage but if it does:

Go to the Synology Settings -> Regional Options -> Language -> Codepage -> French -> Stop and Start Ubooquity.


Hope this fixes the issue.

You're welcome.
The switch "-Dfile.encoding=UTF-8" isn't a required switch. Activating UTF-8 should actually help with special characters, but if it causes problems for you simply don't add this switch.

Searched a bit but didn't find it.

But couldn't we also simply export the cert via the DSM GUI and then place it where we need it?

Maybe this is easier to understand ->

(if not have a look at the DSM Help for the Task Scheduler)


How to create a Task to start and stop ubooquity via the DSM Task Scheduler:


1.)Open the Task Scheduler in the Settings App

2.)Create a user-defined script task

3.)General: Name of the Task could be "Ubooquity Start". As user to run set "root" and deactivate the "Activated" Checkbox (leave it checked if you automatically want to start & stop ubooquity at a certain time and/or date).

4.)Timetable: Keept it at daily (or change it to whatever you want)

5.)Tasksettings: As script write the following and change the switches the way you need them:


#!/bin/bash

/volume1/@appstore/Java8/j2sdk-image/jre/bin/java -jar -Xmx256m /var/packages/Ubooquity/Ubooquity.jar -workdir /var/packages/Ubooquity -port 2202 -headless -webadmin > nohup.out 2>&1&


6.)Save and run the script. 5-10 sec later check if you can reach ubooquity.

7.)Now for the stop script repeat the steps 2-4 but name it "Ubooquity Stop".

8.)For the script copy the following into the textfield:


#!/bin/bash
pkill -f 'java -jar'


9.)Save and run it. Ubooquity should now be stopped and unreachable.

10.)Done.


If you also want that ubooquity automatically starts when the DSM boots simply create a triggered task with the same script that you used for the start task.