mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
[Bug]: Cannot log in after docker installation, "invalid credentials" #605
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ivanix1 on GitHub (Nov 15, 2024).
Where is the problem occurring?
None
What browsers are you seeing the problem on?
No response
Current behaviour
Attempting to login after default install per documentation https://docs.planka.cloud/docs/installation/docker/production_version,
Always shows "invalid credentials"
I tried the default values for DEFAULT_ADMIN_ env variables in the docker-compose as well as using my own custom.
the docker containers come up including the postgres, the login page shows up at http://localhost:3000/
but any values result in "invalid credentials"
Something wrong with the docker-compse.yaml or the instructions.
Desired behaviour
Attempting to login after default install per documentation https://docs.planka.cloud/docs/installation/docker/production_version,
Always shows "invalid credentials"
I tried the default values for DEFAULT_ADMIN_ env variables in the docker-compose as well as using my own custom.
the docker containers come up including the postgres, the login page shows up at http://localhost:3000/
but any values result in "invalid credentials"
Something wrong with the docker-compse.yaml or the instructions.
Steps to reproduce
Attempting to login after default install per documentation https://docs.planka.cloud/docs/installation/docker/production_version,
Always shows "invalid credentials"
I tried the default values for DEFAULT_ADMIN_ env variables in the docker-compose as well as using my own custom.
the docker containers come up including the postgres, the login page shows up at http://localhost:3000/
but any values result in "invalid credentials"
Something wrong with the docker-compse.yaml or the instructions.
Other information
Attempting to login after default install per documentation https://docs.planka.cloud/docs/installation/docker/production_version,
Always shows "invalid credentials"
I tried the default values for DEFAULT_ADMIN_ env variables in the docker-compose as well as using my own custom.
the docker containers come up including the postgres, the login page shows up at http://localhost:3000/
but any values result in "invalid credentials"
Something wrong with the docker-compse.yaml or the instructions.
@meltyshev commented on GitHub (Nov 15, 2024):
Hi! I just tested this, and everything is working correctly for me. It's difficult to determine what the issue might be in your case without seeing your
docker-compose.ymland startup logs. One possible cause could be that theDEFAULT_ADMIN_*variables have spaces before the equals sign, or perhaps the container wasn't restarted after changing these variables. However, this is just a guess.@Terrofont commented on GitHub (Dec 26, 2024):
I had a similar problem at first, you need to uncomment the
DEFAULT_USERetc, environment variables to login. Those aren't actually default, you need to explicitly specify them@Kaurin commented on GitHub (Jan 11, 2025):
I am using the helm chart and I can confirm that in the chart, alongside the username/password secret, it is also required to have these set as top-level chart values:
My admin user got provisioned after setting these two values
@la0wei commented on GitHub (Jan 21, 2025):
https://docs.planka.cloud/docs/installation/docker/production_version/
Now you can browse to http://YOUR_DOMAIN_NAME:YOUR_PORT and login as YOUR_ADMIN_EMAIL with password YOUR_ADMIN_PASSWORD
try uncomment DEFAULT_ADMIN_EMAIL and DEFAULT_ADMIN_PASSWORD
Other values seem no effect.
Mine works after change these two values,though login page shows username/email, only email works.
@tirrorex commented on GitHub (Mar 31, 2025):
Got the same error, logs indicate
2025-03-31 20:00:48 [W] Invalid password! (IP: 192.168.1.209)no clue what this ip is though, cause it is not detected by my router
The password in the compose file is the same as the one i enter, i checked 15 times and even redid the paste multiple time aswell in the compose file
@meltyshev commented on GitHub (May 15, 2025):
Now an admin user can be created via the
db:create-admin-usernpm script: https://docs.planka.cloud/docs/configuration/admin-user#by-running-the-script.