Closed migsar closed 3 years ago
Could you try change toimage: nhost/hasura-backend-plus:v2.5.2
to make sure you're using the latest release?
The 2.5.2 release includes this (https://github.com/nhost/hasura-backend-plus/pull/553) PR which should solve your migration issue.
I would also recommend you to change the Postgres image to: nhost/postgres:12-v0.0.3
which will be the default Postgres image we'll recommend in the future.
Before you reload your docker image make sure to remove db_nhost_data
so you start 100% from scratch.
Thanks for the quick reply! It worked like a charm!
I think it is related, so I post it here but feel free to point me to the right place if it is not.
Why the default Postgres image recommended have to be different from the official postgres one? Just curious for the sake of learning, I don't have a strong personal preference although I think in terms of my laptop with limited disk space it would be better to just have one docker image, not a big problem anyway.
I really appreciate the effort for keeping this open source and I know it is a huge effort, so after seeing that the documentation is a bit outdated on the postgres migrations I would like to ask if I can collaborate on that or it is already being taken care of?
Thanks! :)
Why the default Postgres image recommended have to be different from the official postgres one?
https://github.com/nhost/postgres/blob/main/v12/db/0001-create-schema.sql#L1-L22
https://github.com/nhost/postgres/blob/main/v12/Dockerfile#L3-L11
I am trying to do a fresh install of HBP with auth but without storage. I've read about the problems in v2.5.0, here #529 and #542
Here is my docker-compose file:
And the db error I am getting:
Any help is appreciated.