Can't access dedicated storage

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
waynecoutee
Posts: 1
Joined: Fri May 10, 2024 8:09 am

Can't access dedicated storage

Post by waynecoutee »

Hello,
I just set up Zoneminder 1.36.x under ubuntu (desktop).

As my pc runs on a kinda tiny 128GB SSD i added a seconds HDD as dedicated storage.

So it's mounted on boot as

Code: Select all

/mnt/recordings
Additionally i added a directory "zoneminder" and gave the ownership to www-data, like i read it on the forums. Just like

Code: Select all

sudo chown -R www-data:www-data /mnt/recordings/zoneminder/
After this i restarted the whole system and check the path

Code: Select all

ls -l /mnt/recordings/
drwxrwxr-x 2 www-data www-data  4096 Jun  3 00:32 zoneminder
Now i try to add the drive in zoneminder under options -> storage ->

name "drive"

path "/mnt/recordings/zoneminder"

-> save

But what i see in the logs at the end is

Code: Select all

03.06.23, 01:01:54 MESZ web_php 2237 ERR Path /mnt/recordings/zoneminder does not exist. /usr/share/zoneminder/www/includes/Storage.php 124
And i can't figure out what i did wrong...

Maybe you got a hint?
dougmccrary
Posts: 1256
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Can't access dedicated storage

Post by dougmccrary »

path "/mnt/recordings/zoneminder"
maybe should be
path /mnt/recordings/zoneminder/
zm needs to make more directories there.
User avatar
burger
Posts: 394
Joined: Mon May 11, 2020 4:32 pm

Re: Can't access dedicated storage

Post by burger »

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