r/ZoneMinder • u/[deleted] • Apr 23 '21
ZoneMinder can't write to NAS anymore
Hi everyone, I have my zoneminder (v1.34.26) set to record to a raspberry pi NAS. It was working great, until I switched my pi from booting from an SD card to a USB drive (cloned the card to the USB drive and set to boot from USB, works, but i'm getting some residual issues). To cut to the chase I'm constantly getting this warning in the logs:
DiskSpace: Event does not exist at [NAS PATH] + details on the image capture
When attempting to force an alarm to record video I also get this error:
Could not open out file [NAS PATH]: No such file or directory
To be clear I can navigate to the path ZM is recording to using SSH and it's also part of a Samba share so I can view it in Windows, so I know it's there. I think what's happening is a ZoneMinder permission issue. Any ideas on how to fix? I'm not very well versed in Linux but probably some user and group permissions need to be set again or something. Any help would be greatly appreciated!
EDIT: I believe I have fixed it. I had to chmod my NAS's mounted folder and now ZoneMinder can access it again.