Edit Zone missing Image
Posted: Tue May 23, 2017 1:53 am
New install of v1.29.0 on Ubuntu 16.04. Everything is working great. The install is a VM hosted under NAS4Free 11.x.
I moved the events and images to an alternate folder
images -> /video/images
events -> /video/events
I've set the permissions properly
root@felicia:/video# ls -la
drwxr-xr-x 6 www-data www-data 4096 May 22 20:55 .
drwxr-xr-x 24 root root 4096 May 22 21:18 ..
drwxr-xr-x 3 www-data www-data 4096 May 22 20:33 events
drwxr-xr-x 2 www-data www-data 4096 May 22 21:15 images
drwxr-xr-x 2 www-data www-data 16384 May 21 21:46 lost+found
drwxr-xr-x 5 www-data www-data 4096 May 22 21:22 temp
Anyway, I know zm is using these folders just fine because after trying to edit zone 1, in the images folder will exist
root@felicia:/video/images# ls
Zones1.jpg
THIS IS NOT A PERMISSION PROBLEM
I'm not an expert with Apache, but I believe possibly Apache is refusing to serve files from this folder. I think this because when I right click and copy the blank zone image this is what it is
http://192.168.1.60/video/images/Zones1.jpg
As you can see Zoneminder has properly generated the zone image, placed it into the folder I've asked it to use, but that file is not being served by Apache.
If somebody has any information on how to resolve this, please help.
Thanks,
Mike
I moved the events and images to an alternate folder
images -> /video/images
events -> /video/events
I've set the permissions properly
root@felicia:/video# ls -la
drwxr-xr-x 6 www-data www-data 4096 May 22 20:55 .
drwxr-xr-x 24 root root 4096 May 22 21:18 ..
drwxr-xr-x 3 www-data www-data 4096 May 22 20:33 events
drwxr-xr-x 2 www-data www-data 4096 May 22 21:15 images
drwxr-xr-x 2 www-data www-data 16384 May 21 21:46 lost+found
drwxr-xr-x 5 www-data www-data 4096 May 22 21:22 temp
Anyway, I know zm is using these folders just fine because after trying to edit zone 1, in the images folder will exist
root@felicia:/video/images# ls
Zones1.jpg
THIS IS NOT A PERMISSION PROBLEM
I'm not an expert with Apache, but I believe possibly Apache is refusing to serve files from this folder. I think this because when I right click and copy the blank zone image this is what it is
http://192.168.1.60/video/images/Zones1.jpg
As you can see Zoneminder has properly generated the zone image, placed it into the folder I've asked it to use, but that file is not being served by Apache.
If somebody has any information on how to resolve this, please help.
Thanks,
Mike