Your comments

that did it! you are awesome! Thank you for all your help and patience. I've actually learned quite a bit so my hat is off to you Sir.

log output from admin page log link:


20160430 06:57:56 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: true, port: 2202, webadmin: true, host: null, debug: false, execdir: /usr/syno/synoman/webapi
20160430 06:57:56 [main] INFO com.ubooquity.Ubooquity - #############################
20160430 06:57:56 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20160430 06:57:56 [main] INFO com.ubooquity.Ubooquity - #############################
20160430 06:57:56 [main] INFO com.ubooquity.Ubooquity - Java version: 1.8.0_60
20160430 06:57:56 [main] INFO com.ubooquity.Ubooquity - Java vendor: Oracle Corporation
20160430 06:57:56 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 1772 MB
20160430 06:57:56 [main] INFO com.ubooquity.Ubooquity - OS name: Linux
20160430 06:57:56 [main] INFO com.ubooquity.Ubooquity - OS version: 3.10.77
20160430 06:57:56 [main] INFO com.ubooquity.Ubooquity - OS architecture: amd64
20160430 06:57:56 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20160430 06:57:56 [main] INFO com.ubooquity.Ubooquity - Ubooquity 1.9.1 built on 2016-02-21 at 10:09
20160430 06:57:56 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20160430 06:57:56 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20160430 06:57:57 [main] INFO com.ubooquity.c - Starting internal server...
20160430 06:57:57 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning books directories
20160430 06:57:57 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning books directories, populating folders content cache
20160430 06:57:57 [main] INFO com.ubooquity.c - Reverse proxy prefix is not activated
20160430 06:57:57 [main] INFO com.ubooquity.c - Internal server started. Listening on port 2202
20160430 06:57:57 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books folder content cache populated
20160430 06:57:57 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning comics directories
20160430 06:57:57 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20160430 06:57:57 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics folder content cache populated
20160430 06:57:57 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics statistics: [total: 0, added or updated: 0, removed: 0]
20160430 06:57:57 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books statistics: [total: 2, added or updated: 0, removed: 0]
20160430 06:57:58 [Timer-0] INFO com.ubooquity.Ubooquity - Checking latest available Ubooquity version from website
20160430 06:57:58 [Timer-0] INFO com.ubooquity.Ubooquity - Latest version available: 1.9.1 - Current version: 1.9.1

i am not seeing anything being written to the /var/packages/Ubooquity folder. I stopped and then copied the db and pref files to that location and started and it doesnt appear to be reading those files. chmod them from 644 to 755 and stopped and started still no change. Maybe I am not putting them in the right directory

i have backup from when i uninstalled the old ubooquity package and was wondering if i could copy and paste my old db and preferences and the like to the location where the new files are written. just dont know where that is now.

removing the workdir tag made it work! Thanks so much. where does it create folders for it database and preferences? the var/packages?

can not find a log anywhere. Created a ubooquity.conf in /etc/init and pasted the

#!/bin/bash
/volume1/@appstore/Java8/j2sdk-image/jre/bin/java -jar /var/packages/Ubooquity/Ubooquity.jar -workdir /volume1/Comics/Ubooquity/ -port 2204 -headless -webadmin > nohup.out 2>&1&


got job unkown


added

start on started httpd-user

stop on runlevel [06]


same result


in the /var/packages/Ubooquity directory I should only have the ubooquity.jar file correct?

ok i had both java 7 and 8 installed. uninstalled java 7.

I did find out that its 64bit java 8 installed


I must have done something wrong when I tried to create the stop task because I just tried to create it and it created just fine so must have been some sort of problem between keyboard and chair. It does not seem to error out when I run it. I am doing this by using the run and not rebooting every time. Would that make any difference?


I tried going to port 2204 with no joy so I tried changing it to 2202 and re-running the task and still getting a connection refused. I will put it back to 2204 so we are working on the same code.


Which/where is the log are you referring to?


I have other apps installed like pytivo, plex, and i can access their respective pages/portrs on the synology.


Still kinda wondering about the @appstore path when the which java command reports a different path.

ok how do i determine java 8 x64 vs x86?

also created a boot task using your script and had it send email info. here is what I got. looks like its starting then stopping still


Start time: Thu, 28 Apr 2016 17:54:38 GMT
Stop time: Thu, 28 Apr 2016 17:54:39 GMT
Current status: 0 (Normal)
Standard output/error:



and when i tried to make the stop task it didnt like something in the script wouldnt even let me save it

k at a total loss. Running a Synology 415+ dsm 6 java 8 have followed all the tutorial changed the .conf to the new lines and i still get connection refused. Furthermore, when i do a ps it does not show as running. When I do start it gives me a pid but a ps with that pid doesnt show anything. it looks like it starts then shuts down shortly after that. I did the which java command


so i have the correct java path in my conf

ubooquity.conf contents:


start on started httpd-user

stop on runlevel [06]
exec /var/packages/Java8/target/j2sdk-image/bin/java -Dfile.encoding=UTF-8 -Xmx512m -jar /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -headless -workdir "/volume1/comics"

Both the ubooquity.jar and ubooquity.conf are 755 and owned by root.


Help! and thanks in advance