dyker Posted August 26, 2018 Share Posted August 26, 2018 (edited) Thank you, - Attached. Edited August 26, 2018 by dyker Quote Link to comment
dlandon Posted August 26, 2018 Author Share Posted August 26, 2018 26 minutes ago, dyker said: Thank you, - Attached. vdunraid-diagnostics-20180826-1156.zip Looks like you've already assigned port 8080 to another Docker. time="2018-08-26T08:38:47.972990546-04:00" level=error msg="Handler for POST /containers/7a70384e6a06/start returned error: driver failed programming external connectivity on endpoint Zoneminder (24487fc46c84941c42341d099e0881241a3f454247236887121ec6575eeb1a3a): Error starting userland proxy: listen tcp 0.0.0.0:8080: bind: address already in use" I would assign Zoneminder its own IP address. Quote Link to comment
dyker Posted August 26, 2018 Share Posted August 26, 2018 Cool thanks for your help. Working now. Used different port. Appreciate your help. Quote Link to comment
jmonteiro Posted September 7, 2018 Share Posted September 7, 2018 (edited) dlandon, Any chance you can get your docker file updated to allow ZoneMinder to run on nginx instead of Apache? I got it working on a Ubuntu VM by following the instructions here. It was pretty easy to do but I have no experience with Docker, so it might be much harder. The reason I would like it running on nginx is to have it on a reverse proxy - using letsencrypt and sharing the SSL certificate. Thanks, Jorge Edited September 7, 2018 by jmonteiro Quote Link to comment
dlandon Posted September 8, 2018 Author Share Posted September 8, 2018 15 hours ago, jmonteiro said: dlandon, Any chance you can get your docker file updated to allow ZoneMinder to run on nginx instead of Apache? I got it working on a Ubuntu VM by following the instructions here. It was pretty easy to do but I have no experience with Docker, so it might be much harder. The reason I would like it running on nginx is to have it on a reverse proxy - using letsencrypt and sharing the SSL certificate. Thanks, Jorge No. I have no interest in doing that. Quote Link to comment
jmonteiro Posted September 8, 2018 Share Posted September 8, 2018 1 hour ago, dlandon said: No. I have no interest in doing that. I might try it myself Thank you Quote Link to comment
dlandon Posted September 13, 2018 Author Share Posted September 13, 2018 I realize that Zoneminder 1.32.0 has been released and I will eventually update the Docker for this new release. Please don't try to lobby me to update the Docker right away. I won't update it for a while for the following reasons: I need an official package available in the repository I am using to install Zoneminder. I don't intend to build it from source. I want version 1.32.0 to be stable and will give it time for all the issues to be worked out. I will need to build a Docker and test the latest version. Zoneminder has been a real challenge to update in place in a Docker and I have to work through that. There are some changes in the configuration in the latest version and I have to understand how all that works. I don't want anyone's Docker to fail after updating. I need to find the time to do this work. This is done in my spare time. Apparently no one feels this Docker is valuable enough to contribute towards my efforts, so I will work on it when I get to it. I don't expect to have the Docker updated for several months. 3 Quote Link to comment
dlandon Posted October 8, 2018 Author Share Posted October 8, 2018 (edited) There is an update to the Zoneminder Docker. This is still version 1.30.4. I will be working on 1.32 soon. The update included: zmeventnotification updated to v1.6. The zmeventnotification.ini appears to be updated on each release. The zmeventnotification.ini file will be copied to the /config/ directory on every update of the docker. If you make any changes to the zmeventnotification.ini file, you'll need to make those changes after a docker update. Changes to Apache server for better security. If you have a problem with the Zoneminder webpage, clear your browser cache as the old settings will prevent the web page from showing up. You may get a php file display instead of the Zoneminder webpage. Edited October 8, 2018 by dlandon 2 Quote Link to comment
thegizzard Posted October 8, 2018 Share Posted October 8, 2018 2 hours ago, dlandon said: There is an update to the Zoneminder Docker. This is still version 1.30.4. I will be working on 1.32 soon. The update included: zmeventnotification updated to v1.6. The zmeventnotification.ini appears to be updated on each release. The zmeventnotification.ini file will be copied to the /config/ directory on every update of the docker. If you make any changes to the zmeventnotification.ini file, you'll need to make those changes after a docker update. Changes to Apache server for better security. If you have a problem with the Zoneminder webpage, clear your browser cache as the old settings will prevent the web page from showing up. You may get a php file display instead of the Zoneminder webpage. Thanks dlandon. Your efforts are much appreciated. Donation Sent! Quote Link to comment
dlandon Posted October 9, 2018 Author Share Posted October 9, 2018 (edited) Zoneminder has to be the most difficult software implementation I have ever worked on. The repository for 1.30 has moved, and the package has been modified so I've had to rework the docker so I could make a few changes. Changes have been made to the apache configuration. The package maintainers need to stabilize the packages and not make changes to stable versions. I should be able to update the docker and not have to make changes to accommodate changes to the package implementation. I've been struggling with the event notifications. I believe there are some issues with the Google FCM server right now. Event notification works, then doesn't while I'm trying to work on the docker. I'll give it a few days and then see if I can successfully update to zmeventnotifications to 1.6. It was working and then stopped. This was my bad. I forwarded port 9000 on my router to the wrong place. I've started the 1.32 implementation, and as I suspected, it will take me a while to work through the issues. I have it working and can see images live from my cameras, but I can't record events. I'll work on it as I get time. EDIT: I think I have 1.32 working now. I will do some live testing over the next few days. Edited October 9, 2018 by dlandon Quote Link to comment
dlandon Posted October 10, 2018 Author Share Posted October 10, 2018 (edited) A new docker is available with Zoneminder 1.32. The major changes are: Update Zoneminder to version 1.32.1. Update php to 7.1. Update zmeventmonitor to 2.0. There are some notes on the 1.32 update in the first post that you should read about adjustments you need to make for 1.32. If you have a lot of events, the update might take a while. Be sure you have a backup. The update on my existing Zoneminder docker went without a hitch. Edited October 10, 2018 by dlandon Quote Link to comment
jmonteiro Posted October 10, 2018 Share Posted October 10, 2018 dlandon, I just upgraded to 1.32.1 and it worked amazingly well, no issues at all Thanks for the awesome work.. Regarding the reverse proxy I asked you for, I was able to use your ZM docker (with Apache) under my nginx reverse proxy, so now I only have one HTTPS port open, instead of 2 and I'm very happy PS: I just helped with your retirement :) Thanks, Jorge Quote Link to comment
dlandon Posted October 10, 2018 Author Share Posted October 10, 2018 23 minutes ago, jmonteiro said: dlandon, I just upgraded to 1.32.1 and it worked amazingly well, no issues at all Thanks for the awesome work.. Regarding the reverse proxy I asked you for, I was able to use your ZM docker (with Apache) under my nginx reverse proxy, so now I only have one HTTPS port open, instead of 2 and I'm very happy PS: I just helped with your retirement :) Thanks, Jorge Thank you. Glad to hear that you upgraded without issues. Quote Link to comment
RIzzaz Posted October 12, 2018 Share Posted October 12, 2018 I've upgraded too, Tried the H264 passthrough feature with audio, seems to all work well! Good work, threw you a donation. Quote Link to comment
sg14_96 Posted October 15, 2018 Share Posted October 15, 2018 ZoneMinde GUI does not show up for me. Quote Link to comment
dlandon Posted October 15, 2018 Author Share Posted October 15, 2018 1 hour ago, sg14_96 said: ZoneMinde GUI does not show up for me. I need more information than that to help you. New install or upgrade? Quote Link to comment
mgranger Posted October 16, 2018 Share Posted October 16, 2018 So i updated to the new 1.32.2 and now I am having issues with the images being blurry. The update before the new layout i didn't have any problems with the blurry images. Is there something that changed that is causing this? Quote Link to comment
dlandon Posted October 16, 2018 Author Share Posted October 16, 2018 Nothing in the docker should be causing this issue and I don't know of any issues with the latest version. You might want to confirm your camera resolution is set correctly. Quote Link to comment
mgranger Posted October 17, 2018 Share Posted October 17, 2018 (edited) On 10/16/2018 at 1:26 PM, dlandon said: Nothing in the docker should be causing this issue and I don't know of any issues with the latest version. You might want to confirm your camera resolution is set correctly. This is what I am seeing. I restart the docker and it seems to fix it for awhile but then it eventually goes to this or sometimes worse. This happens to all 4 of my cameras or sometimes just a portion of them. I have already increased the SHMEM to 60% (I have 32 GB on the system) Edited October 17, 2018 by mgranger Quote Link to comment
dlandon Posted October 17, 2018 Author Share Posted October 17, 2018 5 minutes ago, mgranger said: This is what I am seeing. I restart the docker and it seems to fix it for awhile but then it eventually goes to this or sometimes worse. This happens to all 4 of my cameras or sometimes just a portion of them. I have already increased the SHMEM to 60% (I have 32 GB on the system) On the zoneminder console, you should try to keep /dev/shm under 70%. I would run /dev/shm around 40 to 50% (This is the /dev/shm on the zoneminder console, not the SHMEM% setting in the docker xml). You might be taking too much memory for zoneminder and not leaving enough for Unraid. Try to cut it down. This looks like a processor loading problem. You may need to pin some CPUs to the zoneminder docker. Quote Link to comment
mgranger Posted October 17, 2018 Share Posted October 17, 2018 8 minutes ago, dlandon said: On the zoneminder console, you should try to keep /dev/shm under 70%. I would run /dev/shm around 40 to 50% (This is the /dev/shm on the zoneminder console, not the SHMEM% setting in the docker xml). You might be taking too much memory for zoneminder and not leaving enough for Unraid. Try to cut it down. This looks like a processor loading problem. You may need to pin some CPUs to the zoneminder docker. Ok i turned down the SHMEM% to 50% which was the default. My /dev/shm percent is hovering around 18% which seems good enough. I will try to pin some CPUs to zoneminder if I can figure it out. Quote Link to comment
dlandon Posted October 17, 2018 Author Share Posted October 17, 2018 13 minutes ago, mgranger said: Ok i turned down the SHMEM% to 50% which was the default. My /dev/shm percent is hovering around 18% which seems good enough. I will try to pin some CPUs to zoneminder if I can figure it out. Take the SHMEM% to 25. Zoneminder does not need that much shared memory. What version of Unraid are you on? 6.6 has a CPU pinning page so you can do it through the gui. Quote Link to comment
mgranger Posted October 17, 2018 Share Posted October 17, 2018 9 minutes ago, dlandon said: Take the SHMEM% to 25. Zoneminder does not need that much shared memory. What version of Unraid are you on? 6.6 has a CPU pinning page so you can do it through the gui. Ok i took the SHMEM% to 25 and pinned 2,6 and 3,7. (Yes i am on 6.6) My /dev/shm went up to 35% which makes sense since i lowered the SHMEM% but I am still seeing the same problem on my images. Quote Link to comment
mgranger Posted October 17, 2018 Share Posted October 17, 2018 Is there a way to go back to the old repository before 1.32? I was just going to see if going back helped fix the issue. Quote Link to comment
dlandon Posted October 17, 2018 Author Share Posted October 17, 2018 2 hours ago, mgranger said: Is there a way to go back to the old repository before 1.32? I was just going to see if going back helped fix the issue. No. Once the databases are updated, you can't go back. What frame rate is set on your cameras? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.