Closed daxy01 closed 4 months ago
Seems that i have the same problem.
Same here. I reverted back to 5.10.4-2023.11.01. Datalogger did it's work in the background, seems to be isolated to just the webui not starting.
Switched to a newer component within the Docker image (S6 overlay). Currently I`m not using DSMR Reader Docker myself (due to Niko Home Control), so I was unable to validate upfront. Not sure how to solve this, so rolling back.
Thanks. Happy to test things and help out when needed if you'd like to test a newer version in the future, just say the word.
same problem over here. Giving a debug logging error:
Starting DSMR Reader - datalogger...
Starting DSMR Reader - webinterface...
Starting DSMR Reader - backend...
Current logging level set to "ERROR". More information can be found here: https://dsmr-reader.readthedocs.io/en/latest/how-to/troubleshooting/enabling-debug-logging.html
Current logging level set to "ERROR". More information can be found here: https://dsmr-reader.readthedocs.io/en/latest/how-to/troubleshooting/enabling-debug-logging.html
Going to that webpage it says to remove ### somewhere:
I tried debug logging, but that seems to be related to datalogger only. netstat -tulpn in the container lacks a service listening on port 80, it is in the previous one:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 277/nginx -g daemon
Tried to capture those logs, but they're going to stderr/stdout (so I'd ecpect them in docker logs, don't see any nginx related errors/warnings there).
same problem over here. Giving a debug logging error:
Starting DSMR Reader - datalogger... Starting DSMR Reader - webinterface... Starting DSMR Reader - backend... Current logging level set to "ERROR". More information can be found here: https://dsmr-reader.readthedocs.io/en/latest/how-to/troubleshooting/enabling-debug-logging.html Current logging level set to "ERROR". More information can be found here: https://dsmr-reader.readthedocs.io/en/latest/how-to/troubleshooting/enabling-debug-logging.html
I get this same logging level messages in the previous version I'm now using (5.10.4-2023.11.01) - I don't think this is an error in itself.
Please read previous comments. I already shared why this is happening. Rolling back now.
https://github.com/xirixiz/dsmr-reader-docker/actions/runs/8065827764
I can confirm that the very latest version (from ~40m ago) works again. Thanks for your quick fix/rollback and support!
Support guidelines
I've found an issue and checked that ...
Description
After upgrading to 2024.02.03, dsmr-reader won't start anymore and container is "unhealthy". When (re-)using 5.10.4-2023.11.01 all works instantly.
Expected behaviour
UI should start.
Actual behaviour
WebUI is not serving data, Chrome tells me "ERR_CONNECTION_REFUSED"
Steps to reproduce
Docker info
Version
docker-compose --version
): Docker Compose version v2.24.5uname -a
): Linux orion 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/LinuxDocker compose
Container logs
daxy@orion:/data/docker-data$ docker logs dsmr-reader 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 docker-entrypoint: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting [ INFO ] DSMR Reader Reader release: 5.11.0 [ INFO ] DSMR Reader Reader Docker release: 2024.02.03 s6-rc: info: service legacy-cont-init successfully started
[ INFO ] Ensure permissions... [ INFO ] Setting architecture requirements... [ INFO ] X64 Architecture [ INFO ] Verifying if the DSMR Reader web credential variables have been set... [ INFO ] Verifying database connectivity to host: 192.168.1.10 with port: 5432... Connection to 192.168.1.10 5432 port [tcp/postgresql] succeeded! [ INFO ] Database connectivity successfully verified! [ INFO ] Running post configuration... Operations to perform: Apply all migrations: admin, auth, contenttypes, dsmr_api, dsmr_backend, dsmr_backup, dsmr_consumption, dsmr_datalogger, dsmr_dropbox, dsmr_frontend, dsmr_influxdb, dsmr_mindergas, dsmr_mqtt, dsmr_notification, dsmr_pvoutput, dsmr_stats, dsmr_weather, sessions Running migrations: No migrations to apply.
559 static files copied to '/var/www/dsmrreader/static'. Updating password of superuser "daxy" Deactivating any other existing superusers [ INFO ] Checking for CLIENT CERTIFICATE AUTHENTICATION configuration... [ INFO ] ENABLE_CLIENTCERT_AUTH is disabled, nothing to see here. Continuing... [ INFO ] Checking for NGINX SSL configuration... [ INFO ] ENABLE_NGINX_SSL is disabled, nothing to see here. Continuing... [ INFO ] Checking for HTTP AUTHENTICATION configuration... [ INFO ] ENABLE_HTTP_AUTH is disabled, nothing to see here. Continuing... [ INFO ] Configuring DSMR Reader to run all processes in a single container with a serial or ipv4 datalogger... [ INFO ] Using a serial connection for the DSMR Reader remote datalogger... [ INFO ] Fixing /dev/ttyUSB0 security... [ INFO ] Adding serial input method configuration settings... s6-rc: info: service docker-entrypoint successfully started s6-rc: info: service svc-dsmr-webinterface: starting s6-rc: info: service svc-dsmr-remote-datalogger: starting s6-rc: info: service svc-dsmr-datalogger: starting s6-rc: info: service svc-dsmr-backend: starting s6-rc: info: service svc-dsmr-webinterface successfully started s6-rc: info: service svc-dsmr-remote-datalogger successfully started s6-rc: info: service svc-dsmr-datalogger successfully started s6-rc: info: service svc-dsmr-backend successfully started s6-rc: info: service legacy-services: starting Starting DSMR Reader - webinterface... Starting DSMR Reader - datalogger... Starting DSMR Reader - backend... s6-rc: info: service legacy-services successfully started [2024-02-27 13:48:59 +0100] [95] [INFO] Starting gunicorn 20.1.0 [2024-02-27 13:48:59 +0100] [95] [INFO] Listening at: unix:/tmp/gunicorn--dsmr_webinterface.socket (95) [2024-02-27 13:48:59 +0100] [95] [INFO] Using worker: sync [2024-02-27 13:48:59 +0100] [124] [INFO] Booting worker with pid: 124 Current logging level set to "ERROR". More information can be found here: https://dsmr-reader.readthedocs.io/en/latest/how-to/troubleshooting/enabling-debug-logging.html Current logging level set to "ERROR". More information can be found here: https://dsmr-reader.readthedocs.io/en/latest/how-to/troubleshooting/enabling-debug-logging.html
Additional info
Connection is instantly disconnected:
FYI: The "healthcheck" section in my docker-compose file has just been added prior to submitting this ticket to ensure my file matches the recommended version. Removing it won't fix the issue.