Git Product home page Git Product logo

Comments (16)

tokenize47 avatar tokenize47 commented on September 24, 2024 3

That's a nice clue! Then the problem is not with Arch itself but the fact that Arch uses always the latest software versions.

I guess this is an incompatibility with the s6 version with the new docker version. I'll do some research on this an come up with a PR if I find a solution.

from zoneminder-base.

kondas avatar kondas commented on September 24, 2024 1

Hi all, I think the issue is caused by insufficent linux capabilities - changing the user running 'zmpkg.pl start' from www-data to root allows the socket to open (in /etc/services.d/zoneminder/run).

from zoneminder-base.

clueo8 avatar clueo8 commented on September 24, 2024

I am noticing this too... Is the zmpkg.pl start missing from the /init when the container starts?

from zoneminder-base.

tokenize47 avatar tokenize47 commented on September 24, 2024

I am noticing this too... Is the zmpkg.pl start missing from the /init when the container starts?

No, it's not missing. The error messages comes precisely from executing "zmpkg.pl start" in the s6 init

I've done alot of debug and I really can't understand why this happens.

from zoneminder-base.

alexyao2015 avatar alexyao2015 commented on September 24, 2024

Can you provide some more info such as os, docker compose files, env file, etc?

from zoneminder-base.

clueo8 avatar clueo8 commented on September 24, 2024

The only changes I made from the initial git clone was just the timezone and exposed port:

.env:
+TZ=America/New_York

docker-compose.yml:
+9086:80

Also, my base server is x86_64 Linux 6.1.13-1-lts... I use arch btw :)

Docker version 23.0.1, build a5ee5b1dfc
Docker Compose version 2.16.0

from zoneminder-base.

alexyao2015 avatar alexyao2015 commented on September 24, 2024

Honestly none of that info gives me enough information to reproduce what exactly you did and if that's unable to be done, there's no way of determining the cause other than pure speculation. As you can see, the image boots up just fine in CI and I believe many others use it without any issues. I would have to believe you must be doing something special or out of the ordinary to cause this issue.

from zoneminder-base.

tokenize47 avatar tokenize47 commented on September 24, 2024

I think this is an issue related with Arch, as I'm running it as well. I tried running it on Debian and it worked.
I really don't understand what's causing this.

from zoneminder-base.

kubax avatar kubax commented on September 24, 2024

+1

also on arch, and the problems seems to come from one of the updates of the last month(s). Zoneminder runned perfectly for months, then i recently installed long waited updates ( my internet was realy bad up until two days ago, so i didn't realy update often) and then it stoped working.

at least i have a work around, thanks to @tokenize47 because of the post on the zoneminder forum i found prior to this issue here.

from zoneminder-base.

kubax avatar kubax commented on September 24, 2024

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.

from zoneminder-base.

clueo8 avatar clueo8 commented on September 24, 2024

Any updates on this?

from zoneminder-base.

kubax avatar kubax commented on September 24, 2024

Problem persists with Docker 24.0.2

i have no clue how this problem could be solved.

from zoneminder-base.

Simpler1 avatar Simpler1 commented on September 24, 2024

This could be the same problem as:
#50

Try upgrading from "docker-compose" to "docker compose".

from zoneminder-base.

kubax avatar kubax commented on September 24, 2024

Thanks for the hint.

But I don't think it is related (at least in my case).

I deploy with portainer, to a 3 cluster docker swarm (although this stack is locked to my NAS because of the hard drives)

from zoneminder-base.

kubax avatar kubax commented on September 24, 2024

can confirm.

as a quick test i updated to docker 24.0.5 and replaced the file inside the container with one where www-run is replaced with root.

Zoneminder starts without problems now. so at least we now know why it allways starts stopped.

thx for the update @kondas

from zoneminder-base.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.