camera feed not diplaying in ZM firefox/chrome interface

Forum for questions and support relating to the 1.30.x releases only.
Locked
bilaly
Posts: 3
Joined: Thu Mar 16, 2017 9:35 am

camera feed not diplaying in ZM firefox/chrome interface

Post by bilaly »

Hi,

I recently installed ZoneMinder on an old laptop and configured my Amcrest ProHD IP2M-841B to work with it. When I try to view the feed in both firefox and chrome by clicking the Name of the monitor a window opens but no image is displayed. I can view the stills in the event log for when motion is detected and I can view the live camera feed from my Home Assistant Installation (using the ZoneMinder Camera component).

I feel that there must be something wrong with my browsers. I have tried deleting web cache etc and reinstalling the browsers but no luck.

Not sure what i can or should provide in terms of logs to help others assist me.
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: camera feed not diplaying in ZM firefox/chrome interface

Post by rockedge »

check the Apache configuration that the alias for /cgi-bin is correct.
check the paths for /cgi-bin in Options->Paths->PATH_ZMS.
This sounds like the streaming components aren't being engaged.
bilaly
Posts: 3
Joined: Thu Mar 16, 2017 9:35 am

Re: camera feed not diplaying in ZM firefox/chrome interface

Post by bilaly »

thanks for the reply..
i checked /etc/apache2/conf-enabled/zoneminder.conf
and found:
ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
<Directory "/usr/lib/zoneminder/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
Require all granted
</Directory>

Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
Options Indexes FollowSymLinks
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>

<Directory /usr/share/zoneminder/www/api>
AllowOverride All
</Directory>


Under Options->Paths->PATH_ZMS: PATH_ZMS = /cgi-bin/nph-zms

This looks right according to the docs in the ubuntu installation section 'Socket_sendto or no live streaming'
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: camera feed not diplaying in ZM firefox/chrome interface

Post by knight-of-ni »

bilaly wrote: Under Options->Paths->PATH_ZMS: PATH_ZMS = /cgi-bin/nph-zms

This looks right according to the docs in the ubuntu installation section 'Socket_sendto or no live streaming'
I assume you are you are referring to this?
http://zoneminder.readthedocs.io/en/sta ... -streaming

Might want to look at it again because your PATH_ZMS is not set correctly. You are missing /zm.

When installing zoneminder on Ubuntu, follow the "Easy way" documentation in the wiki. It steps you through everything needed to get zoneminder working properly, including the proper value for PATH_ZMS.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: camera feed not diplaying in ZM firefox/chrome interface

Post by bbunge »

https://wiki.zoneminder.com/Ubuntu

IMPORTANT FINAL STEP: open Zoneminder in a web browser (http://server-ip/zm). Click on Options - Paths and change PATH_ZMS to

/zm/cgi-bin/nph-zms

Click the SAVE button
bilaly
Posts: 3
Joined: Thu Mar 16, 2017 9:35 am

Re: camera feed not diplaying in ZM firefox/chrome interface

Post by bilaly »

haha wow my apologies I feel like an idiot. thanks a bunch worked like a treat. can't believe i missed the /zm
Locked