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
[BUG] Password authentication failed for user "postgres" #1145
Comments
Looks like a problem connecting to the database due to a wrong password. Church your credentials in the .env file? |
All of the containers are new, and the password is established by the .env - so how would there be a mismatch? I did previously attach both my compose.yaml and my stack.env, but I don't see them associated with this post. |
That what the error says. Can you share your env variables and docker compose file? |
Try to remove the postgres container and restart the stack. |
@alextran1502, thanks for the suggestion but that did not work. Realized my compose and env files didn't upload properly because of the filetype. Changed to .txt and attached. |
Try to remove these two lines in the environment variable IMMICH_WEB_URL=http://immich-web:3000 |
Another suggestion just to test out the hypothesis. Create another stack and try changing just the jwtsecrect and the upload_location, leave the rest untouched to see if you can get it running |
The postgres container has a persistent volume you would have to remove to actually "re-deploy" it. If it started up without those env variables, the default password would have been set to "postgres" instead. The easiest thing to do would probably be remove the stack, delete the pg_data volume and then re-deploy it. |
Thank you so much! This was the issue. After stopping the stack, removing the volume, and redeploying--everything worked perfectly. Appreciate the help! |
This happened to me today when I was trying to deploy with a new password but hit some errors. Despite removing the stack a few times, it is good to know that the db is a persistent volume. This solved it for me too! Thanks. |
Thanks for remind me the persistent volume. For more detail, you can list the volume by:
and remove volume with prefix of immich by:
|
Describe the bug
A clear and concise description of what the bug is.
When trying to stand-up a new, clean installation using Portainer, I get a 500 when trying to setup a new user (screenshot below). A look at the server container's log shows:
Task List
Please complete the task list below. We need this information to help us reproduce the bug or point out problems in your setup. You are not providing enough info may delay our effort to help you.
docker-compose
file..env
file.System
N/A
altran1502/immich-server:release?
N/A
The text was updated successfully, but these errors were encountered: