Git Product home page Git Product logo

Comments (8)

avp90 avatar avp90 commented on September 24, 2024

nginx was not running ...

docker exec -it zm service nginx start

from zoneminder-base.

alexyao2015 avatar alexyao2015 commented on September 24, 2024

Wait longer

from zoneminder-base.

alexyao2015 avatar alexyao2015 commented on September 24, 2024

Also looks like that's an old version

from zoneminder-base.

avp90 avatar avp90 commented on September 24, 2024

I wait about 30mins 😄 and tried it also with latest tag.

from zoneminder-base.

alexyao2015 avatar alexyao2015 commented on September 24, 2024

Those definitely aren't logs from the latest version. You need to repull or clear the image cache.

from zoneminder-base.

avp90 avatar avp90 commented on September 24, 2024

Yes the log was from v1.36.7. Had tested with different versions. Here is the log from v1.36.12.

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/00-reconfigure-user.sh
2022-03-14 19:55:43.432682569 [reconfigure-user] INFO Setting permissions for user www-data
2022-03-14 19:55:43.464464210 [reconfigure-user] INFO Setting permissions for user nobody at /log
cont-init: info: /etc/cont-init.d/00-reconfigure-user.sh exited 0
cont-init: info: running /etc/cont-init.d/10-log-config.sh
2022-03-14 19:55:43.508837025 [log-config] INFO Configuring log rotation with a maximum of 20 logs and a max log size of 1000000 bytes
cont-init: info: /etc/cont-init.d/10-log-config.sh exited 0
cont-init: info: running /etc/cont-init.d/20-system-config.sh
2022-03-14 19:55:43.540300378 [system-config] INFO Setting system timezone to Europe/Berlin
2022-03-14 19:55:43.562456681 [system-config] INFO Configuring PHP Time
2022-03-14 19:55:44.002918039 [system-config] INFO Applying PHP Optimizations
2022-03-14 19:55:44.063995476 [system-config] INFO Redirecting PHP Logs to stdout
cont-init: info: /etc/cont-init.d/20-system-config.sh exited 0
cont-init: info: running /etc/cont-init.d/30-zm-config.sh
2022-03-14 19:55:44.100140895 [zm-config] INFO Configuring ZoneMinder db Settings
cont-init: info: /etc/cont-init.d/30-zm-config.sh exited 0
cont-init: info: running /etc/cont-init.d/40-msmtp-config.sh
2022-03-14 19:55:44.162061530 [msmtp-config] INFO Configuring msmtp settings...
cont-init: info: /etc/cont-init.d/40-msmtp-config.sh exited 0
cont-init: info: running /etc/cont-init.d/50-nginx-config.sh
2022-03-14 19:55:44.231476654 [nginx-config] INFO Configuring nginx settings...
cont-init: info: /etc/cont-init.d/50-nginx-config.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun fcgiwrap (no readiness notification)
services-up: info: copying legacy longrun mariadb (no readiness notification)
services-up: info: copying legacy longrun mariadb-configure (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
services-up: info: copying legacy longrun php-fpm (no readiness notification)
services-up: info: copying legacy longrun socklog (no readiness notification)
services-up: info: copying legacy longrun zoneminder (no readiness notification)
s6-rc: info: service legacy-services successfully started
[zoneminder-service] 2022-03-14 19:55:44.421825585 INFO Waiting for Socklog to start
[php-fpm] 2022-03-14 19:55:44.428693081 INFO Starting PHP-fpm...
[mariadb-configure] 2022-03-14 19:55:44.450477181 INFO Waiting for MariaDB to start
[mariadb] 2022-03-14 19:55:44.466526812 INFO Waiting for Mariadb to start
[zoneminder-service] 2022-03-14 19:55:44.486131773 INFO Waiting for MariaDB to start
[nginx] 2022-03-14 19:55:44.417215976 INFO Waiting for ZoneMinder to start
[fcgiwrap] 2022-03-14 19:55:44.448819286 INFO Starting fcgiwrap...
[zoneminder-service] 2022-03-14 19:55:47.783440781 INFO Waiting for mariadb-configure to complete...
[mariadb] 2022-03-14 19:55:47.792020881 INFO Mariadb is up! Proceeding to monitoring.
[mariadb-configure] 2022-03-14 19:55:47.937644001 INFO Configuring ZoneMinder Email From Address...
[mariadb-configure] 2022-03-14 19:55:47.981018204 INFO Disabling file log to prevent duplicate logs from syslog
[mariadb-configure] 2022-03-14 19:55:48.021965770 INFO Applying db changes...
[mariadb-configure] 2022-03-14 19:55:48.148927501 INFO Upgrading db if necessary
[mariadb-configure] 2022-03-14 19:55:49.403837662 INFO
[mariadb-configure] 2022-03-14 19:55:49.411392650 INFO Initiating database upgrade to version 1.36.12 from version 1.36.7
[mariadb-configure] 2022-03-14 19:55:49.417805736 INFO
[mariadb-configure] 2022-03-14 19:55:49.427477072 INFO Upgrading database to version 1.36.12
[mariadb-configure] 2022-03-14 19:55:49.440513449 INFO Loading config from DB 221 entries
[mariadb-configure] 2022-03-14 19:55:49.450009663 INFO Saving config to DB 221 entries
[mariadb-configure] 2022-03-14 19:55:49.782479341 INFO Upgrading DB to 1.36.9 from 1.36.7
[mariadb-configure] 2022-03-14 19:55:49.855660751 INFO
[mariadb-configure] 2022-03-14 19:55:49.864396099 INFO Database successfully upgraded to version 1.36.9.
[mariadb-configure] 2022-03-14 19:55:49.877469226 INFO
[mariadb-configure] 2022-03-14 19:55:49.883960311 INFO Database upgrade to version 1.36.12 successful.
[mariadb-configure] 2022-03-14 19:55:49.897676263 INFO
[mariadb-configure] 2022-03-14 19:55:49.914715339 INFO Refreshing db
[mariadb-configure] 2022-03-14 19:55:50.728866147 INFO
[mariadb-configure] 2022-03-14 19:55:50.734408618 INFO Freshening configuration in database
[mariadb-configure] 2022-03-14 19:55:50.741099576 INFO Migratings passwords, if any...
[mariadb-configure] 2022-03-14 19:55:50.749003392 INFO Loading config from DB 221 entries
[mariadb-configure] 2022-03-14 19:55:50.761315820 INFO Saving config to DB 221 entries
[zoneminder-service] 2022-03-14 19:55:51.109596841 INFO Starting ZoneMinder...
[zoneminder] 2022-03-14 19:55:51.707466670 local1.info: Mar 14 19:55:51 zmpkg[485]: INF [Sanity checking States table...]
[zoneminder] 2022-03-14 19:55:51.721008833 local1.info: Mar 14 19:55:51 zmpkg[485]: INF [Command: start]
[zoneminder] 2022-03-14 19:56:00.476150371 local1.info: Mar 14 19:56:00 zmdc[497]: INF [Server starting at 22/03/14 19:56:00]
[zoneminder] 2022-03-14 19:56:01.034088662 local1.err: Mar 14 19:56:01 zmdc[495]: FAT [Can't connect to zmdc.pl server process at /zoneminder/run/zmdc.sock: No such file or directory]
[zoneminder] 2022-03-14 19:56:01.058559228 local1.err: Mar 14 19:56:01 zmpkg[485]: ERR [Unable to run "/usr/bin/zmdc.pl startup", output is "Starting server", status is 255]
[zoneminder] 2022-03-14 19:56:01.063344918 local1.info: Mar 14 19:56:01 zmpkg[485]: INF [Single server configuration detected. Starting up services.]
[zoneminder] 2022-03-14 19:56:01.748184899 local1.err: Mar 14 19:56:01 zmpkg[485]: 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] 2022-03-14 19:56:01.802657711 local1.info: Mar 14 19:56:01 zmdc[497]: INF [Socket should be open at /zoneminder/run/zmdc.sock]
[zoneminder] 2022-03-14 19:56:02.379855134 local1.info: Mar 14 19:56:02 zmdc[497]: INF ['zmfilter.pl --filter_id=2 --daemon' starting at 22/03/14 19:56:02, pid = 546]
[zoneminder] 2022-03-14 19:56:02.389261974 local1.info: Mar 14 19:56:02 zmdc[546]: INF ['zmfilter.pl --filter_id=2 --daemon' started at 22/03/14 19:56:02

from zoneminder-base.

alexyao2015 avatar alexyao2015 commented on September 24, 2024

What are you using in your docker compose file? It seems that zoneminder is having issues starting up.

from zoneminder-base.

alexyao2015 avatar alexyao2015 commented on September 24, 2024

Closing due to no response and issue does not show up in ci.

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.