I’m not sure but you could find openhab start-stop-status script in /volume1/@appstore/Openhab/script. (or in var/package?)
I didn’t change anything in github 'cause I’m not totally sure if it’s work as excepted, I will try soon and tell you more.
I’m facing now other installation problem with DSM6…
just tried but did not change anything
just did a full reinstall on my synology of 1.8.2 which claims to have solved the issue.
still its not solved.
i believe that openhab is getting its timezone from another config file in synology
What about manually setting the timezone to “Europe/Berlin” or whatelse you’d like to have.
Simply add the specific timezone to your start_runtime.sh located in /volume1/@appstore/OpenHAB/
can you give an example for 5.2 ? cause i allready tried something like that before and it did not work.
thnx allready for replying ? i’m living in belgium so berlin should be fine
Is anyone else having issues getting OpenHAB 1.8 on DSM 6.0 to see the sitemap file? I copied over the demo configurations and addons folders to a few locations with no luck:
I see the symlinks pointing to the first path above, but i tried replacing the symlinks with actual folders. I verified openhab user in DSM has access to the shared public folder i created. ive stopped/started openhab multiple times and even uninstalled and reinstalled a few times. openhab 2.0 beta wont start at all so im back to working on 1.8.
With the start-stop-status script, we have now a .profile in /var/services/homes/openhab/ containing export TZ='Europe/Brussels'
(in my case in France).
Why not passing this argument to the “start_runtime.sh” script :
DAEMON_ID=“${SYNOPKG_PKGNAME} daemon user”
DAEMON_HOME=“cat /etc/passwd | grep "${DAEMON_ID}" | cut -f6 -d':'”
TZ_OPENHAB = "somerule that catch what is next to “export TZ=” in ${DAEMON_HOME}/.profile
Maybe
TZ_OPENHAB=“cat ${DAEMON_HOME}/.profile | grep "export TZ" | cut -d'=' -f2”
…and I figured out my problem… So I now have 1.8 successfully working on my DS213+.
I first installed Java 8, then the OpenHAB 1.8, then I downloaded the following from the OpenHAB downloads page on their website.
Runtime core - copy .zip to “/var/packages/OpenHAB/target” on the Synology and then run "7z x zipfilename.zip
Addons - copy .zip to “/var/packages/OpenHAB/target” on the Synology and then run "7z x zipfilename.zip
Demo setup - copy .zip to “/var/packages/OpenHAB/target” on the Synology and then run "7z x zipfilename.zip
That should get you up and running with OpenHAB 1.8 on DSM 6.0…
Struggling to get 1.8.3-DSM6 working properly. I was originally running 1.7.1 and it’s been fine for a good few months and then I noticed today that the service was stopped (it’s been a few days since I last used OpenHAB) and couldn’t get it running again (clicking the button in DSM to start the service did nothing).
Anyway, bit the bullet and installed 1.8.3 manually. I’ve updated the addons to the matching 1.8.3 versions and the service now starts but checking the logs I can see a couple of lines saying:
16:59:19.235 [Component Resolve Thread (Bundle 98)] DEBUG o.o.config.core.ConfigDispatcher - Processing openHAB main configuration file ‘/volume1/@appstore/OpenHAB/configurations/openhab.cfg’.
16:59:19.236 [Component Resolve Thread (Bundle 98)] WARN o.o.config.core.ConfigDispatcher - Main openHAB configuration file ‘configurations/openhab.cfg’ does not exist.
I’ve checked and the openhap.cfg file is in that location. Once the service is up and running and I try to load a sitemap it says that it can’t find the sitemap.
I’ve tried deleting the folders and re-creating the symbolic links as mentioned by Brady above but no joy. Does anyone have any further suggestions?
Managed to fix my problem - it was because the user ‘openhab’ had lost its permissions on the public folder. Gave it R/W and now all is well (after restarting the service).