When i add/del/add a monitor the monitor id is ever increasing (1, 2, 3...) even though the ids are free after deleting the previous monitor. If you do this some time you'll get some weird numbering in the console (2x cameras, ids 2 + 6 for example). Is it possible to get back to id 1 or the last free id (when adding a new camera)?
Or am i missing something to flush/purge properly?
Ever-increasing monitor ids?
Re: Ever-increasing monitor ids?
Nope. Just the way it works. To avoid this just disable a monitor you no longer want and reuse it for the next camera. Easy enough to delete its old events.
Re: Ever-increasing monitor ids?
Ok, thanks for the feedback.
Re: Ever-increasing monitor ids?
There is actually a case to be made for re-using id's. The multi-port case. It is annoying to have to keep allocating ports as the id #'s go up. I have made a few modifications to ease re-using id's, expect more in 1.35.
Re: Ever-increasing monitor ids?
Ha!
Just spent the better part of an hour trying to setup a new camera that was throwing
turns out that i didn't add the new port to the webserver (nginx in my case)
+1 on implementing this, because I am now skipping several ports due to my troubleshooting.
Just spent the better part of an hour trying to setup a new camera that was throwing
Code: Select all
PHP message: ERR [Socket /run/zoneminder/zms-956776s.sock does not exist
+1 on implementing this, because I am now skipping several ports due to my troubleshooting.
Re: Ever-increasing monitor ids?
May also be worth adding here:
https://zoneminder.readthedocs.io/en/la ... window-etc
Would have saved me an hour and kept me from banging my head against the desk
https://zoneminder.readthedocs.io/en/la ... window-etc
Would have saved me an hour and kept me from banging my head against the desk