I tried -3 days and delete all events but the disk continues to fill up. I keep having to manually go and delete the events folders from the server. The filter finds events and seems to be clearing from the dB but I’m not sure it’s deleting them from the server.
I tried -1 days and it’s the same.
Disk filling up
Disk filling up
- Attachments
-
- ABEDBC50-70A2-4EF5-858F-CC5C0CD3CE1F.jpeg (422.13 KiB) Viewed 6159 times
Re: Disk filling up
Is your question, why the disk fills up, or if the filter is not working ?
I have mine set to "-N day" NOT "-n days" , not sure if this makes a difference.
Secondly, I have mine set to "alarm frames, less than or equal to"

I have mine set to "-N day" NOT "-n days" , not sure if this makes a difference.
Secondly, I have mine set to "alarm frames, less than or equal to"

Re: Disk filling up
I tried day and days its still not deleting them from the disk so its filling up.
If i set to alarm frames i get zero matches.
Upgraded to 1.34 but still the same.
As you can see there are folders more than 3 days old containing events.
Could it be permissions? www-data
If i set to alarm frames i get zero matches.
Upgraded to 1.34 but still the same.
As you can see there are folders more than 3 days old containing events.
Could it be permissions? www-data
- Attachments
-
- 2020-01-22 17_20_36-ZM - Event Filter.png (51.06 KiB) Viewed 6128 times
Re: Disk filling up
Ok, i think i may have solved this although its not tested until the 2 days go past.
I moved one of the cameras to different storage and noticed that after 2 days the delete seemed to be working.
The difference was the new storage folder had symlinks for the name of the camera
e.g
Kitchen -> /home/username/zm/events/7
In the original folder these were missing. I think i may have deleted them by mistake when i was manually clearing the old olds when my original filter didnt work.
When i had fixed the filter syntax the filter couldnt delete the old data and only cleared the db entry for the event.
I'll confirm after 2 days if indeed the problem is resolved.
I moved one of the cameras to different storage and noticed that after 2 days the delete seemed to be working.
The difference was the new storage folder had symlinks for the name of the camera
e.g
Kitchen -> /home/username/zm/events/7
In the original folder these were missing. I think i may have deleted them by mistake when i was manually clearing the old olds when my original filter didnt work.
When i had fixed the filter syntax the filter couldnt delete the old data and only cleared the db entry for the event.
I'll confirm after 2 days if indeed the problem is resolved.
Re: Disk filling up
If the filter is only deleting the db entry then you have Options -> System -> OPT_FAST_DELETE checked. Uncheck it.
You probably do not want the filter to run concurrently.
The symlinks don't matter, they are for silly humans to use, ZM doesn't use them.
You probably do not want the filter to run concurrently.
The symlinks don't matter, they are for silly humans to use, ZM doesn't use them.
Re: Disk filling up
I checked that checkbox and fast delete is not selected and if symlinks make no difference maybe I have a different issue.
Like I said the other storage areas seem to be working so I have moved to them for now. I will let you know how I get on after 2 days.
Ps I have unchecked run concurrently. Out of interest what does that do?
Like I said the other storage areas seem to be working so I have moved to them for now. I will let you know how I get on after 2 days.
Ps I have unchecked run concurrently. Out of interest what does that do?
- Attachments
-
- D1A710E8-82E8-4DA1-96AB-C8DA545C4C7D.jpeg (332.51 KiB) Viewed 6092 times