asmirnou / watsor

Object detection for video surveillance
MIT License
254 stars 32 forks source link

Home Assistant Add-On crashes at boot #16

Closed nickwilkie closed 3 years ago

nickwilkie commented 3 years ago

I just installed the Home Assistant Add-On from the repository, and after configuring the bare minimum in /config/watsor/config.yaml I get this error:

jq: error: Could not open file /data/options.json: Permission denied MainThread root ERROR : Either filename or data should be defined as input

Can't seem to change any configuration parameters to resolve this. For reference I'm running HASS on an x86 laptop inside a virtual machine and installed the standard (not RasPi) add-on. No problems currently with any other add-ons.

asmirnou commented 3 years ago

Apparently that happened after the permissions for all JSON files were changed in the latest Supervisor.

Could you reload my add-on repository and try again? The user of the container should now have access to that file.

nickwilkie commented 3 years ago

Yep, that fixed it! Thanks