_jonte Posted July 24, 2019 Share Posted July 24, 2019 On 7/20/2019 at 8:51 PM, _jonte said: @dlandon I suppose the easiest would be to start from scratch. But I would really like to keep/restore all my settings and configurations. How do I do that? I guess I should keep a few selected files/folders in appdata för that? Is this possible @dlandon? Quote Link to comment
dlandon Posted July 24, 2019 Author Share Posted July 24, 2019 29 minutes ago, _jonte said: Is this possible @dlandon? Your best bet is to get help with this from the Zoneminder forum. 1 Quote Link to comment
caballopazo Posted July 27, 2019 Share Posted July 27, 2019 good day everyone. i would need your help on an issue that occurred after i upgraded my asus router firmware and zoneminder docker. i had an issue with my ip's that i taught was related to the firmware on my router, but afterwards i notice it was tplink powerline adapter that made my network go down. after realizing the issue, i disconnected the tplink and all went back to normal for the exeption of zoneminder, i was getting unable to connect error. i did check update in unraid and there was a new docker update which brought me from 1.30.4 to 1.32.3... here's the issue: - i have two cameras running, but only 1 connects - i'm able to access both cameras throught their own gui ip address - at first not knowing the issue, i deleted the camera that was not connecting and it's database (captures) from the previous version, thinking a fresh re-install will get that camera connected back, no luck here's the log from zoneminder docker gui: 2019-07-27 07:40:14zmc_m36906ERRUnable to get response, disconnectingzm_remote_camera_http.cpp1096 2019-07-27 07:40:14zmc_m36906ERRUnable to read headerzm_remote_camera_http.cpp670 here's the log from unraid docker zoneminder : Jul 27 07:40:13 0dfec7332ad9 zmc_m3[6906]: ERR [zmc_m3] [Unable to read header] Jul 27 07:40:13 0dfec7332ad9 zmc_m3[6906]: ERR [zmc_m3] [Unable to get response, disconnecting] Jul 27 07:40:13 0dfec7332ad9 zmc_m3[6906]: INF [zmc_m3] [Return from Capture (-1), signal loss] Jul 27 07:40:13 0dfec7332ad9 zmc_m3[6906]: INF [zmc_m3] [Failed to capture image from monitor 3 outside front (1/1)] my set ups are exactly the same as my other camera, i even tried changing the IP address of the previous camera to a new one, in case zoneminder docker still keeps that ip address in its previous set ups. Quote Link to comment
caballopazo Posted July 29, 2019 Share Posted July 29, 2019 i found the issue, for those of you with foscam, new firmware 11.37.2.65, you need to add user, password on the path line. user:password@IPaddress all works well. Quote Link to comment
thegizzard Posted August 2, 2019 Share Posted August 2, 2019 (edited) On 5/2/2018 at 7:14 PM, dlandon said: You have to be more specific on what didn't work. Verify that the 'cron' file was loaded properly. You can check if your 'cron' file is being loaded by getting into the Zoneminder command line: docker exec -it Zoneminder bash Then type the following command: crontab -l You should see your cron entries. If not, troubleshoot the 'cron' file name and placement. Be sure you are using a Linux type editor to create the 'cron' file. If the 'cron file is loaded properly but still not doing what you want, check that you have created the events properly. You can test that on the command line of the docker: /usr/bin/zmpkg.pl Daytime This will put Zoneminder in the Daytime mode of operation. /usr/bin/zmpkg.pl Nightime This will put Zoneminder in the Nightime mode of operation. You'll have to consult the Zoneminder documentation on configuring these different modes. Does this work? I have a single file called cron It contains: # Daytime camera operation 0 8 * * * /usr/bin/zmpkg.pl Daytime # Nightime camera operation 0 20 * * * /usr/bin/zmpkg.pl Nighttime I restarted the zoneminder docker When i run the commands ... docker exec -it Zoneminder bash crontab -l It returns no crontab for root i dont think these commands were added to crontab and zoneminder has not switched modes. Any recommendations? I am not even sure I have cron on my system. I have never used it for anything else. Edited August 2, 2019 by thegizzard Quote Link to comment
thegizzard Posted August 5, 2019 Share Posted August 5, 2019 It looks like I do have cron, but no luck scheduling state changes from Daytime to Nighttime. Has anyone else gotten this to work with this docker?Sent from my SM-N950U using Tapatalk Quote Link to comment
dlandon Posted August 5, 2019 Author Share Posted August 5, 2019 3 hours ago, thegizzard said: It looks like I do have cron, but no luck scheduling state changes from Daytime to Nighttime. Has anyone else gotten this to work with this docker? Sent from my SM-N950U using Tapatalk Your cameras need to be set for the two states - 'Daytime' and 'Nightime'. Check the Zoneminder docs for how to set the camera states. Quote Link to comment
thegizzard Posted August 5, 2019 Share Posted August 5, 2019 Your cameras need to be set for the two states - 'Daytime' and 'Nightime'. Check the Zoneminder docs for how to set the camera states.Understood. I have 2 camera states. One used for Daytime and one for Nighttime. They are called Daytime and Nightime. I can change these manually in Zoneminder or zmNinja. What I cannot do is automate the changing of these states. The first post shows how to do it using the commands i quoted above, but it does not seem to work for me. Any suggestions?Sent from my SM-N950U using Tapatalk Quote Link to comment
dlandon Posted August 5, 2019 Author Share Posted August 5, 2019 11 minutes ago, thegizzard said: Understood. I have 2 camera states. One used for Daytime and one for Nighttime. They are called Daytime and Nightime. I can change these manually in Zoneminder or zmNinja. What I cannot do is automate the changing of these states. The first post shows how to do it using the commands i quoted above, but it does not seem to work for me. Any suggestions? Sent from my SM-N950U using Tapatalk Run the commands manually and see if the state changes. Quote Link to comment
thegizzard Posted August 5, 2019 Share Posted August 5, 2019 12 minutes ago, dlandon said: Run the commands manually and see if the state changes. Both commands work manually from the terminal. Below is from the log Aug 5 07:32:08 8a037a6782e7 zmpkg[3118]: INF [Command: Nightime] Aug 5 07:32:35 8a037a6782e7 zmpkg[3124]: INF [Command: Nighttime] Aug 5 07:32:35 8a037a6782e7 zmpkg[3124]: INF [Sanity checking States table...] Aug 5 07:32:35 8a037a6782e7 zmpkg[3124]: INF [Command: state] Aug 5 07:32:35 8a037a6782e7 zmpkg[3124]: INF [Updating DB: Nighttime] Aug 5 07:32:35 8a037a6782e7 zmpkg[3124]: INF [Marking Nighttime as Enabled] Aug 5 07:36:50 8a037a6782e7 zmpkg[3390]: INF [Command: Daytime] Aug 5 07:36:50 8a037a6782e7 zmpkg[3390]: INF [Sanity checking States table...] Aug 5 07:36:50 8a037a6782e7 zmpkg[3390]: INF [Command: state] Aug 5 07:36:50 8a037a6782e7 zmpkg[3390]: INF [Updating DB: Daytime] Aug 5 07:36:50 8a037a6782e7 zmpkg[3390]: INF [Marking Daytime as Enabled] But when I check for cron I get this result root@8a037a6782e7:/# crontab -l no crontab for root This is the contents of my 'cron' file in appdata/Zoneminnder/ # Daytime camera operation 0 8 * * * /usr/bin/zmpkg.pl Daytime # Nightime camera operation 0 20 * * * /usr/bin/zmpkg.pl Nighttime Could the problem be that I created that file with notepad on windows? just a guess. Quote Link to comment
dlandon Posted August 5, 2019 Author Share Posted August 5, 2019 5 minutes ago, thegizzard said: Both commands work manually from the terminal. Below is from the log Aug 5 07:32:08 8a037a6782e7 zmpkg[3118]: INF [Command: Nightime] Aug 5 07:32:35 8a037a6782e7 zmpkg[3124]: INF [Command: Nighttime] Aug 5 07:32:35 8a037a6782e7 zmpkg[3124]: INF [Sanity checking States table...] Aug 5 07:32:35 8a037a6782e7 zmpkg[3124]: INF [Command: state] Aug 5 07:32:35 8a037a6782e7 zmpkg[3124]: INF [Updating DB: Nighttime] Aug 5 07:32:35 8a037a6782e7 zmpkg[3124]: INF [Marking Nighttime as Enabled] Aug 5 07:36:50 8a037a6782e7 zmpkg[3390]: INF [Command: Daytime] Aug 5 07:36:50 8a037a6782e7 zmpkg[3390]: INF [Sanity checking States table...] Aug 5 07:36:50 8a037a6782e7 zmpkg[3390]: INF [Command: state] Aug 5 07:36:50 8a037a6782e7 zmpkg[3390]: INF [Updating DB: Daytime] Aug 5 07:36:50 8a037a6782e7 zmpkg[3390]: INF [Marking Daytime as Enabled] But when I check for cron I get this result root@8a037a6782e7:/# crontab -l no crontab for root This is the contents of my 'cron' file in appdata/Zoneminnder/ # Daytime camera operation 0 8 * * * /usr/bin/zmpkg.pl Daytime # Nightime camera operation 0 20 * * * /usr/bin/zmpkg.pl Nighttime Could the problem be that I created that file with notepad on windows? just a guess. Yes. The file has to be linux format. 1 Quote Link to comment
thegizzard Posted August 5, 2019 Share Posted August 5, 2019 33 minutes ago, dlandon said: Yes. The file has to be linux format. BOOM. That was it. Below is now the output from the terminal. root@GrimLock:~# docker exec -it Zoneminder bash root@8a037a6782e7:/# crontab -l # Daytime camera operation 0 8 * * * /usr/bin/zmpkg.pl Daytime # Nighttime camera operation 0 20 * * * /usr/bin/zmpkg.pl Nighttime root@8a037a6782e7:/# Awesome as always dlandon Quote Link to comment
Aiki Posted August 10, 2019 Share Posted August 10, 2019 Hi, thank you for the great docker image. I was wondering if anyone else managed to get the zmeventconnection working. I always stumble upon this error: Quote NAS> docker exec -it Zoneminder /bin/bash root@fe73fbab5b16:/# sudo chown -R www-data:www-data /var/lib/zmeventnotificatio n/ root@fe73fbab5b16:/# sudo -u www-data /usr/bin/detect_wrapper.sh 4 2 Traceback (most recent call last): File "/usr/lib/python3.5/urllib/request.py", line 1254, in do_open h.request(req.get_method(), req.selector, req.data, headers) File "/usr/lib/python3.5/http/client.py", line 1106, in request self._send_request(method, url, body, headers) File "/usr/lib/python3.5/http/client.py", line 1151, in _send_request self.endheaders(body) File "/usr/lib/python3.5/http/client.py", line 1102, in endheaders self._send_output(message_body) File "/usr/lib/python3.5/http/client.py", line 934, in _send_output self.send(msg) File "/usr/lib/python3.5/http/client.py", line 877, in send self.connect() File "/usr/lib/python3.5/http/client.py", line 1252, in connect super().connect() File "/usr/lib/python3.5/http/client.py", line 849, in connect (self.host,self.port), self.timeout, self.source_address) File "/usr/lib/python3.5/socket.py", line 711, in create_connection raise err File "/usr/lib/python3.5/socket.py", line 702, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/detect.py", line 75, in <module> filename1, filename2, filename1_bbox, filename2_bbox = utils.download_files( args) File "/usr/bin/zmes_hook_helpers/utils.py", line 128, in download_files input_file = opener.open(url) File "/usr/lib/python3.5/urllib/request.py", line 466, in open response = self._open(req, data) File "/usr/lib/python3.5/urllib/request.py", line 484, in _open '_open', req) File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain result = func(*args) File "/usr/lib/python3.5/urllib/request.py", line 1297, in https_open context=self._context, check_hostname=self._check_hostname) File "/usr/lib/python3.5/urllib/request.py", line 1256, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno 111] Connection refused> root@fe73fbab5b16:/# sudo -u www-data /usr/bin/detect_wrapper.sh 4 2 Traceback (most recent call last): File "/usr/lib/python3.5/urllib/request.py", line 1254, in do_open h.request(req.get_method(), req.selector, req.data, headers) File "/usr/lib/python3.5/http/client.py", line 1106, in request self._send_request(method, url, body, headers) File "/usr/lib/python3.5/http/client.py", line 1151, in _send_request self.endheaders(body) File "/usr/lib/python3.5/http/client.py", line 1102, in endheaders self._send_output(message_body) File "/usr/lib/python3.5/http/client.py", line 934, in _send_output self.send(msg) File "/usr/lib/python3.5/http/client.py", line 877, in send self.connect() File "/usr/lib/python3.5/http/client.py", line 1252, in connect super().connect() File "/usr/lib/python3.5/http/client.py", line 849, in connect (self.host,self.port), self.timeout, self.source_address) File "/usr/lib/python3.5/socket.py", line 711, in create_connection raise err File "/usr/lib/python3.5/socket.py", line 702, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/detect.py", line 75, in <module> filename1, filename2, filename1_bbox, filename2_bbox = utils.download_files(args) File "/usr/bin/zmes_hook_helpers/utils.py", line 128, in download_files input_file = opener.open(url) File "/usr/lib/python3.5/urllib/request.py", line 466, in open response = self._open(req, data) File "/usr/lib/python3.5/urllib/request.py", line 484, in _open '_open', req) File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain result = func(*args) File "/usr/lib/python3.5/urllib/request.py", line 1297, in https_open context=self._context, check_hostname=self._check_hostname) File "/usr/lib/python3.5/urllib/request.py", line 1256, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno 111] Connection refused> Anyone else had the same? And does somebody know a fix? Thanks in advance! Quote Link to comment
RavenMagic Posted August 14, 2019 Share Posted August 14, 2019 (edited) Hi, recently I've been having issues with my zm docker container not starting. The docker logs show me this: Quote *** Running /etc/my_init.d/20_apt_update.sh... Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB] Hit:2 http://ppa.launchpad.net/iconnor/zoneminder-1.32/ubuntu xenial InRelease Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB] Hit:5 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease Get:6 http://security.ubuntu.com/ubuntu xenial-security/main Sources [190 kB] Get:7 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [3518 B] Get:8 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [908 kB] Get:9 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] Get:10 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [575 kB] Get:11 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [6119 B] Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [429 kB] Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [327 kB] Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [9427 B] Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1304 kB] Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [983 kB] Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [19.1 kB] Fetched 5079 kB in 2s (2213 kB/s) Reading package lists... E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. *** /etc/my_init.d/20_apt_update.sh failed with status 100 *** Killing all processes... Aug 13 22:32:46 110950fb214d syslog-ng[15]: syslog-ng shutting down; version='3.5.6' any ideas what might be causing this? Thanks! Edited August 14, 2019 by RavenMagic Quote Link to comment
dlandon Posted August 14, 2019 Author Share Posted August 14, 2019 4 hours ago, RavenMagic said: Hi, recently I've been having issues with my zm docker container not starting. The docker logs show me this: any ideas what might be causing this? Thanks! Looks like an issue with the Ubuntu update and/or update server(s). Either force a docker image update, or remove the docker image and re-install. Quote Link to comment
thegizzard Posted August 14, 2019 Share Posted August 14, 2019 Does anyone have problems with MODECT recording a few seconds of gray screen instead of actual motion? It looks almost like signal loss but happens very frequently. I am getting a lot of junk on my disk. I've searched the zone minder docs and forums and can't find a reference to this. I am using amcrest cams. Sent from my SM-N950U using Tapatalk Quote Link to comment
RavenMagic Posted August 15, 2019 Share Posted August 15, 2019 18 hours ago, dlandon said: Looks like an issue with the Ubuntu update and/or update server(s). Either force a docker image update, or remove the docker image and re-install. Okay Thanks! I ended up removing and re-installing and it came back perfectly - even all the settings. Thanks! Quote Link to comment
mraneri Posted August 15, 2019 Share Posted August 15, 2019 I was wondering if anyone could shed some light on my issue. I have tried installing this docker many times, but it always fails setting up the database and apache server. You should consider upgrading via the 'pip install --upgrade pip' command. Traceback (most recent call last): File "/usr/bin/setup.py", line 22, in <module> with open(os.path.join(here, 'README.md'), encoding='utf-8') as f: FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/README.md' Hook processing installed Starting services... * Starting MariaDB database server mysqld Successfully installed Click-7.0 Pillow-6.1.0 dlib-19.17.0 face-recognition-1.2.3 face-recognition-models-0.3.0 You are using pip version 8.1.1, however version 19.2.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Traceback (most recent call last): File "/usr/bin/setup.py", line 22, in <module> with open(os.path.join(here, 'README.md'), encoding='utf-8') as f: FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/README.md' Hook processing installed Starting services... * Starting MariaDB database server mysqld ...fail! DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117. Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166. Compilation failed in require at /usr/bin/zmupdate.pl line 71. BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 71. DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117. Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166. Compilation failed in require at /usr/bin/zmupdate.pl line 71. BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 71. * Starting Apache httpd web server apache2 * Starting ZoneMinder: DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117. Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166. Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33. Compilation failed in require at /usr/bin/zmpkg.pl line 34. BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34. ZoneMinder failed to start *** /etc/my_init.d/40_firstrun.sh failed with status 255 *** Killing all processes... Aug 15 10:46:46 5aa53986dce0 syslog-ng[32]: syslog-ng shutting down; version='3.5.6' Quote Link to comment
dlandon Posted August 15, 2019 Author Share Posted August 15, 2019 1 hour ago, mraneri said: I was wondering if anyone could shed some light on my issue. I have tried installing this docker many times, but it always fails setting up the database and apache server. You should consider upgrading via the 'pip install --upgrade pip' command. Traceback (most recent call last): File "/usr/bin/setup.py", line 22, in <module> with open(os.path.join(here, 'README.md'), encoding='utf-8') as f: FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/README.md' Hook processing installed Starting services... * Starting MariaDB database server mysqld Successfully installed Click-7.0 Pillow-6.1.0 dlib-19.17.0 face-recognition-1.2.3 face-recognition-models-0.3.0 You are using pip version 8.1.1, however version 19.2.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Traceback (most recent call last): File "/usr/bin/setup.py", line 22, in <module> with open(os.path.join(here, 'README.md'), encoding='utf-8') as f: FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/README.md' Hook processing installed Starting services... * Starting MariaDB database server mysqld ...fail! DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117. Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166. Compilation failed in require at /usr/bin/zmupdate.pl line 71. BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 71. DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117. Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166. Compilation failed in require at /usr/bin/zmupdate.pl line 71. BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 71. * Starting Apache httpd web server apache2 * Starting ZoneMinder: DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117. Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166. Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33. Compilation failed in require at /usr/bin/zmpkg.pl line 34. BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34. ZoneMinder failed to start *** /etc/my_init.d/40_firstrun.sh failed with status 255 *** Killing all processes... Aug 15 10:46:46 5aa53986dce0 syslog-ng[32]: syslog-ng shutting down; version='3.5.6' Remove the appdata/Zoneminder folder and re-install with the default settings. Don't install hook processing until the docker is up and running. Also post your diagnostics. Quote Link to comment
mraneri Posted August 15, 2019 Share Posted August 15, 2019 14 minutes ago, dlandon said: Remove the appdata/Zoneminder folder and re-install with the default settings. Don't install hook processing until the docker is up and running. Also post your diagnostics. Removed the Docker, deleted everything related to Zoneminder, fresh install with everything set to defaults. Same issue with MariaDB and Apache failing. tower-diagnostics-20190815-1624.zip log.txt Quote Link to comment
Strats Posted August 17, 2019 Share Posted August 17, 2019 (edited) Murphy's Law: As shortly after posting this comment I was able to access the WebUI with the changes I had made below. Looks like my question is solved. Moving on to learn how to set up cameras now. Original post: I am having a problem with reaching Zoneminder in Chrome when i click on the WebUI. I am on current version of CA and Zoneminder and 6.7.2 unraid. I removed Zoneminder and grabbed the current one from CA this evening too. I have changed the IP address and changed the port to 443 and get the page can't be reached after making those adjustments. What else do I need to tweak? Thanks. Edited August 17, 2019 by Strats resolved question Quote Link to comment
mraneri Posted August 17, 2019 Share Posted August 17, 2019 On 8/15/2019 at 12:34 PM, mraneri said: Removed the Docker, deleted everything related to Zoneminder, fresh install with everything set to defaults. Same issue with MariaDB and Apache failing. tower-diagnostics-20190815-1624.zip 107.63 kB · 1 download log.txt 16.72 kB · 1 download I am assuming it's an issue with permissions? I just don't know how to remedy that with the docker install. Quote Link to comment
dlandon Posted August 17, 2019 Author Share Posted August 17, 2019 2 hours ago, mraneri said: I am assuming it's an issue with permissions? I just don't know how to remedy that with the docker install. I don't think so. I looked at your diagnostics and see nothing that could be a problem. Why don't you stop all your other dockers and try to install Zoneminder by itself? Quote Link to comment
Living Legend Posted August 28, 2019 Share Posted August 28, 2019 (edited) I have a question on what the optimal way to handle saving/filtering through two camera's JPG and MP4 outputs. I'm currently running two cameras. In my ideal scenario, the cameras would be recording using the H264 camera passthrough 24/7. These recordings would be maintained for 24-48 and then deleted. Additionally, I would like an image saved once an hour per camera. These will never be deleted. What would be the optimal way to do this regarding minimizing server resources? I was able to set up JPGs and MP4s to save from the same camera feed to the same event folder. The problem was I could not figure out how bifurcate images/videos from the event folder via filter. It was an all or nothing proposition. If I wanted to delete beyond 24 hours, I lost the pictures too. If I wanted to keep beyond 24 hours, I was forced to keep all videos. The next option seems to be to set up 2 feeds for each camera, one responsible for images, one responsible for video. The video feed will use the filter to delete the event folders > 24 hours old while the image feed will remain untouched. I hesitated to do this as I assumed it would be more resource intensive. Any suggestions on the best way to accomplish this? Edited August 28, 2019 by Living Legend Quote Link to comment
Ramiii Posted August 28, 2019 Share Posted August 28, 2019 I have an issue with zone minder , whenever I start/restart the container it keeps updating files then it fails then runs the container , it takes around 20 minutes . I get this *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh... *** Running /etc/my_init.d/05_set_the_time.sh... Setting the timezone to : Africa/Cairo Current default time zone: 'Africa/Cairo' Local time is now: Mon Aug 26 22:33:43 EET 2019. Universal Time is now: Mon Aug 26 20:33:43 UTC 2019. Date: Mon Aug 26 22:33:43 EET 2019 *** Running /etc/my_init.d/06_set_php_time.sh... *** Running /etc/my_init.d/10_syslog-ng.init... Aug 26 22:33:44 010e2578b757 syslog-ng[33]: syslog-ng starting up; version='3.5.6' Aug 26 22:33:44 010e2578b757 syslog-ng[33]: EOF on control channel, closing connection; *** Running /etc/my_init.d/20_apt_update.sh... Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB] Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease Hit:3 http://ppa.launchpad.net/iconnor/zoneminder-1.32/ubuntu xenial InRelease Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB] Get:5 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease [23.9 kB] Get:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] Get:7 http://security.ubuntu.com/ubuntu xenial-security/main Sources [192 kB] Get:8 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 Packages [68.5 kB] Get:9 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [136 kB] Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [429 kB] Get:11 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [3518 B] Get:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [924 kB] Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [328 kB] Get:14 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [579 kB] Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [9427 B] Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1304 kB] Get:17 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [6119 B] Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [983 kB] Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [19.1 kB] Get:20 http://archive.ubuntu.com/ubuntu xenial-backports/universe Sources [7665 B] Get:21 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [8807 B] Fetched 5347 kB in 5s (897 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: dh-python dpkg libapache2-mod-php7.1 libgd3 libglib2.0-0 php-apcu-bc php7.1 php7.1-cli php7.1-common php7.1-fpm php7.1-gd php7.1-json php7.1-mysql php7.1-opcache php7.1-readline php7.3-common php7.3-mysql python3-software-properties software-properties-common 19 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 9712 kB of archives. After this operation, 2048 B of additional disk space will be used. Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libgd3 amd64 2.2.5-5.2+ubuntu16.04.1+deb.sury.org+1 [134 kB] Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg amd64 1.18.4ubuntu1.6 [2085 kB] Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libglib2.0-0 amd64 2.48.2-0ubuntu4.4 [1120 kB] Err:3 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libglib2.0-0 amd64 2.48.2-0ubuntu4.4 Hash Sum mismatch Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 dh-python all 2.20151103ubuntu1.2 [73.9 kB] Get:3 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libglib2.0-0 amd64 2.48.2-0ubuntu4.4 [1120 kB] Err:1 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libgd3 amd64 2.2.5-5.2+ubuntu16.04.1+deb.sury.org+1 Connection timed out Get:5 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.1-gd amd64 7.1.31-1+ubuntu16.04.1+deb.sury.org+1 [27.1 kB] Err:4 http://security.ubuntu.com/ubuntu xenial-security/main amd64 dh-python all 2.20151103ubuntu1.2 Connection timed out [IP: 91.189.88.162 80] Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 software-properties-common all 0.96.20.9 [9452 B] Get:4 http://security.ubuntu.com/ubuntu xenial-security/main amd64 dh-python all 2.20151103ubuntu1.2 [73.9 kB] Get:4 http://security.ubuntu.com/ubuntu xenial-security/main amd64 dh-python all 2.20151103ubuntu1.2 [73.9 kB] Err:5 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.1-gd amd64 7.1.31-1+ubuntu16.04.1+deb.sury.org+1 Connection timed out Get:7 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.1-json amd64 7.1.31-1+ubuntu16.04.1+deb.sury.org+1 [17.2 kB] Err:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 software-properties-common all 0.96.20.9 Connection timed out [IP: 91.189.88.162 80] Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-software-properties all 0.96.20.9 [20.1 kB] Err:7 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.1-json amd64 7.1.31-1+ubuntu16.04.1+deb.sury.org+1 Connection timed out Get:9 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.1-opcache amd64 7.1.31-1+ubuntu16.04.1+deb.sury.org+1 [143 kB] Err:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-software-properties all 0.96.20.9 Connection timed out [IP: 91.189.88.162 80] 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.