Closed gctwnl closed 9 months ago
I suppose this issue can be closed as I included the fix.
I found the errors in the GUI I lost earlier after I had fixed it
Process behind schedule: Generate day and hour statistics (43 minutes ago)
Process behind schedule: Calculate quarter hour electricity peaks (43 minutes ago)
Process behind schedule: Weather update (43 minutes ago)
Process behind schedule: Generate consumption data (46 minutes ago)
@gctwnl too bad it caused issues, but good that you were able to fix it, and for sharing this here.
@gctwnl Thanks for your description on how you fixed it. I also needed to upgrade from 10.1 to 15.5 and could not get it to work untill i found your post.
I just upgraded to v16 and ran into the same.
Actual fix: nano/vi pg_hba.conf
change this line:
host all all all scram-sha-256
into:
host all all all md5
Here some background info: https://www.postgresql.org/docs/14/auth-password.html
edit: this is the default and changed as per the default too. If you have more users, probably good to change db & user dsmrreader to md5 only, while keeping the rest on scram-sha-256.
Hi I've created a S6 v3 overlay Docker image. I`m currently not using DSMR reader myself, so I'm unable to do some proper testing. Would you mind testing ghcr.io/xirixiz/dsmr-reader-docker:development
and share the output?
It's on the pre_release branch now. If everything is working fine, I`ll merge the changes to the main branch
Support guidelines
I've found an issue and checked that ...
Description
I have followed the instructions in the READM.md to update my setup. I have used the route:
But this fails on first attempt of dsmr app to conect to the db:
I was able to fix this by:
pg_hba.conf
cat dsmrreader.sql | docker exec -i dsmrdb psql -U dsmrreader
docker compose down
anddocker compose up -d
The only problem left is that I got 4 warnings about 46 minutes lost, but these disappeared later. I am creating the issue here so that it may help others who move from Postgres 10 to 15
Expected behaviour
Database update instructions worked
Actual behaviour
Database update instructions were invalid for Postgres versions where the previous mechanism was md5 while the new one is sha-256
Steps to reproduce
Update a Postgres 10.5 version (which I installed last year when I started to use it)
Docker info
Version
docker-compose is not installed on my system. I use 'docker compose' uname -a:
Linux snape 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Docker compose
Container logs
See description.
Additional info
My system works again (though logging in to dsmrreader I have yet to solve)
Current
docker-compose.yml
: