Git Product home page Git Product logo

Comments (4)

alexyao2015 avatar alexyao2015 commented on September 23, 2024

The issue here is there is an uptime check that directly pings the sql server. If it's unreachable, perhaps by misconfiguration or not providing the correct user variables, it will wait until it goes up.

Use the official mariadb image instead of the one by Linux server. The docker-compose files show how things should be ran.

#!/usr/bin/with-contenv bash

from zoneminder-base.

ihor-chaban avatar ihor-chaban commented on September 23, 2024

That's the point, the official mariadb image does not exist for arm32/v7, only for arm64/v8 https://hub.docker.com/_/mariadb?tab=tags
That's why I faced this issue.
So looks like there are two options for arm32/v7: change the DB image to use s6 supervisor or change zoneminder image to get rid of s6 supervisor.

Maybe there is some simple workaround? Like triggering s6 supervisor from DB container after it creation manually using some command.

from zoneminder-base.

alexyao2015 avatar alexyao2015 commented on September 23, 2024

You simply need to ensure the DB is accessible to the container by configuring the environment variables. If the container is not able to access the DB, its obviously going to hang waiting for the db to come online. The issue is not s6. The issue is a misconfiguration on your end.

from zoneminder-base.

ihor-chaban avatar ihor-chaban commented on September 23, 2024

Aha, I thought that the s6 should be injected into the source DB container as well.
Will try to find the reason on my end. Thank you for the fast reply.

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.