Moving events with filter between storages doesn't quite work

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
torkilt
Posts: 38
Joined: Thu Jul 06, 2017 10:56 am

Moving events with filter between storages doesn't quite work

Post 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 6039 times
The right dates should probably be 02/09 21:51:18 + duration instead.

Suggestions?

Mvh.

Torkil
torkilt
Posts: 38
Joined: Thu Jul 06, 2017 10:56 am

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

Post 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.
torkilt
Posts: 38
Joined: Thu Jul 06, 2017 10:56 am

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

Post by torkilt »

Filter:
Attachments
Screenshot from 2020-02-10 10-24-30.png
Screenshot from 2020-02-10 10-24-30.png (77.44 KiB) Viewed 6030 times
User avatar
iconnor
Posts: 2900
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

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

Post by iconnor »

I think zmupdate.pl is doing something bad. Turn it off. I will have to figure out what it is doing.
torkilt
Posts: 38
Joined: Thu Jul 06, 2017 10:56 am

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

Post 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
torkilt
Posts: 38
Joined: Thu Jul 06, 2017 10:56 am

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

Post 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
User avatar
iconnor
Posts: 2900
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

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

Post by iconnor »

Sorry I mistyped. zmaudit.pl is what I meant.

Go to Options -> System -> RUN_AUDIT. UNcheck it, click save, restart zoneminder.
torkilt
Posts: 38
Joined: Thu Jul 06, 2017 10:56 am

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

Post 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
Post Reply