I recently installed Bluecherry on Linux Mint 18. I have the client and server working, added myself as an admin user, and added my single camera for monitoring and recording. I’m a bit confused because I want to add a USB External Drive directory as my primary storage option so I’m not burning up space on my OS HD. There are two notes on display when I access Server Admin Configuration --> Storage:
“Note 1: A storage directory is accessible only if the permissions on each of the directories in the path prefix of pathname grant search (i.e., execute) access to the user id that the web server runs as (usually ‘www-data’). If any directory is inaccessible, then the directory is not readable, even if correct permissions and ownership are set on this directory. This is a frequent issue with automounted external storage like USB drives.”
“Note 2: It is recommended to mount network storage with sync option and disabled cache (option cache=none for CIFS).”
When I add the folder directory on the external HD, my user is “billy” and I do quote in the directory string since there are spaces present. I get the following error in a red pop-up balloon:
Server could not open the specified directory “/media/billy/Seagate Backup Plus Drive/bluecherry/recordings”, please make sure it exists and the server can connect to it by running these commands in the terminal:
To create directory run: “sudo mkdir -p /media/billy/Seagate Backup Plus Drive/bluecherry/recordings” To set permissions run: “sudo chmod 770 /media/billy/Seagate Backup Plus Drive/bluecherry/recordings; sudo chown bluecherry:bluecherry -R /media/billy/Seagate Backup Plus Drive/bluecherry/recordings”.
I have completed the steps detailed in the red pop-up balloon detailed above but the error simply repeats when I attempt to save changes. Can someone please assist with this and help identify what I am doing wrong or what about my configuration is not correct? My guess at this point after thinking about it some is maybe the mount point for the drive needs to be configured at a path that is not tied to my user account? I’ve run out of ideas, tried adding bluecherry to my group and www-data, me to bluecherry and www-data. Community knowledge and expertise would be most appreciated.