Running ZM 1.34.16 on Debian 10 Buster. Steep learning curve. Have abt 8 cameras defined, most running in Function: Monitor. Starting to tinker with Record.
In /var/cache/zoneminder/events there are 8 directories (e,g ../events/1, ..events/3, etc). Most are empty. These may be relics of an original or default numbering scheme for Monitors (cameras).
There are also 20 link directories. These seem to link to the numbered directories. These link directories have names of presently defined cameras, or of now deprecated and abandoned camera Names.
I would like to clean out ../zoneminder/events, particularly directories with orphaned camera names. There is nothing there of value. All files are owned by www-data. I am not much familiar with SQL type databases; just invokng sudo to rm them seems ill advised.
Is there guidance available about clearing out this dross? Thank you - Shu
cleanup of /var/cache/zoneminder/events
Re: cleanup of /var/cache/zoneminder/events
Look through the DB if you are worried about existing records. But it shouldn't hurt anything to just rmdir
https://wiki.zoneminder.com/MySQL
Make a backup of the DB beforehand and you can restore should something go wrong.
https://wiki.zoneminder.com/MySQL
Make a backup of the DB beforehand and you can restore should something go wrong.
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
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
Re: cleanup of /var/cache/zoneminder/events
Thanks. Just needed a little push. Digging in to get at least minimally acquainted with MariaDB.
- Shu
- Shu