All events are being deleted after restarting docker

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
serveit
Posts: 1
Joined: Mon May 25, 2020 1:51 pm

All events are being deleted after restarting docker

Post by serveit »

Whenever I stop and start the Zoneminder Docker, I can't view the events that were recorded before stopping. It shows a black screen with an X in the middle and this error message.
Recording path: /var/cache/zoneminder/events

Error Message: The video could not be loaded, either because the server or network failed or because the format is not supported.

I'm using Ubuntu 20.04 LTS & Nginx.
I have given www-data permission.

Docker: dlandon/zoneminder
User avatar
burger
Posts: 473
Joined: Mon May 11, 2020 4:32 pm

Re: All events are being deleted after restarting docker

Post by burger »

Post the docker command or docker-compose.yml

I'd advise using docker-compose.yml

(this should be moved to docker forum)
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
Post Reply