-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OperationalError: FATAL: #169
Comments
It seems to be related to a permission error looking at the logs. Could you please verify permissions of the file For me the owner and group are both 70 on the host system with most (maybe all) of the files 600 rights.
Sample: |
Checked an the group was not 70 I changed it so lets wait if it comes back (wil let you know). I'm almost sure that this will happen again if i upgrade to a newer version. Is there something i did wrong? Thanks! Update, as soon as i do the chown and the chmod everything stops working, dmsr can't connect to the database anymore so nothing is starting. |
Maybe try the |
Any update? |
Seems to be holding, no errors yet. |
Setup/Architecture information
I'm user the docker version and configured it as receiver. I'm using a raspberry together with DSMR datalogger (hassio addon) https://github.com/sanderdw/hassio-addons.
-->
Version of the Docker image
xirixiz/dsmr-reader-docker:latest
Configuration
version: '2'
services:
dsmrdb:
image: postgres:12-alpine
container_name: DSMR_db
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/DSMR/dsmrdb:/var/lib/postgresql/data
environment:
- TZ=Europe/Amsterdam
- PG_TZ=Europe/Amsterdam
- POSTGRES_USER=dsmrreader
- POSTGRES_PASSWORD=dsmrreader
- POSTGRES_DB=dsmrreader
dsmr:
image: xirixiz/dsmr-reader-docker:latest
container_name: DSMR
depends_on:
- dsmrdb
cap_add:
- NET_ADMIN
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/DSMR/dsmr_backups:/dsmr/backups
environment:
- DJANGO_TIME_ZONE=Europe/Amsterdam
- VIRTUAL_HOST=localhost
- ENABLE_NGINX_SSL=false
- DATALOGGER_MODE=receiver
ports:
- 7777:80
#volumes:
#dsmrdb:
#dsmrdb_backups:
Add your docker(-compose) config file here.
The text was updated successfully, but these errors were encountered: