Page 1 of 1

Events won't display

Posted: Sun Aug 16, 2009 7:42 pm
by chenko
Modetect is recording, and storing images in its folders.

But nothing is being displayed in the Events view.

/var/log/messages

Code: Select all

Aug 16 20:15:04 gentoo zms[4779]: ERR [Can't open /var/www/localhost/htdocs//mnt/hdd/zoneminder/events//1/09/08/16/19/59/27/001-capture.jpg: No such file or directory]

This is because in the configuration I have /mnt/hdd/zoneminder/events/ set.

How am I supposed to have apache load the images from events in a different folder? symlink? I know I could fix it by doing that, but would rather do what is "normal" if symlinking isn't...

Posted: Sun Aug 16, 2009 11:35 pm
by cordel
You can either symlink to it or alias it in apache.

Posted: Thu Aug 20, 2009 9:36 pm
by chenko
Did that, symlink. Pointed ZM back to "events" and made a symlink from there to my mount for the other HDD. For now my setup is broken again (won't record), but I think that is just permissions.


The option for the path, shouldn't it say somewhere that it needs to be relative to the zm apache root?

(Or maybe even modify the alias automatically?)

Posted: Sat Aug 22, 2009 4:55 am
by cordel
chenko wrote:Did that, symlink. Pointed ZM back to "events" and made a symlink from there to my mount for the other HDD. For now my setup is broken again (won't record), but I think that is just permissions.


The option for the path, shouldn't it say somewhere that it needs to be relative to the zm apache root?

(Or maybe even modify the alias automatically?)
Yes it probably should say that it needs to be relative to the apache root for those that don't better understand apache.

Check and mack sure you have the directive in apache to allow following symlinks if your are not going to alias the directory in apache.

Posted: Sat Aug 22, 2009 6:58 am
by chenko
I'd forgotten that apache won't follow symlinks, which is probably my issue.

I'm going to go for an alias now instead, easier to maintain.