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

fix: add pg username to migration job #156

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

knorr3
Copy link

@knorr3 knorr3 commented Mar 19, 2025

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.

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

Successfully merging this pull request may close these issues.

1 participant