Skip to content
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

Docker Compose - Error while restarting DB container #145

Open
IotaLion opened this issue May 6, 2024 · 4 comments
Open

Docker Compose - Error while restarting DB container #145

IotaLion opened this issue May 6, 2024 · 4 comments
Assignees

Comments

@IotaLion
Copy link

IotaLion commented May 6, 2024

I have currently the issue that ckan-docker isn't restarting due to a database auth error:
psycopg2.OperationalError: connection to server at "db" (172.22.0.3), port 5432 failed: FATAL: password authentication failed for user "datastore_ro"

For more context:
error_datastore.txt

Are there any solutions?

@kowh-ai kowh-ai self-assigned this May 10, 2024
@kowh-ai
Copy link
Contributor

kowh-ai commented May 10, 2024

It looks like somewhere along the line someone has updated the DATASTORE_READONLY_PASSWORD environment variable (or something similar) after setting up that password when the Datastore database was created...Could it be something like that?

@IotaLion
Copy link
Author

Not sure, I did not change the datastore password in the .env or anywhere else.
A new, local, installation wasn't successful either.

@kowh-ai
Copy link
Contributor

kowh-ai commented May 14, 2024

Weird - you could running thse commands before a new (local) install

https://github.com/ckan/ckan-docker/wiki/Docker-cleanup

@IotaLion
Copy link
Author

IotaLion commented May 27, 2024

Hi, sorry for the super late reply.

So, the local installation runs without the password authentication error, but I don't get a connection to the CKAN_SITE_URL (IP address of the VM + port) either.

It seems like the ckan docker container is never starting completely (still having a health: running when using docker ps after 10 minutes)

-> update after 20 minutes with the workaround of #149 (comment): ckan container is starting but still no connection to the URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants