Forum for questions and support relating to the 1.32.x releases only.
detxm80
Posts: 38 Joined: Fri Oct 13, 2017 9:42 am
Post
by detxm80 » Thu Dec 20, 2018 12:17 am
I guys, i always follow this guide:
https://zoneminder.readthedocs.io/en/la ... drive.html and all gone alway ok.
Now on ubuntu i install zoneminder and i get permission error and i get crazy to known where is the problem:
Code: Select all
Can't mkdir /media/sdb1/zoneminder/events /8/2018-12-20/41: No such file or directory
Code: Select all
Failed creating mp4 file: /media/sdb1/zoneminder/events /8/2018-12-20/41/41-video.mp4
Can you help me to solve it?
Thanks a lot
bbunge
Posts: 2934 Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania
Post
by bbunge » Thu Dec 20, 2018 3:14 am
Check the install procedure in the wiki.
detxm80
Posts: 38 Joined: Fri Oct 13, 2017 9:42 am
Post
by detxm80 » Thu Dec 20, 2018 8:05 am
I do it, i use the easy way zm-install script..i already use this method without problem, but now i get this error and i don t understand why
iconnor
Posts: 2900 Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:
Post
by iconnor » Fri Dec 21, 2018 3:04 am
there is clearly an extra space in the storage area path.
I will have have to add code to strip it out.
For now you can just edit the path and get rid of that trailing space
mikb
Posts: 600 Joined: Mon Mar 25, 2013 12:34 pm
Post
by mikb » Fri Dec 21, 2018 5:21 pm
Of course you can't just strip *all* spaces out, as some people actually use them! (Although a trailing space like that is evil ...)
How do you know which spaces to strip?
detxm80
Posts: 38 Joined: Fri Oct 13, 2017 9:42 am
Post
by detxm80 » Sat Dec 22, 2018 10:24 pm
nothing to do, try to use another hdd and not have persmission to write ...
why?
i want to write here:
Code: Select all
user@ubuntu-server:/media/sdb1/zoneminder$ ls -lh
totale 8,0K
drwxrwxr-x 2 www-data www-data 4,0K dic 22 23:18 events
drwxrwxr-x 2 www-data www-data 4,0K dic 22 23:18 images
i always follow this guide
https://zoneminder.readthedocs.io/en/la ... drive.html without problem.
Can you help me?
mikb
Posts: 600 Joined: Mon Mar 25, 2013 12:34 pm
Post
by mikb » Sun Dec 23, 2018 9:09 pm
Have you fixed the error in the path you are using yet? Somewhere you have accidentally added a space to the end of the "path to store events" entry and ended up with this ...
/media/sdb1/zoneminder/events /8/2018-12-20/41
This path does not exist: You have a directory called "events" and are trying to write one called "events[SPACE]" which is a legitimate (but non existant and potentially really confusing) filename.