Your comments

Finally! It worked!!!


You made my day, good sir. :) Thank you!

It didn't work for me in DSM 6.0.

This is my /etc/init/ubooquity.conf:

start on started httpd-user
stop on runlevel [06]
export LANG=en_US.utf8 exec /var/packages/Java8/target/j2sdk-image/bin/java -Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider -Dfile.encoding=utf8 -jar -Xmx512m /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -headless -workdir "/volume1/tebeos/.Ubooquity"

I've tried with "utf8", "UTF8", "UTF-8" and "utf-8", both in LANG and in the JVM parameter. No luck.

This is my locale -a:

C
cs_CZ.utf8
da_DK.utf8
de_DE.utf8
en_US.utf8
es_ES.utf8
fr_FR.utf8
hu_HU.utf8
it_IT.utf8
ja_JP.utf8
ko_KR.utf8
nb_NO.utf8
nl_NL.utf8
pl_PL.utf8
POSIX
pt_BR.utf8
pt_PT.utf8
ru_RU.utf8
sv_SE.utf8
tr_TR.utf8
zh_CN.utf8
zh_TW.utf8

Any ideas? Thank you!

It didn't work for me in DSM 6.0.


This is my /etc/init/ubooquity.conf:


start on started httpd-user
stop on runlevel [06]
export LANG=en_US.utf8 exec /var/packages/Java8/target/j2sdk-image/bin/java -Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider -Dfile.encoding=utf8 -jar -Xmx512m /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -headless -workdir "/volume1/tebeos/.Ubooquity"


I've tried with "utf8", "UTF8", "UTF-8" and "utf-8", both in LANG and in the JVM parameter. No luck.


This is my locale -a:


C
cs_CZ.utf8
da_DK.utf8
de_DE.utf8
en_US.utf8
es_ES.utf8
fr_FR.utf8
hu_HU.utf8
it_IT.utf8
ja_JP.utf8
ko_KR.utf8
nb_NO.utf8
nl_NL.utf8
pl_PL.utf8
POSIX
pt_BR.utf8
pt_PT.utf8
ru_RU.utf8
sv_SE.utf8
tr_TR.utf8
zh_CN.utf8
zh_TW.utf8


Any ideas? Thank you!


I didn't realize you could update Synology's Java, but bumping it to 8u101 did the trick. Awesome! :)

Still happening to me in my Synology NAS.


Java version:

openjdk version "1.8.0_60"

OpenJDK Runtime Environment (IcedTea 3.0.0pre06) (linux-gnu build 1.8.0_60-b24)

OpenJDK Zero VM (build 25.60-b23, interpreted mode)


Tried using this arguments, same error.


exec /var/packages/Java8/target/j2sdk-image/bin/java -Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider -Dfile.encoding=UTF-8 -jar -Xmx512m /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -headless -workdir "/volume1/tebeos/.Ubooquity"