Events won't display

Forum for questions and support relating to the 1.24.x releases only.
Locked
chenko
Posts: 25
Joined: Mon Jan 15, 2007 6:24 pm

Events won't display

Post 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...
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

You can either symlink to it or alias it in apache.
chenko
Posts: 25
Joined: Mon Jan 15, 2007 6:24 pm

Post 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?)
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
chenko
Posts: 25
Joined: Mon Jan 15, 2007 6:24 pm

Post 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.
Locked