Zoneminder api not working. bbunge Set function from API does not work.

deb the webpages display but the api doesn't work. 32. Very often, I’ve seen folks doing API tests on the same server ZM is running on and then face issues (mostly due to network Nov 5, 2021 · Re: Event Server Object Detection not working. The normal zoneminder web interface is working fine and I'm not getting any errors in the zoneminder log. I am Dec 9, 2014 · There are two (3) reasons why not to use linked monitors: 1) Modect/nodect doesn't always detect events (main reason). json is missing Post by misterandres » Tue Jul 26, 2016 4:06 am Thank you very much SteveGilvarry, Once that you told me that they were generated on the fly I was able to rest the case of searching for the missing file. The version of zmNinja you are reporting: 1. databoy2k Posts: 28 Sep 22, 2015 · I was able to get this to work on Ubuntu 15. It provides a RESTful service and supports CRUD (create, retrieve, update, delete) functions for Monitors, Events, Frames, Zones and Config. Please make sure your APIs are configured correctly. 04. I have the Zoneminder jail working, can access it via the URL and the streams are working, but the API is failing when trying to use the zmNinja app. conf and adding line: Oct 11, 2003 · I upgraded Fedora from 27 to 28 and the API has stopped working so zmNinja reports that it's authenticated but the API is not correctly configured. cnf. Rather than replacing it, I would like to get Zoneminder working in a jail. Sometimes 1 to 3 cameras would show a stream from the past, delayed up to a coupe of hours! Dec 9, 2014 · Re: API not working in 1. Enable debug mode. by tsp84 » Fri Nov 12, 2021 7:49 pm. 5 posts • Page 1 of 1. Nov 29, 2019 · Double checked this today (1. Running on a raspberry pi 4 model B 8GB on Ubuntu 20. Feb 6, 2016 · QUESTIONS Do these files need to have a different owner:group or execute permission? Or is there something I missed or need to check? Thanks in advance, So basics first. User is the default admin which has API access. Fix missing/corrupted pre-alarm frames in recording. 089 (ios) The version and OS of ZoneMinder you are using: 1. Post by asker » Tue Sep This is an interim procedure to install Zoneminder 1. The API page is green so that I've recently upgraded my zoneminder installation from Debian stretch stable with zoneminder 1. php on line 379 Warning: _cake_core_ cache was Jan 5, 2020 · I get stuck on the part where I’m suppose to test that the api is working, see below. 34. In the object options section of the objectconfig. Quite impressed with the new stability and smoothness of the setup. 4 API not working on FreeBSD Post by n8klayko » Mon Apr 30, 2018 2:07 am rockedge wrote: ↑ Fri Apr 27, 2018 4:07 pm In your Apache site-enabled configuration or the Apache conf-enabled zoneminder. Production Zoneminder 1. 30. x with a working api: I get stuck on the part where I’m suppose to test that the api is working, see below. ZoneMinder comes with APIs enabled. Am I missing something when installing, shouldn’t it work on a clean installation? I appreciate all surgeries that could help me ————- Dec 10, 2019 · It's pretty simple, install the plugin , mount your drive and done. Post by gverbist » Sat Aug 20, 2016 2:35 pm. Like AI, expect 90% but do not ever expect 100%. Zoneminder API not working . May 15, 2021 · This morning I upgraded my 1. So i've thought about converting my setup to this, and storage space isn't a concern at all. Speeds up zoneminder shutdown. The RPM is zoneminder-1. I can’t find a solution. json API and the other that logs in using the ZM portal. It doesn't mean we aren't going to help, but it does mean this is going to require a bit of questioning to get to the bottom of what is going on. The “old” approach will still work but is not as powerful as the API based login. Here are the commands I used: apt install nginx. Apr 25, 2018 · Re: Zoneminder 1. Jun 15, 2021 · If I use the zoneminder. I've been struggling with this issue for days, basically and Production Zoneminder 1. 34 to 1. 5 LTS; Describe the bug The Zoneminder API does not work correctly for alarm operations when using username/password authentication. 2 - Missing php plugin Apr 30, 2018 · Re: Zoneminder 1. Jun 6, 2022 · Discussions related to the 1. How you installed ZoneMinder: PPA; Full name and version of OS: Ubuntu 18. SkippyDo Posts: 221 Joined: Mon Nov 20, 2017 6:49 pm [SOLVED] API not working after Zoneminder, Nginx, API Not Working. Somehow my facial recognition stopped working and I was trying to figure out why. geraldbrandt. php; the issue seems to be located in line 338-349: If the monitor is switched into Monitor mode, zmc will be restarted BUT: zma is not stopped May 16, 2021 · This morning I upgraded my 1. conf that came with the . On the server it all works well. Re: API seems to be working but monitors. Then, you need to re-use the authentication information of the login (returned as cookie states) with subsequent APIs for the authentication information to flow through to the APIs. Am I missing something when installing, shouldn’t it work on a clean installation? I appreciate all surgeries that could help me ————- Aug 8, 2022 · I have API Enabled ticked in the API tab in options. uncomment that and also uncomment the section in ml_sequence that enables it inside the yolo sequence. Am I missing something when installing, shouldn’t it work on a clean installation? I appreciate all surgeries that could help me ————- Mar 10, 2015 · If you are developing an app that relies on the API, you need to do a POST login from the app into ZoneMinder before you can access the API. 4. This particular problem exists regardless of the value of debug . Quick links I'm trying to get the zm API working with OPT_USE_AUTH enabled. bbunge Set function from API does not work. Solved my "blue screen" issue described here I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. URL rewriting is not properly configured on your server. . 3. 4 on Ubuntu 17. 04 LTS on VmWare ESXi Joined: Sun Mar 01, 2015 12:12 pm. I'm running Zoneminder 1. 39 on a Puppy Linux Bionic (Ubuntu 18. yml or mlapiconfig. The API is yourserverip/cgi-bin. Hi all, I am new to ZoneMinder and have limited Linux experience. 04! Zoneminder, Nginx, API Not Working. Tap on the button below to read the instructions. When I try to view monitors live or montage I ain't got images. 37. Jul 6, 2024 · The challenge of all surveillance systems lies in its motion detection analysis (thus the 'zone' in zoneminder, being the motion detection zones). It sounds like the config above resolves your API issues, but is not allowing the CSS/Javascript to be read as well (that's my guess anyway - to check open Hope to get some time this weekend to put this in a usable form and will let the 17. 3). The configs are mostly defaults, I only changed the ZMS path from nph-zms to zms only, but as far as I can tell, Apache ScriptAlias directives don't overlap (what I've seen to be a common cause based on Github issues and forum posts), and the paths So basics first. conf and adding line: Re: Zoneminder 1. I don't believe the API portion is working, despite the fact I thought I had everything setup for it. 10. 34) need to be updated. I get stuck on the part where I’m suppose to test that the api is working, see below. Zoneminder 1. php. Forum for questions and support relating to the 1. 4 posts • Page 1 of 1 Mar 26, 2018 · ZOneminder 1. See: Understanding Zoneminder's Zoning system for Dummies. Operations fail silently. How this is handled in the web servers is there is a rewrite rule (not an alias this time) that takes anything that is /zm/api-whatever (the regex covers everything after /zm/api) and changes it to /zm/api/index. Apr 30, 2018 · Re: Zoneminder 1. 5), from the repo's (1. Jan 27, 2019 · Re: API not working after install on fresh Buster system Post by kitkat » Tue Dec 21, 2021 3:22 pm Make sure that overrides are enabled in the httpd/Apache config file - They aren't by default in my copy here on CentOS. You should be able to grab the latest Zoneminder API from Github. x releases only. The API page is green so that Code: Select all Warning: mkdir(): Permission denied in /usr/share/zoneminder/www/api/lib/Cake/Cache/Engine/FileEngine. I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. 4 to Debian buster testing with zoneminder 1. 21 (Connors PPA), CakePHP 2. I have had Zoneminder working on a Ubuntu VM, but after an update to the host, the VM will no longer boot. 2ghz. 4-7. Sep 10, 2017 · When I downloaded and went to use zmNinja, authentication is successful, but I get the screen saying "Invalid API, API access failed. 13 posts • Page 1 of 1. 04 binaries and is compatible) Hiawatha 10. At this stage, from what you posted, it does not appear you've got a standard install. 0+dfsg-1~bpo8+1). In an effort to further ‘open up’ ZoneMinder, an API was needed. x series of ZoneMinder. Mar 5, 2018 · , but if I'm running watch -n 1 ls -lah /var/run/zm, I can see the socket being created then destroyed, while . Upgrade seems to went well. 4 Ubuntu 16. May 10, 2018 · I managed to get api working fixing the following: 1- missing php package: apt install php7. json always getting a 401 Not Authorized response, but all other requests (like /api/monitors. I’ve tried to reinstall everything a few times, but I get the same result. You are better off to use Ubuntu 16. For the purpose of debugging this problem I have taken SSL out of Mar 16, 2017 · This issue is about api requests to /api/hosts/getVersion. To Reproduce Make an API request for the status of a monitor using username/password authentication. conf above the api works but the web page only displays text and if I use the zoneminder. Simple 3 steps: 1. Aug 26, 2016 · If you upgrade from 1. 64gb Ram - G. I'm moving it to ZM 1. 0-apcu service apache2 restart. Go to zmNinja->Menu->clear API cache, exit app and start again. 11 and PHP 7. The API is built in CakePHP and lives under the /api directory. Use individual settings Capturing, Analysing, Recording, etc. Apr 24, 2019 · Hello, I upgraded some software on my Ubuntu 18. 0 APIs, you have an additional option right below it: OPT_USE_LEGACY_API_AUTH which is enabled by default. Feb 2, 2015 · This is a question related to ZoneMinder - your APIs are not set up correctly. There is no need to preface this command with a login. 0 and above, it is strongly recommended you use the login. May 17, 2021 · This morning I upgraded my 1. " The button below takes you to these instructions which tell you how to validate if APIs are working (which Re: Zoneminder 1. It took me too long to work this out! The easiest way that I found to do this was to set the API into debug mode (once) and then back into production mode. . Aug 5, 2020 · I'm running zoneminder V1. Top. 2) HDD space is not that expensive (use passthrough though) 3) Linked monitors can sometimes not work. As you might have seen above, there are two ways to login, one that uses the login. 26 zoneminder to 1. Any help? Thanks. fc28. Mar 17, 2018 · Re: API not working with PHP 7. databoy2k Posts: 28 Mar 22, 2018 · The api appears to still work if I skip adding App::uses('AppController', 'Controller'); Can you confirm this? Went back to the original api and made the change to CakeObject. 04 server, and then tried logging into Zoneminder 1. 0. Mar 14, 2018 · Installed ZM 1. Likely, it did not work for original poster due to OPT_AUTH not enabled / user & pass setup, or otherwise installed incorrectly. On my Options -> System page, I have set OPT_USE_AUTH to enabled, AUTH_TYPE to builtin, AUTH_RELAY is hashed, AUTH_HASH_SECRET has a secret phrase created, AUTH_HASH_IPS is NOT enabled, AUTH_HASH_TTL is set to 2 hours, AUTH_HASH_LOGINS is enabled ZoneMinder, an Open Source Linux CCTV Video Surveillance System. databoy2k Posts: 28 Forum for questions and support relating to the 1. SAS to SATA Raid PCIE card. But I have no idea what an API is, and how to check. Everything is working, I can use all items/options through the website but when I use zmninja, things do not work anymore. apt install mariadb-server. 1) so there's no apache in my setup. Sep 14, 2019 · ZoneMinder Forums. 4 API not working on FreeBSD Post by rockedge » Tue Apr 24, 2018 3:03 pm Looking at my Zoneminder installation it looks like the path above "/var/log/zm" is mostly correct, but I do not have a /zm/ directory inside of my "/var/log" directory. Zoneminder, Nginx, API Not Working. Solved my "blue screen" issue described here ZOneminder 1. 36, the cached API models (from 1. ZOneminder 1. Skip to content. Oct 21, 2021 · So basics first. 7 PHP 7. I upgraded some software on my Ubuntu 18. ROG X470-F Gaming with 65w TDP AMD 2700 8 core 3. 04 LTS on VmWare ESXi 6 Cameras FOSCAM FI8918W OpenHab Integration. Make sure ZM APIs are working: Note 1: nginx users, if you are facing API issues, please see if this page helps) Note 2: It is important that you run the API tests from the device you plan to use zmNinja with. I have a problem I can't seem to figure out. The command above works, as long as you've installed ZM properly. Jan 12, 2022 · zmNinja streaming problems. Function is gone in 1. lock files fill up the directory. With the previous versions I had some weird issues: 1. I may respond on occasion based on my available time/interest. by iconnor » Thu Nov 16, 2023 5:15 pm. API not working. mysql_secure_installation. 1) Help me configure it 2) I don't / can't use URL rewriting I followed the instructions a second time on a fresh VM and had the same results. On my Options -> System page, I have set OPT_USE_AUTH to enabled, AUTH_TYPE to builtin, AUTH_RELAY is hashed, AUTH_HASH_SECRET has a secret phrase created, AUTH_HASH_IPS is NOT enabled, AUTH_HASH_TTL is set to 2 hours, AUTH_HASH_LOGINS is enabled I get stuck on the part where I’m suppose to test that the api is working, see below. Am I missing something when installing, shouldn’t it work on a clean installation? I appreciate all surgeries that could help me ————- Jan 16, 2024 · How this is handled in the web servers is there is a rewrite rule (not an alias this time) that takes anything that is /zm/api-whatever (the regex covers everything after /zm/api) and changes it to /zm/api/index. If you are running ZoneMinder 1. So turn off motion detection, set Analysing=None instead of Always. 10 server run for a while to see if it keeps running. I have ZM authentication setup and that's working fine. 4 under Ubuntu 17. Thanks for your reply Maximo1970! I finally got everything to work after many hours of testing different configurations. Hi, I'm trying to connect with zmNinja to my server where ZoneMinder is running in docker. ZM_OPT_USE_AUTH=1. To check if APIs are enabled, visit Options->System. json. May 16, 2021 · This morning I upgraded my 1. x86_64 from the RPM fusion repository. 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 Oct 19, 2021 · So basics first. 2 Post by knight-of-ni » Sat Mar 17, 2018 11:34 pm Maybe you have tried this already, but here is what I did on a system running zoneminder 1. by bioiq » Wed Jan 12, 2022 1:31 pm. This morning I upgraded my 1. Am I missing something when installing, shouldn’t it work on a clean installation? I appreciate all surgeries that could help me ————- I've recently upgraded my zoneminder installation from Debian stretch stable with zoneminder 1. Based on the forum posts below, I looked into MonitorsController. 31. 3. Hi Guys, I just started with ZoneMinder and trying to use API calls from my domotica system. ZoneMinder Forums. 3, Freenas plugin Platform zmNinja is running on IOS 13. For v2. 29 forums I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. Re: Set function from API does not work. everything is working with the zoneminder (record 3 cameras all the time ,with sound - work great!) now I'm trying to use API , I have done what it said in the guide URL rewriting is not properly configured on your server. Aug 13, 2019 · I have a problem I can't seem to figure out. 04 with Zoneminder from the master PPA and Debian 8. I created a issue on the zmninja github and from that it appears that the api is not working. 2 Aug 3, 2020 · If you don't have authentication enabled, please make sure you turn off authentication in zmNinja. Am I missing something when installing, shouldn’t it work on a clean installation? I appreciate all surgeries that could help me ————- Fixes [ #3510] Stop streams when clicking cancel/Save so that we don't log errors trying to access a dead zms. json) working perfectly. 47. 1 on iPhone Xs Describe the bu ZOneminder 1. 36. 32 afterwards, and I managed to break something that appears to be related to the API, and am unable to login without editing /etc/zm/zm. Zones have their gotchas, and you may want to consider ZMES. When switching over API (HomeAssistant), I see ZMA is not stopped when switching from Modect to Monitor mode. 16 on pi Buster OS. I tried both /api and /zm/api paths with cur/zmninja. Enabling API. If OPT_USE_API is enabled, your APIs are active. Aug 24, 2016 · It's been working out great for me, except for this small issue. 2 mariadb and ZM is working mostly. json approach. Can't Get API working . 29. Zoneminder packages from deb-multimedia repository. You do not have the required permissions to view the files attached to this post. Re: Zoneminder 1. Fixes [ #3643] Add a sleeping flag so that when we get sigterm, we can just exit instead of returning to the sleep. 0 on Debian Jessie (8. rm /etc/mysql/my. 10 Note: There have been several reports of things, like the API, not working with Zoneminder and Ubuntu 17. 2 with the api directory copied from the Ubuntu install. API commands can be called without logging in beforehand. conf and adding line: Code: Select all. Dec 5, 2016 · I test the zoneminder rpms in zmrepo weekly, and they all work out of the box, including the api. The API is failing due to Cakewalk having a name defintion of objects problem due to changes in definitions with PHP 7. yml (whichever is using your GPU) there is an option to use fp16. It's sitting behind a reverse proxy (for SSL offloading), both sides run nginx (1. So basics first. 10 Tried to install zmninja and says API not working. the api did not work with the original cakephp and crud. Forum rules. conf check that the correct actual paths and Alias for /cgi-bin/ are correct. This will allow quick integration with and development of ZoneMinder. Everything works as expected both locally on my LAN and via the reverse proxy. sudo -u www-data /var/lib/zmeventnotification/bin/zm Oct 2, 2011 · Zoneminder 1. Skill Ripjaws V (4 x 16GB) DDR4-3200 PC4-25600. ja bn pb bx aa pz tn ap de mf