Trying to configure this on my Synology NAS and having issues. Following the steps from this site https://vaemendis.github.io/ubooquity-doc/pages/tutorials/install-on-synology.html I am getting to the point of this step:
The Ubooquity service is now installed. It will start on boot and you can start or stop it at anytime using
start ubooquity or
stop ubooquity. You can also see the status of the ubooquity processs unsing
I am not able to start up the service but I am using the Java8 that comes from Synology, so on the following steps, I am not having any success with these:
NOTE if Java8 is used
If you used Synology Java8 package instead of Java Manager then the service script will have the wrong path to the java binary. Edit the
/etc/init/ubooquity.conf and change path to java binary from:
<em>exec /var/packages/JavaManager/target/Java/bin/java -jar -Xmx1024m /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -workdir "/volume1/Comics/Ubooquity"</em>
<em>exec /var/packages/Java8/target/j2sdk-image/bin/java -jar -Xmx1024m /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -workdir "/volume1/Comics/Ubooquity"</em>
I am not sure how to edit this file, I will admit linux is not my forte at all so I am just kind of winging this at the moment, I used the command (per a friend's help)
sudo vi ubooquity.conf
which looking at this document I don't have any of this information:
exec /var/packages/JavaManager/target/Java/bin/java -jar -Xmx1024m /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -workdir "/volume1/Comics/Ubooquity"
to correct the document.
Everything below script on this conf file is the following:
# installation settings
# app settings
# This ensures that ubooquity reads special characters properly
# 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
So at this point I am not sure what I need to change to get this to work. Using WinSCP I have all the directories listed in the installation settings, except the WORK_DIR I don't have that directory, but I did create a /volume1/Comics directory for my items. if someone is able to assist me since I am lost on what I need to do to fix this issue. Thank you.
Customer support service by UserEcho