Page 1 of 1
Zones image preview blank
Posted: Tue Aug 25, 2015 8:39 pm
by elmer
Struggling with figuring this out, looking for some help. I've got a fresh 1.28.1 install on Ubuntu server 14.04. Everything appears to be working, I have a handful of cameras set up. However, when I try to configure a motion detection zone, I don't see an image of my video stream. Any ideas?
Here's some probably relevant info also. I've got the Events and Images directory configured correctly and it is able to write an image to that Images directory.
Code: Select all
user@Zoneminder:/media/storage/Zoneminder$ ls -l
total 8
drwxr-xr-x 5 www-data www-data 4096 Aug 25 13:37 Events
drwxr-xr-x 2 www-data www-data 4096 Aug 25 15:22 Images
user@Zoneminder:/media/storage/Zoneminder$ cd Images/
user@Zoneminder:/media/storage/Zoneminder/Images$ ls
Zones1.jpg Zones3.jpg
user@Zoneminder:/media/storage/Zoneminder/Images$
Re: Zones image preview blank
Posted: Tue Aug 25, 2015 8:47 pm
by aaronl
tail your syslog file while you open that page, see if it gives you any clues.
Aaron
Re: Zones image preview blank
Posted: Tue Aug 25, 2015 8:59 pm
by elmer
This message hits the syslog as soon as I click "Add New Zone."
Code: Select all
Aug 25 15:58:46 Zoneminder zmu[3187]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results for monitor Monitor-1]
Re: Zones image preview blank
Posted: Wed Aug 26, 2015 9:34 pm
by l80jas
Have you added a new hard drive to store events / images ?
If so check the permissions on the new drive.
Re: Zones image preview blank
Posted: Wed Aug 26, 2015 10:18 pm
by bbunge
Re: Zones image preview blank
Posted: Wed Aug 26, 2015 11:14 pm
by elmer
This is a new install. Yes I used that exact guide when setting it up. I suspected folder permissions could be the issue which is why I included the output of ls -l in my original post. I don't have a known good system to compare to. The system I had running was for my previous employer and I'm now trying to demo it at my current employer.
My Events and Images directories are on a separate drive. I created an fstab entry to mount /dev/sdb1 at /media/storage and created a subfolder Zoneminder with Events and Images subfolders below that. I ran:
Code: Select all
sudo chown -R www-data:www-data /media/storage/Zoneminder/Events
Code: Select all
sudo chown -R www-data:www-data /media/storage/Zoneminder/Images
Then under the Options -> Paths I entered those paths for Events and Images.
I'm aware of this guide:
http://www.zoneminder.com/wiki/index.ph ... Hard_Drive
I could create mount points for each folder if that'd help. But zoneminder is able to write out events and is properly updating the % of disk used as well.
Re: Zones image preview blank
Posted: Thu Aug 27, 2015 5:40 pm
by bbunge
You may find it easier to set Ubuntu up an a single hard drive with LVM. Especially for a demo machine. That way you can add additional drives on the fly to increase storage.
bb