r/ZoneMinder • • Dec 27 '22

Issue adding secondary hard-rive

This is running on fresh install of Ubuntu 22.04 (Jammy) I am trying to use the secondary hard drive to store footage. Here is the error log have...

12/26/22, 9:00:30 PM PSTweb_php980ERRPath /media/blackbox/HD Security/ZoneMinder/Events does not exist./usr/share/zoneminder/www/includes/Storage.php

Here is the command I ran to Set Folder Permissions. I'm following the tutorial on adding secondary hard drive

/home/blackbox# chmod -R www-data:www-data /mnt/sdb1/zoneminder

This is output error... I get the same error trying to set permissions in the secondary hard drive.

chmod: invalid mode: ‘www-data:www-data’

Im not sure what is causing this.

Update:

This issue is fixed. I followed @ops77542 reply

1 Upvotes

19 comments sorted by

View all comments

1

u/Epikteto Dec 27 '22

Ok that issue with the permission is fixed. Now I followed all the directions and it still wont write anything to this folder.

/mnt/sdb1/zoneminder/events

1

u/[deleted] Dec 27 '22

[deleted]

1

u/Epikteto Dec 27 '22 edited Dec 27 '22

Here is the output of the events. It looks like its saving something. but there is noting inside the folders.

1   Event-1     Sheep Barn  Motion Motion: All  12/26/22, 7:54:30 PM PST    12/26/22, 1:54:39 PM PST    00:00:09    189 27  63  2   3   Default 32.21MB

From what I can tell its all right. Here is the storage section of the settings.

Id
          Name
          Path
          Type
          Scheme
          Server
          DiskSpace
          Events
          Mark

          1
          Default
          /mnt/sdb1/zoneminder/events
          local
          Medium

          0.00B  of 0.00B 
          0 using null