Filters not deleting
Posted: Sun Mar 21, 2010 6:43 pm
Hi all,
I'm having a problem getting filters to delete events.
I have to filters running in the background. One is the default PurgeWhenFull one altered to work at 75% disc usage, and the other one I have created to delete my continuous records after 48 hours. I added this filter when I first built the system a week ago and just assumed it was working. Turns out it wasn't. This is an identical to the filter I had running with no problems for several weeks on my previous install so I'm happy the filter design is not at fault.
When I went to log in yesterday I encountered php device full errors. I SSHed in and discovered that the disc was 87% full and the INode allocation was 100% used. I manually deleted events from the file system and ran zmaudit. After that I was able to log in.
Looking at the filter in question, I see it brings back the results I want it to when I click submit, i.e. anything over 48 hours old and where cause = Continuous. But despite the delete all matches option being checked the events don't get deleted when I click execute. I have had a look at the system log and nothing obvious jumps out at me. I have also set permissions for the events folder to 777 but this hasn't worked. ZoneMinder is able to delete event files anyway since selecting one or more events from the filters results and then clicking delete will remove them.
I'm reasonably new to ZM so am not completely sure where to start looking for the cause of this problem. Has anyone encountered it before?
I'm using ZM v1.23.3 installed by the package manager onto a clean install of ubuntu 9.04.
As far as I know I followed the same steps as I did for my previous install which worked flawlessly.
Any help anyone can provide would be appreciated.
Many Thanks
I'm having a problem getting filters to delete events.
I have to filters running in the background. One is the default PurgeWhenFull one altered to work at 75% disc usage, and the other one I have created to delete my continuous records after 48 hours. I added this filter when I first built the system a week ago and just assumed it was working. Turns out it wasn't. This is an identical to the filter I had running with no problems for several weeks on my previous install so I'm happy the filter design is not at fault.
When I went to log in yesterday I encountered php device full errors. I SSHed in and discovered that the disc was 87% full and the INode allocation was 100% used. I manually deleted events from the file system and ran zmaudit. After that I was able to log in.
Looking at the filter in question, I see it brings back the results I want it to when I click submit, i.e. anything over 48 hours old and where cause = Continuous. But despite the delete all matches option being checked the events don't get deleted when I click execute. I have had a look at the system log and nothing obvious jumps out at me. I have also set permissions for the events folder to 777 but this hasn't worked. ZoneMinder is able to delete event files anyway since selecting one or more events from the filters results and then clicking delete will remove them.
I'm reasonably new to ZM so am not completely sure where to start looking for the cause of this problem. Has anyone encountered it before?
I'm using ZM v1.23.3 installed by the package manager onto a clean install of ubuntu 9.04.
As far as I know I followed the same steps as I did for my previous install which worked flawlessly.
Any help anyone can provide would be appreciated.
Many Thanks