homebridge-vera
homebridge-vera copied to clipboard
Permission denied on oznu homebridge docker on synology
Hi, I'm getting the following error when trying to start Oznu's Homebridge on a Synology.
[2018-3-28 23:18:58] [Vera] Initializing Vera platform...
Error: EACCES: permission denied, mkdir '/root/.veralink'
The only way around it is to create a new terminal and run "chmod -R 755 /root/.veralink/ Unfortunately, if the Docker instance reboots for any reason I have to manually fix this.
Any clues on how to address this? I have tried adding the chmod command to startup.sh and that succeeds but when the plugin runs the error is still there.
I also tried to remove the directory when startup.sh is run so that the plugin can create the directory. I still get the error where it doesn't have permissions to create /root/.veralink. If I log into another shell/terminal and run my chmod command then Homebridge starts up.
Help?
Did you ever figure out a fix for this? I have the exact same problem. Thanks