zmNinja config problem

Discussion topics related to mobile applications and ZoneMinder Event Server (including machine learning)
Post Reply
HarryB
Posts: 9
Joined: Wed Aug 31, 2016 2:12 am

zmNinja config problem

Post by HarryB »

I have a new install of zm 1.30.0 running on fedora 23 on a raspberry pi 3B. Video streaming is working on the zm console. I have configured zmNinja to access the wan side. zmNinja authenticates without throwing errors. I can access various zm console settings and can see the settings on the monitors. However, I get the red question mark when trying to access the video stream from the enabled monitor. php-gd is installed. The API tests all green. I attempted to configure fresh with the wizard, but it failed at the login to the portal even though I am using the same credentials that work when configured manually. I reviewed the log file, but don't see any error.

Please advise.
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: zmNinja config problem

Post by asker »

1. Can you please post an image of your zmNinja settings screen?
2. You said you configured ZMNinja for WAN --> can you validate WAN works from your desktop browser as well (not LAN)?
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
HarryB
Posts: 9
Joined: Wed Aug 31, 2016 2:12 am

Re: zmNinja config problem

Post by HarryB »

#2. Accessing the Wan side from a browser, I find that I can get to the console and can get streaming video successfully from the console or the montage page, for example.

#1. These are the values on my zmNinja settings screen:
Server Name: Zm1
Use ZM authentication [checked]
user name: admin
password: **********

ZM portal url: https://<ddns name>:9110/zm
path to cgi-bin: https://<ddns name>:9110/zm/cgi-bin-zm/nph-zms
ZM api url: https://<ddns name>:9110/zm/api

Fallback configuration >
Event server >
password protect [unchecked]
Use SSL [checked]
Keep display on [checked]
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: zmNinja config problem

Post by asker »

Your cgi-bin is wrong. Did you use the wizard?

replace

Code: Select all

path to cgi-bin: https://<ddns name>:9110/zm/cgi-bin-zm/nph-zms
with

Code: Select all

path to cgi-bin: https://<ddns name>:9110/zm/cgi-bin-zm/
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
HarryB
Posts: 9
Joined: Wed Aug 31, 2016 2:12 am

Re: zmNinja config problem

Post by HarryB »

zm/cgi-bin-zm/ doesn't work. I tried the wizard which sets the cgi path to ...<port>/cgi-bin-zm. But that doesn't work either. I always get the red question mark.
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: zmNinja config problem

Post by asker »

1. What is PATH_ZMS set to in ZoneMinder ?
2. When you are viewing live view, please see apache error logs in your ZM instance - what error is it showing? Please post logs.
3. If all fails, please see if I can get access to your instance - even one monitor will do
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
HarryB
Posts: 9
Joined: Wed Aug 31, 2016 2:12 am

Re: zmNinja config problem

Post by HarryB »

zmNinja just started working for the first time. I haven't changed anything on the zm machine in the past few days except related to ssh. Did make some changes on the router that should not have affected zmNinja or zm. So, I am a little baffled, but I'll take it.

Thanks a lot for your support. The app looks terrific by the way.
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: zmNinja config problem

Post by asker »

Cool - Glad you got it working!
Please make sure you keep auto-update on. You'll get amazing updates (and occasionally updates that completely break all working functions - what's life if we are not living on the edge?)

Do leave a review on play store if you feel like it.
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Post Reply