Bought a 2TB hard drive, formatted it ext4, mounted it at /mnt/Storage_A, created folders /zoneminder/events. Cannot get ZoneMinder to access that area to store events.
web_php.log keeps posting
03/20/21 17:53:28.438922 web_php[7819].WAR [192.168.54.88] [Storage::disk_usage_percent: path /mnt/Storage_A/zoneminder/events does not exist] at /usr/share/zoneminder/www/includes/Storage.php line 74
03/20/21 17:53:28.512576 web_php[7819].ERR [192.168.54.88] [Path /mnt/Storage_A/zoneminder/events does not exist.] at /usr/share/zoneminder/www/includes/Storage.php line 112
owner and group are set to www-data with read/write and file create/delete for /mnt/Storage_A/zoneminder/events
[Solved] New Storage issue
[Solved] New Storage issue
Last edited by swolsen on Sun Apr 11, 2021 5:59 pm, edited 1 time in total.
Re: New Storage issue
There is no need to create the /zoneminder/events folder.
In fact, the paths don't look like that at all in custom storage (with default settings). See what one of my folders (/videos/One_10tb/) looks like:
https://wiki.zoneminder.com/Using_a_ded ... Hard_Drive
In fact, the paths don't look like that at all in custom storage (with default settings). See what one of my folders (/videos/One_10tb/) looks like:
Code: Select all
/videos/
├── One_10tb
│ ├── 10
│ │ ├── 2020-11-13
│ │ │ ├── 4263714
│ │ │ │ ├── 4263714-video.mp4
│ │ │ │ ├── alarm.jpg
│ │ │ │ └── snapshot.jpg
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: New Storage issue
Actually on my system ZoneMinder set the default events storage to be
/var/cache/zoneminder/events
owner = www-data with read/write and file create/delete access
group = www-data with read/write and file create/delete access
and that works.
I'm just trying to get it to point to a larger drive and that does not work.
Already used that method (Options -> Storage) to point to the larger drive and just get the errors of it not being there or permission denied.
Permission as I have stated is correct to that folder.
/mnt/Storage_A/zoneminder/events
owner = www-data with read/write and file create/delete access
group = www-data with read/write and file create/delete access
/var/cache/zoneminder/events
owner = www-data with read/write and file create/delete access
group = www-data with read/write and file create/delete access
and that works.
I'm just trying to get it to point to a larger drive and that does not work.
Already used that method (Options -> Storage) to point to the larger drive and just get the errors of it not being there or permission denied.
Permission as I have stated is correct to that folder.
/mnt/Storage_A/zoneminder/events
owner = www-data with read/write and file create/delete access
group = www-data with read/write and file create/delete access
Re: New Storage issue
Ok problem has been resolved. Although I had permissions correct on folders zoneminder and events I neglected to have read and execute on folder Storage_A for all