Page 1 of 1

relocating events & images directories

Posted: Sat Jun 11, 2011 2:40 pm
by themagicm
on my server my events and images are stored in /srv/www/htdocs/zm/events and /srv/www/htdocs/zm/images.

I did the ln -s /usr/zm/events, ln -s /usr/zm/images... even a chmod on /usr/zm/events and images. For some reason, I get nothing. When an event records, I click on frames and no picture shows up. Any clues?

Re: relocating events & images directories

Posted: Sat Jun 11, 2011 7:10 pm
by Mad Professor
I can't help you with your problem.

But it sounds like you are trying to do the same sort of thing as me.

Here is my post: Recording outside of working directory

Re: relocating events & images directories

Posted: Sun Jun 12, 2011 8:08 am
by Flasheart
The subject is answered in the faw here; http://www.zoneminder.com/wiki/index.ph ... Hard_Drive

If apache isn't finding the images, you can generaly find out where it's looking by checking apache's error_log for the 404's.

From that, the easiest solution is to create softlinks to zm events directory that match what apache is looking for.

Or you can amend apache's dir so that the aliases are right.