Hey folks, I added a new disk. Seems to have been successful as I am storing recordings/events there as I would expect.
But I get this happening in the log:
"2021-12-02 14:30:00",zmc_m1,,31366,WAR,"Failed creating event dir at /newhdd",zm_event.cpp,134
"2021-12-02 14:30:00",zmc_m1,,31366,ERR,"Can't mkdir /newhdd/1: Permission denied",zm_event.cpp,630
Clearly something simple... any thoughts appreciated!
Added a new HDD - failed creating event etc. etc.
-
- Posts: 1336
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Added a new HDD - failed creating event etc. etc.
Recheck permissions.
According to the error you aren’t getting monitor 1 recordings because it can’t make a directory for it. Do you have more than one camera?
According to the error you aren’t getting monitor 1 recordings because it can’t make a directory for it. Do you have more than one camera?
Re: Added a new HDD - failed creating event etc. etc.
Hey Doug - it's a fresh install, just one camera for now. I wanted to verify that my new disk was working first.
If it fails to work on my new location, would that mean it will revert back to "Default" storage?
root@z:/#ls -l /newhdd
total 16
drwx------ 2 root root 16384 Dec 2 10:55 lost+found
If it fails to work on my new location, would that mean it will revert back to "Default" storage?
root@z:/#ls -l /newhdd
total 16
drwx------ 2 root root 16384 Dec 2 10:55 lost+found
-
- Posts: 1336
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Added a new HDD - failed creating event etc. etc.
Probably www-data not root
Needs to match what ZM created at install.
Needs to match what ZM created at install.
Re: Added a new HDD - failed creating event etc. etc.
thx Doug .... I no longer have that error in the log (I did # chown www-data /newhdd)
-
- Posts: 1336
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego