OS: what OS is used and which versionDSM 6.2-23739
Java Runtime Environment: which java platform is used and what version1.8.0_172
openHAB version: 2.3.0.002
Hello, I’ve been stumped for days trying to get 2.3 to run on Synology. Below is my log file. During install, I created the folders just as the directions asked (I also created an openHAB2 folder with the same subfolders as some online forums keep referring to the openHAB2 folder). I just can’t get past this point.
S T A R T - o p e n H A B S P K
2018-06-01:15:20:33
Set instance variables…
public: false
smarthome: true
home: false
port: 8081
tmp: /volume1/@tmp
share: /volume1/SmartHome
oh: /volume1/SmartHome/openHAB
backup: /volume1/@appstore/openHAB-backup-201806
done
Start postinst…
Create ‘openhab’ daemon user
Install new version
Extract openhab-2.3.0.zip
FAILED (extract)
Just following up on this, tried it all again from scratch.
I got the same error and noticed that the ‘openhab’ user didn’t have read/write access to the SmartHome folder, so I updated that and tried to install again (without uninstalling the prior attempt and without checking the ‘run after install box’). This time it installed; however, when I looked at the user list, ‘openhab’ was gone - so I manually created the openhab user with read/write to just the SmartHome folder.
Still a problem though as it looks like it installed, but when I click ‘Run’, it just thinks for awhile and nothing happens. It did create a start-stop log, with this:
Start service
call start.sh.
FAILED (su)
Stop service.
openHAB is not running
done.
Start service
call start.sh.
wait_for_status: 0
wait_for_status: 0
wait_for_status: 0
wait_for_status: 0
wait_for_status: 0
PID file created.
done.
Does anyone know if there’s some other permissions i need to give the ‘openhab’ user to get things to run…or where else I can look to keep going?
Thanks
No, I’m just clicking the ‘Run’ button in the Package Center. But I just added ‘openhab’ user to the admin group and looks like there’s progress. Here’s the log file:
In the Package Center, the app button says ‘Run’…whereas every other running app says ‘Open’. The apps that say ‘Run’ are all off - so this suggests something with openHAB isn’t running correctly.
In the Main Menu, it shows ‘OH Manager’, which it never did before so that suggests something IS running that wasn’t before.
This is as far as I’ve ever gotten so I’m going to start going through configuring and see how far I get.
Thanks for your help, sometimes its just the little nudge that turns on the bulb.