Page 1 of 1

Filter removes events from Mysql but not from file system

Posted: Tue Mar 23, 2010 10:15 pm
by ioclaudio
Hi all,
I use Zoneminder 1.24.2 on CentOs.
I created a new filter called PurgeWhenFull-1 based on(PurgeWhenFull) to purge old events from both the database and the file system.
I set it to run in background every 10 minutes and to delete oldest events.

The filter runs correctly every 10 minutes removing events from Mysql, but it doesn't delete the files from file system.

Which is the problem according to you?
In the log it seems the events were deleted:
Mar 23 22:41:36 Host-001 zmfilter[7320]: INF [Deleting event 557]
Mar 23 22:41:36 Host-001 zmfilter[7320]: INF [Deleting event 558]
Mar 23 22:41:36 Host-001 zmfilter[7320]: INF [Deleting event 559]
Mar 23 22:41:36 Host-001 zmfilter[7320]: INF [Deleting event 560]
Mar 23 22:41:36 Host-001 zmfilter[7320]: INF [Deleting event 561]

How can I debug this problem?
Which is the script that should remove files from file system?

Thank you

cld

Posted: Tue Mar 23, 2010 10:58 pm
by kingofkya
Look for the option run zmaudit in the options.

Alternatively you can turn off fast delete.

Posted: Tue Mar 23, 2010 11:00 pm
by whatboy
Uncheck OPT_FAST_DELETE Delete only event database records for speed (?) on options -> System

Posted: Wed Mar 24, 2010 10:19 pm
by ioclaudio
Yes, the problem was simply I didn't uncheck OPT_FAST_DELETE.
Thank you