Skip to content

Fix pg_isready for migration_job #159

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

gawsoftpl
Copy link

Description
After setting up chatwoot today, my instance was not able to start. I am using the built-in bitnami postgrsql db.
As it turned out, the db initialization (migration job) was stuck, because the pg_isready command in the init container didn't succeed. It just printed out no attempt, which suggests an invalid configuration (see https://www.postgresql.org/docs/current/app-pg-isready.html).

Solution
After adding the -U postgres parameter manually, the command exited with 0 and the migrations where able to run

Same issue in another pull request #156

@knorr3
Copy link

knorr3 commented Apr 27, 2025

Hello @gawsoftpl,
why are you "stealing" my pull request? You just copied my entire description and code changes.

@gawsoftpl
Copy link
Author

I double this pr because nobody answer for your issue, I dont know that this project is alive? Did you write to owner of this project?

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

Successfully merging this pull request may close these issues.

2 participants