Flush missing jpg events?

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
User avatar
Bluemax
Posts: 105
Joined: Wed Jun 12, 2019 5:15 pm

Flush missing jpg events?

Post by Bluemax » Tue Oct 27, 2020 1:49 am

Hi,
i just tested the jpg save option (frames+analysis) without video writer. All looked well and i deleted the event. Now the log is flooded with the error below. Looks like it doesn't auto-prune the error (its been some hours already). Any way to delete that entry?

2020-10-27 02:28:06 zms_e78450 6294 ERR Can't open /tmp/zoneminder_events/2/2020-10-26/78450/00415-capture.jpg: No such file or directory zm_eventstream.cpp 729

Edit:
I've deleted the whole 2nd camera but the dead event was still there after restart. So i created the missing file manually (null file) and restarted ZM and that worked.
I had to clean up 140MB of file logs and corresponding 800.000 database entries (via options/db limit). I will limit it to 1000/warning permanently.

Magic919
Posts: 224
Joined: Wed Sep 18, 2013 6:56 am

Re: Flush missing jpg events?

Post by Magic919 » Sat Oct 31, 2020 11:34 am

You could run zmaudit and see if that helps (next time).

User avatar
Bluemax
Posts: 105
Joined: Wed Jun 12, 2019 5:15 pm

Re: Flush missing jpg events?

Post by Bluemax » Sat Oct 31, 2020 3:44 pm

Thanks, i knew there's something like that but didn't know the name. Always thought it would be done automatically after some time.

Magic919
Posts: 224
Joined: Wed Sep 18, 2013 6:56 am

Re: Flush missing jpg events?

Post by Magic919 » Sat Oct 31, 2020 5:23 pm

It was one of those processes, once upon a time. Then it became a tool to use occasionally.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests