Domoticz Switch Scripts on Synology NAS

All kinds of 'OS' scripts
Post Reply
sghazagh
Posts: 17
Joined: Friday 28 October 2016 1:37
Target OS: Raspberry Pi
Domoticz version:
Contact:

Domoticz Switch Scripts on Synology NAS

Post by sghazagh » Monday 18 June 2018 1:17

Hi all,
I have started to move my Pi Domoticz to my Synology NAS Domoticz and all are good except I get error when I run switch scripts.
I have specified the full path and it has a "+X" permission to run.
But I get the permission error something like error 62...

The scripts to run has chowned by "domoticz:root" user/group and as I said it has "chmod +x". I actually can run it from script folder when I login as domoticz user in ssh, but Domoticz cannot run it as it says:

Code: Select all

2018-06-20 18:24:52.251 Error: Error executing script command (/usr/local/domoticz/var/scripts/myscript.sh). returned: 256
Any idea what user should I use or why the Domoticz cannot run the switch scripts?

P.S: I have used full path like: "script:///usr/local/domoticz/var/scripts/myscript.sh" in switch script fileds.

Any help would be appreciated,
Thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest