Closed NormHenderson closed 1 year ago
Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template!
We have another, quite similar Zoneminder server at another site, same ZM and Ubuntu versions, which also stores its data on a (different) Synology NAS. The main difference as far as I can see is that the mount point (and ZM_DIR_EVENTS) is /var/cache/zoneminder/events. That system isn't giving the warnings (although it has other issues with one particular camera).
Hi Norm,
I have to wonder if it is an apparmor or some other SELINUX restriction...
I have used nfs4 storage in the past without major issue.
I am also tempted to just remove that check. It is old and meant to be useful, but if monitors can't save events, there will be lots of other errors in the logs.
You might want to update. 1.37.18 is fairly old now. I have just pushed a change to remove that check so it shouldn't log anymore.
Thank you very much. I have upgraded using the PPA (1.37.27) and the messages seem to have stopped.
Describe Your Environment
Zoneminder runs as www-data
ZM_DIR_EVENTS is /Security/events, /Security is mounted from a Synology NAS on top of /Media:
Directory ownership as seen from the server running ZM:
*Describe the bug** Log file is filling with many times: 11/7/22, 5:22:34 PM GMT+1 | web_php | | 694740 | WAR | Cannot write to event folder /Security/events. Check that it exists and is owned by the web account user. | /usr/share/zoneminder/www/index.php | 171
However, events are being created for example: drwxrwxrwx 1 www-data www-data 4450 Nov 7 17:22 1385923 drwxrwxrwx 1 www-data www-data 1686 Nov 7 17:22 1385925 drwxrwxrwx 1 www-data www-data 2324 Nov 7 17:22 1385926
This bug appears similar to #3080 which wasn't analyzed, the submitter desisted.
To Reproduce Steps to reproduce the behavior: I wish I knew ...
Expected behavior No warning messages
Debug Logs