Update Diskspace for events

Forum for questions and support relating to 1.35.x development only.
Post Reply
Cramac1
Posts: 45
Joined: Wed Aug 29, 2018 11:29 am

Update Diskspace for events

Post by Cramac1 » Fri Sep 25, 2020 4:44 pm

Hello.
there are three servers, updated to the latest version. And on one server it stopped updating the size of the recording file.
Where to look?
events.png
events.png (241.45 KiB) Viewed 2496 times

User avatar
iconnor
Posts: 1353
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Update Diskspace for events

Post by iconnor » Fri Sep 25, 2020 7:30 pm

The logs?

Cramac1
Posts: 45
Joined: Wed Aug 29, 2018 11:29 am

Re: Update Diskspace for events

Post by Cramac1 » Fri Sep 25, 2020 7:43 pm

the log is empty. Tell me who is responsible for this, otherwise they made edits to the zmaudit and zmfilter

Cramac1
Posts: 45
Joined: Wed Aug 29, 2018 11:29 am

Re: Update Diskspace for events

Post by Cramac1 » Fri Sep 25, 2020 8:41 pm

update to 1.35.6~20200925151411-bionic

everything is back

goatman64
Posts: 21
Joined: Wed Oct 21, 2015 7:41 pm

Re: Update Diskspace for events

Post by goatman64 » Thu Oct 01, 2020 1:06 pm

I had a similar problem and updated to the most current 1.35.6 without resolution. I updated to 1.35.7 and still have the same issue. What am I missing here? There are two filters in the standard build ... PurgeWhenFull and UpdateDiskSpace. Why is there a filter to update disk space?
zm-filter-sql.PNG
zm-filter-sql.PNG (4.89 KiB) Viewed 2353 times
From the sql error you can see the where clause isn't correct.

(E.Archived = '0' and >= '95')

It is missing the Diskspace reference

??

User avatar
iconnor
Posts: 1353
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Update Diskspace for events

Post by iconnor » Fri Oct 02, 2020 1:42 pm

I thought I fixed that several days ago. We are up to 1.35.8 now...

goatman64
Posts: 21
Joined: Wed Oct 21, 2015 7:41 pm

Re: Update Diskspace for events

Post by goatman64 » Fri Oct 02, 2020 1:54 pm

Will apply 1.35.8 and test.

Thanks

goatman64
Posts: 21
Joined: Wed Oct 21, 2015 7:41 pm

Re: Update Diskspace for events

Post by goatman64 » Fri Oct 02, 2020 2:02 pm

One more thing .. can you explain the relationship between the disk space metric and the UpdateDiskSpace filter?

Thanks

User avatar
iconnor
Posts: 1353
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Update Diskspace for events

Post by iconnor » Fri Oct 02, 2020 8:13 pm

The Update Disk Space filter updates the db entry....

It is too resource intensive to constantly query the fs for this, so we do it once in the background.

goatman64
Posts: 21
Joined: Wed Oct 21, 2015 7:41 pm

Re: Update Diskspace for events

Post by goatman64 » Mon Oct 05, 2020 3:18 am

I jumped to 1.35.9 but continue to see no function from the purge filter. I enabled debug and ran the exposed sql. The events diskspace column is null.

Is it the diskspace filter that is supposed to update this column?

Any help appreciated

goatman64
Posts: 21
Joined: Wed Oct 21, 2015 7:41 pm

Re: Update Diskspace for events

Post by goatman64 » Wed Oct 07, 2020 2:37 pm

I'm going to jump to Ubuntu 20.04 and redo my zoneminder install. Something is jacked in my filters.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests