Closed svh1985 closed 4 years ago
You're probably using an outdated Docker image. Which images are you using? Please check out the valid latest tags on the Docker hub
Hi Bram,
Thank you for your quick response!
I'm using docker-compose which (I assume) always gets the latest version when Pull and Up the container.
I have a second device that runs a datalogger that feeds the DSMR.
This is the DSMR portion of my composer file:
################################ DSMR Reader
dsmr:
image: xirixiz/dsmr-reader-docker
container_name: dsmr
depends_on:
- dsmrdb
cap_add:
- NET_ADMIN
links:
- dsmrdb
restart: unless-stopped
labels:
com.centurylinklabs.watchtower.enable: "true"
volumes:
- /etc/localtime:/etc/localtime:ro
- ${CONFIGDIR}/dsmr/backups:/dsmr/backups:rw
- ${CONFIGDIR}/dsmr/settings.py:/dsmr/dsmrreader/settings.py:rw
environment:
TZ: ${TIMEZONE}
PGID: ${PGID}
PUID: ${PUID}
VIRTUAL_HOST: localhost
SD_AUTOSTART_MQTT: "true"
SD_AUTORESTART_MQTT: "true"
SD_AUTOSTART_DATALOGGER: "false"
SD_AUTORESTART_DATALOGGER: "false"
DSMR_USER: ${DSMR_USER}
DSMR_EMAIL: ${DSMR_EMAIL}
DSMR_PASSWORD: ${PASSWORD}
DB_NAME: ${DSMR_DB_NAME}
DB_USER: ${DSMR_DB_USER}
DB_PASS: ${DSMR_DB_PASS}
DB_HOST: ${DSMR_DB_HOST}
DB_PORT: ${DSMR_DB_PORT}
DSMRREADER_LOGLEVEL: INFO # Valid values are WARNING, INFO, DEBUG
ports:
- 7777:80
- 7779:443
#devices:
#- /dev/ttyUSB0:/dev/ttyUSB0
################################ DSMR Database
dsmrdb:
image: postgres:10.5-alpine
container_name: dsmrdb
restart: unless-stopped
labels:
com.centurylinklabs.watchtower.enable: "true"
volumes:
- /etc/localtime:/etc/localtime:ro
- ${CONFIGDIR}/dsmr/db:/var/lib/postgresql/data:rw
user: ${PGID}:${PUID}
environment:
TZ: ${TIMEZONE}
PG_TZ: ${TIMEZONE}
POSTGRES_DB: ${DSMR_DB_NAME}
POSTGRES_USER: ${DSMR_DB_USER}
POSTGRES_PASSWORD: ${DSMR_DB_PASS}
Kan je de regel DSMRREADER_LOGLEVEL: INFO # Valid values are WARNING, INFO, DEBUG
eens verwijderen uit je docker-compose file?
Yes, dat was de oplossing! Thanks!
Hi,
After some months of running DSMR it stopped working. I have no idea why tbh. Does anybody know how to solve this?
Supervisor logs:
I recreated the container but the problem remains: