Filter removes events from Mysql but not from file system

Forum for questions and support relating to the 1.24.x releases only.
Locked
ioclaudio
Posts: 15
Joined: Tue Jul 29, 2008 10:49 pm

Filter removes events from Mysql but not from file system

Post 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
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

Look for the option run zmaudit in the options.

Alternatively you can turn off fast delete.
whatboy
Posts: 304
Joined: Mon Aug 31, 2009 10:31 pm

Post by whatboy »

Uncheck OPT_FAST_DELETE Delete only event database records for speed (?) on options -> System
ioclaudio
Posts: 15
Joined: Tue Jul 29, 2008 10:49 pm

Post by ioclaudio »

Yes, the problem was simply I didn't uncheck OPT_FAST_DELETE.
Thank you
Locked