Page 1 of 1

Cannot auto start zoneminder-base container

Posted: Wed Feb 22, 2023 2:24 pm
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?

Re: Cannot auto start zoneminder-base container

Posted: Sat Mar 04, 2023 10:49 am
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)

Re: Cannot auto start zoneminder-base container

Posted: Sat Mar 04, 2023 12:46 pm
by Magic919
You’re on your own with ZM on Docker.

It’s not the container or ZM.

Re: Cannot auto start zoneminder-base container

Posted: Tue Mar 07, 2023 11:31 am
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.

Re: Cannot auto start zoneminder-base container

Posted: Tue Mar 07, 2023 11:50 am
by Magic919
If you ever get to the bottom of the 'problem' be sure to post up the fix.

Re: Cannot auto start zoneminder-base container

Posted: Sun Mar 12, 2023 1:02 pm
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.

Re: Cannot auto start zoneminder-base container

Posted: Fri Jul 07, 2023 2:39 am
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

Re: Cannot auto start zoneminder-base container

Posted: Sun Jul 16, 2023 6:18 pm
by kubax
just to update, no it sadly does not magically work.

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