Page 1 of 1

[SOLVED] Viewing recorded and outsourced streams in Firefox

Posted: Thu Sep 02, 2010 6:42 pm
by Raymondo
Hello,

in "options" --> "paths" I changed DIR_EVENTS from "events" to "/media/[name_of_storage]/events" to outsource the images done by zoneminder on an exteral storage.

When zoneminder performs an "event" I can see the live stream. But when I want to open recorded images or streams nothing happens, although the images are existing on the external storage.

To test i if the standard parameter works, I set the DIR_EVENTS back to "events" and everything is okay.

How can this problem be solved?

Regards

Ray

Posted: Thu Sep 02, 2010 8:05 pm
by Raymondo
Ok, after googling a long time I got the advice to create a symlink.

I renamed the folder event in /var/cache/zoneminder/ to event_old,
opened a terminal and wrote:

Code: Select all

ln -s  /media/zone/events /var/cache/zoneminder/
But the problem is still there. I can't open streams from the external HDD with Firefox. :(

Regards

Ray

Posted: Fri Sep 03, 2010 3:23 pm
by Raymondo
Ok, when the symlink is set, the entry in DIR_EVENTS has to be "events" and NOT "/media/zone/events"

Now it works fine.

Regards

Ray

Posted: Sun Sep 05, 2010 2:54 pm
by mseco
that is a nice workaroung. I have the same problem and I looked in the /var/log/messages and it gives this message:

Code: Select all

 zms[31136]: ERR [Can't open /usr/share/zoneminder/www//mnt/SmallVille1/recording/1/1064/001-capture.jpg: No such file or directory]
It's a bug in the application code. It expects a relative path to the instalation dir:/usr/share/zoneminder/www/

I will use the workaround until it's fixed.