ZoneMinder / zmNinja

High performance, cross platform ionic app for Home/Commerical Security Surveillance using ZoneMinder
http://zmninja.zoneminder.com
Other
1.02k stars 271 forks source link

zmNinja incorrectly reports invalid API #537

Closed MelanieT closed 7 years ago

MelanieT commented 7 years ago

After a hard disk crash on the zoneminder server, which happened while zmNinja was running in monatge mode, zmNinja would consistently report an invalid API.

All zoneminder API setup is correct and tested.

zmNinja was terminated and restarted. The invalid API message persisted.

I solved it by swiping right (not very intuitive on desktop!) and selecting Montage. That solved it and the error has not recurred across restarts of app or server.

Leaving this info here to aid in improving the FAQ as I don't see a way to repro or fix this in code, but I believe the FAQ should tell people to try this.

pliablepixels commented 7 years ago

Are you on 1.30.4 of ZM by any chance?

MelanieT commented 7 years ago

Yes I am.

pliablepixels commented 7 years ago

Yup then its a confirmed bug. Short answer - ZM 1.30.4 and beyond removed 'PATH_ZMS' from the config database, and my app reported an error if it was not found. I fixed it recently. Can you try 1.2.44 and let me know https://drive.google.com/open?id=0Bx0iW5j5f3AQNzl4ZGlSLXEwZ0E