robmarkcole / HASS-Deepstack-face

Home Assistant custom component for using Deepstack face recognition
https://community.home-assistant.io/t/face-and-person-detection-with-deepstack-local-and-free/92041
MIT License
218 stars 68 forks source link

not a directory for dictionary value #59

Closed broyuken closed 2 years ago

broyuken commented 3 years ago

Trying to get this set up, but I keep getting the following error. I've tried /media and /config/media but the error doesn't go away.

2021-11-09 21:02:43 ERROR (MainThread) [homeassistant.config] Invalid config for [image_processing.deepstack_face]: not a directory for dictionary value @ data['save_faces_folder']. Got '/config/media/deepstack/faces/'
not a directory for dictionary value @ data['save_file_folder']. Got '/config/media/deepstack/snapshots/'. (See /config/configuration.yaml, line 276). Please check the docs at https://github.com/robmarkcole/HASS-Deepstack-face

/config/media is mounted from my nas as thats where I want to store all my NVR related stuff, Dafang, Frigate, Deepstack, etc. Folders are mounted fine.

➜  media ls -l /config/media
total 1
drwxrwxrwx    5 42949672 42949672         5 Nov  9 14:16 Dafang
drwxrwxrwx    4 42949672 42949672         4 Nov  9 14:36 deepstack
➜  media ls -l /config/media/deepstack
total 1
drwxrwxrwx    2 42949672 42949672         2 Nov  9 14:36 faces
drwxrwxrwx    2 42949672 42949672         2 Nov  9 14:36 snapshots
➜  media

Any ideas where I could be going wrong here?

robmarkcole commented 2 years ago

Must be related to mounting.. Can you ask this on the forums?

robmarkcole commented 2 years ago

no response