Cannot auto start zoneminder-base container

Support for the docker image maintained by dlandon
Post Reply
tokenize47
Posts: 1
Joined: Wed Feb 22, 2023 2:21 pm

Cannot auto start zoneminder-base container

Post by tokenize47 »

Hello,

The zoneminder-containers/zoneminder-base container starts in the STOPPED state and I cannot start it from the UI.
There's these errors in the logs:

Code: Select all

[zoneminder-service] 2023-02-22 14:15:02.989250625 INFO Starting ZoneMinder...
[zoneminder] 2023-02-22 14:15:11.184118221 local1.err: Feb 22 14:15:11 zmdc[922]: FAT [Can't connect to zmdc.pl server process at /zoneminder/run/zmdc.sock: No such file or directory]
[zoneminder] 2023-02-22 14:15:11.186904572 local1.err: Feb 22 14:15:11 zmpkg[916]: ERR [Unable to run "/usr/bin/zmdc.pl startup", output is "Starting server", status is 255]
[zoneminder] 2023-02-22 14:15:11.240608636 local1.err: Feb 22 14:15:11 zmpkg[916]: ERR [Unable to run "/usr/bin/zmdc.pl start zmfilter.pl --filter_id=1 --daemon", output is "Unable to connect to server using socket at /zoneminder/run/zmdc.sock", status is 255]
[zoneminder] 2023-02-22 14:15:11.292992424 local1.err: Feb 22 14:15:11 zmpkg[916]: ERR [Unable to run "/usr/bin/zmdc.pl start zmfilter.pl --filter_id=2 --daemon", output is "Unable to connect to server using socket at /zoneminder/run/zmdc.sock", status is 255]
[zoneminder] 2023-02-22 14:15:11.345458692 local1.err: Feb 22 14:15:11 zmpkg[916]: ERR [Unable to run "/usr/bin/zmdc.pl start zmwatch.pl", output is "Unable to connect to server using socket at /zoneminder/run/zmdc.sock", status is 255]
[zoneminder] 2023-02-22 14:15:11.397436936 local1.err: Feb 22 14:15:11 zmpkg[916]: ERR [Unable to run "/usr/bin/zmdc.pl start zmupdate.pl -c", output is "Unable to connect to server using socket at /zoneminder/run/zmdc.sock", status is 255]
[zoneminder] 2023-02-22 14:15:11.449087879 local1.err: Feb 22 14:15:11 zmpkg[916]: ERR [Unable to run "/usr/bin/zmdc.pl start zmtelemetry.pl", output is "Unable to connect to server using socket at /zoneminder/run/zmdc.sock", status is 255]
[zoneminder] 2023-02-22 14:15:11.501916608 local1.err: Feb 22 14:15:11 zmpkg[916]: ERR [Unable to run "/usr/bin/zmdc.pl start zmstats.pl", output is "Unable to connect to server using socket at /zoneminder/run/zmdc.sock", status is 255]
[zoneminder-service] 2023-02-22 14:15:11.506256361 INFO ZoneMinder is up! Proceeding to monitoring.
If I then exec into the container and execute the command

Code: Select all

zmpkg.pl start
it works and zoneminder is successfully started.
Any clue to what could be happening?
kubax
Posts: 3
Joined: Sat Mar 04, 2023 10:47 am

Re: Cannot auto start zoneminder-base container

Post by kubax »

Not that i could help you, but i wanted to add a +1 to this.

Exact same problem. Must have to do something with the updates i lately installed.

I'm on Arch Linux, and my box started to have the exact same problem after a update i did two days ago (didn't notice it untill this morning)
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Cannot auto start zoneminder-base container

Post by Magic919 »

You’re on your own with ZM on Docker.

It’s not the container or ZM.
-
kubax
Posts: 3
Joined: Sat Mar 04, 2023 10:47 am

Re: Cannot auto start zoneminder-base container

Post by kubax »

altough the extremely helpful answer from Magic919, i'll try to shed some light onto the problem.

first of all, ONLY zoneminder of my 41 containers is affacted, so i doubt that the zoneminder container is not at least a litlebit the problem here.

The problem seems to only happen with Docker 23.0.1.

Docker 20.10.23 seem to work fine. So i think it will be something that has changed from docker 20.10.23 to docker 23.0.1.

Downgrading to docker 20.10.23 and rebooting (somehow restarting the service is not enough) and zoneminder is running normaly.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Cannot auto start zoneminder-base container

Post by Magic919 »

If you ever get to the bottom of the 'problem' be sure to post up the fix.
-
mikeyjoel
Posts: 2
Joined: Sun Mar 12, 2023 12:58 pm

Re: Cannot auto start zoneminder-base container

Post by mikeyjoel »

Thanks Magic! Got my instance up and running using https://github.com/zoneminder-container ... inder-base with getting the service started inside the container as advised. Trying to move away from Synlogy's SurveillanceStation and was able to get a DSE Spy camera up and running in less than a minute right after.
good4y0u
Posts: 3
Joined: Sun Jul 11, 2021 3:28 am

Re: Cannot auto start zoneminder-base container

Post by good4y0u »

mikeyjoel wrote: Sun Mar 12, 2023 1:02 pm Thanks Magic! Got my instance up and running using https://github.com/zoneminder-container ... inder-base with getting the service started inside the container as advised. Trying to move away from Synlogy's SurveillanceStation and was able to get a DSE Spy camera up and running in less than a minute right after.
Did you literally just spin up the docker-compose file and it worked for you? https://github.com/zoneminder-container ... ompose.yml

* I am asking because I am working on updating from the old docker files
kubax
Posts: 3
Joined: Sat Mar 04, 2023 10:47 am

Re: Cannot auto start zoneminder-base container

Post by kubax »

just to update, no it sadly does not magically work.

i tried with 24.0.2 today, and the same problem persists.
Post Reply