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

[119] FATAL: role "root" does not exist #1002

Open
Futureganteng opened this issue Apr 17, 2024 · 1 comment
Open

[119] FATAL: role "root" does not exist #1002

Futureganteng opened this issue Apr 17, 2024 · 1 comment
Assignees

Comments

@Futureganteng
Copy link

Hello, sorry i was not familiar with postgre

i get these error when i run the docker-compose up
db_1 | 2024-04-17 22:51:02.375 BST [119] FATAL: role "root" does not exist
i logged on as root on the console

then i've logged on as admin on the website but
i get these message and the mediacms website goes down
celery_worker_1 | 2024-04-17 21:51:14,234 INFO reaped unknown pid 54 (terminated by SIGKILL)

@Nouri-redouane
Copy link

I got the same message, and i solved that by adding the following arguments to the "pg_isready" command in docker-compose.yaml file:
image
because the pg_isready command without -U is going to use the system user as the database user (in my case "root" because i executed docker-compose using sudo)
i got that from:
https://stackoverflow.com/questions/70205657/postgres-docker-role-root-does-not-exist

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

3 participants