Page 1 of 1

Moving events with filter between storages doesn't quite work

Posted: Mon Feb 10, 2020 7:56 am
by torkilt
Hi

Running 1.34.1. I set up a filter to move events from fast storage to slower, compressed storage when the former is near capacity. It seems to work, but I can't play back events after they are moved and something seems to be wrong with the dates also:
Screenshot from 2020-02-10 08-52-12.png
Screenshot from 2020-02-10 08-52-12.png (81.12 KiB) Viewed 6728 times
The right dates should probably be 02/09 21:51:18 + duration instead.

Suggestions?

Mvh.

Torkil

Re: Moving events with filter between storages doesn't quite work

Posted: Mon Feb 10, 2020 9:23 am
by torkilt
The actual files are here, on the slow storage:

Code: Select all

[root@zm zoneminder]# find /zoneminder | grep 37919
/zoneminder/4/2020-02-07/37919
/zoneminder/4/2020-02-07/37919/00001-capture.jpg
/zoneminder/4/2020-02-07/37919/snapshot.jpg
/zoneminder/4/2020-02-07/37919/objects.json
/zoneminder/4/2020-02-07/37919/alarm.jpg
/zoneminder/4/2020-02-07/37919/00008-capture.jpg
/zoneminder/4/2020-02-07/37919/objdetect.jpg
/zoneminder/4/2020-02-07/37919/37919-video.mp4
/zoneminder/4/2020-02-07/37919/snapshot-400x226.jpg
2020-02-07 seems like the proper time stamp also, as 02/09 is way to young to be among the events to be archived.

Re: Moving events with filter between storages doesn't quite work

Posted: Mon Feb 10, 2020 9:25 am
by torkilt
Filter:

Re: Moving events with filter between storages doesn't quite work

Posted: Mon Feb 10, 2020 5:30 pm
by iconnor
I think zmupdate.pl is doing something bad. Turn it off. I will have to figure out what it is doing.

Re: Moving events with filter between storages doesn't quite work

Posted: Tue Feb 11, 2020 6:58 am
by torkilt
iconnor wrote: Mon Feb 10, 2020 5:30 pm I think zmupdate.pl is doing something bad. Turn it off.
I'm not sure I understand this. I can't find anything about zmupdate.pl in the settings and I believed it was a script that was run manually when upgrading?
iconnor wrote: Mon Feb 10, 2020 5:30 pm I will have to figure out what it is doing.
I'll be happy to provide debug information.

Thanks,

Torkil

Re: Moving events with filter between storages doesn't quite work

Posted: Tue Feb 11, 2020 7:20 am
by torkilt
torkilt wrote: Tue Feb 11, 2020 6:58 am
iconnor wrote: Mon Feb 10, 2020 5:30 pm I think zmupdate.pl is doing something bad. Turn it off.
I'm not sure I understand this. I can't find anything about zmupdate.pl in the settings and I believed it was a script that was run manually when upgrading?
Speaking of which, I'm holding back on updating to 1.34.2.

Mvh.

Torkil

Re: Moving events with filter between storages doesn't quite work

Posted: Tue Feb 11, 2020 2:44 pm
by iconnor
Sorry I mistyped. zmaudit.pl is what I meant.

Go to Options -> System -> RUN_AUDIT. UNcheck it, click save, restart zoneminder.

Re: Moving events with filter between storages doesn't quite work

Posted: Sun Feb 16, 2020 2:12 pm
by torkilt
iconnor wrote: Tue Feb 11, 2020 2:44 pm Go to Options -> System -> RUN_AUDIT. UNcheck it, click save, restart zoneminder.
No more problems since I disabled audit.

Mvh.

Torkil