Weird error in logs repeating frequently

Support for the docker image maintained by dlandon
Post Reply
kuleinc
Posts: 11
Joined: Thu Apr 29, 2021 4:14 am

Weird error in logs repeating frequently

Post by kuleinc »

The errors are:
Failed to write frame image
Can't open /var/cache/zoneminder/events/1/2022-12-13/4637/01814-capture.jpg for writing: No such file or directory

any help to fix this would be great. worried its not recording...
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Weird error in logs repeating frequently

Post by Magic919 »

Try to view a recording.

Sounds like a Docker problem, rather than ZM. There’s no real Docker support here.
-
User avatar
burger
Posts: 390
Joined: Mon May 11, 2020 4:32 pm

Re: Weird error in logs repeating frequently

Post by burger »

Login to the container. Usually that error means the folder doesn't exist or the folder has the wrong permissions.

Code: Select all

docker exec -it <containername> /bin/bash
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Weird error in logs repeating frequently

Post by iconnor »

It can also be due to a bad filter. If you have a filter that deletes events as they are created, it deletes the directory while ZM is still writing to disk. So it fails.
kuleinc
Posts: 11
Joined: Thu Apr 29, 2021 4:14 am

Re: Weird error in logs repeating frequently

Post by kuleinc »

What is a good filter to keep my disk usage below 70%? I tried changing the purge filter to delete items older than two days but maybe I messed it up…
Post Reply