Your comments

Okay, well it might work on your side but I don't have your java location on my Synology. That's for sure.

Changing it back to "/var/packages/java8/target/ejdk1.8.0_121/linux_arm_sflt/jre/bin/" gives me just one error messages.... which is not surprising.


2017-07-29T10:06:16+1200 /proc/self/fd/9: line 17: /var/packages/java8/target/ejdk1.8.0_121/linux_arm_sflt/jre/bin/java: No such file or directory
2017-07-29T10:06:16+1200 /proc/self/fd/9: line 17: /var/packages/java8/target/ejdk1.8.0_121/linux_arm_sflt/jre/bin/java: No such file or directory
2017-07-29T10:06:16+1200 /proc/self/fd/9: line 17: /var/packages/java8/target/ejdk1.8.0_121/linux_arm_sflt/jre/bin/java: No such file or directory
2017-07-29T10:06:16+1200 /proc/self/fd/9: line 17: /var/packages/java8/target/ejdk1.8.0_121/linux_arm_sflt/jre/bin/java: No such file or directory
2017-07-29T10:06:16+1200 /proc/self/fd/9: line 17: /var/packages/java8/target/ejdk1.8.0_121/linux_arm_sflt/jre/bin/java: No such file or directory
2017-07-29T10:06:16+1200 /proc/self/fd/9: line 17: /var/packages/java8/target/ejdk1.8.0_121/linux_arm_sflt/jre/bin/java: No such file or directory





Here a screenshot from my ubooquity location: 




Screenshot .conf








I also tried your new way to use the "task scheduler" on Synology DSM 6.1. didn't worked either. A clear instruction would be helpful. Task starts and ends in the same secound

Hi Elouan, well I'm useing the command line which you send me the link of? 

 I just made some adjustments because Java doesn't operate in "/var/packages/java8/target/ejdk1.8.0_121/linux_arm_sflt/jre/bin/"

and I changed the port to 35065

and my work dir to /Ebooks


start on started httpd-user

stop on runlevel [06]


#============================================ #     

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/j2sdk-image/bin/java  WORK_DIR=/volume1/Ebooks/.Ubooquity2  PCKG_DIR=/var/packages/Ubooquity  PCKG_BIN=Ubooquity.jar  # app settings  PORT=35065  ADMINPORT=35066  MEM=256m

 # 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

 it will be good to get a guide. nothing of these tutorials seems to work.


2017-07-28T19:49:26+1200 Command line arguments error: java.lang.IllegalArgumentException: The provided execution directory does not exist or is not writable Launch Ubooquity with the "--help" option to display available commands

2017-07-28T19:49:26+1200 Ubooquity has stopped



2017-07-28T20:44:21+1200 Error: Unable to access jarfile Ubooquity.jar






nothing is working. still get


2017-07-28T19:49:26+1200 Command line arguments error: java.lang.IllegalArgumentException: The provided execution directory does not exist or is not writable
Launch Ubooquity with the "--help" option to display available commands

2017-07-28T19:49:26+1200 Ubooquity has stopped



Thanks! will give it a go tonight