Page 1 of 1
Weird error in logs repeating frequently
Posted: Tue Dec 13, 2022 4:38 pm
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...
Re: Weird error in logs repeating frequently
Posted: Tue Dec 13, 2022 6:29 pm
by Magic919
Try to view a recording.
Sounds like a Docker problem, rather than ZM. There’s no real Docker support here.
Re: Weird error in logs repeating frequently
Posted: Tue Dec 13, 2022 9:33 pm
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
Re: Weird error in logs repeating frequently
Posted: Wed Dec 14, 2022 8:43 am
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.
Re: Weird error in logs repeating frequently
Posted: Thu Dec 15, 2022 6:20 pm
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…