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

[Bug]: Not able to log in after a Docker based installation #1028

Open
LaszloKecskes opened this issue Feb 12, 2025 · 1 comment
Open

[Bug]: Not able to log in after a Docker based installation #1028

LaszloKecskes opened this issue Feb 12, 2025 · 1 comment

Comments

@LaszloKecskes
Copy link

Where is the problem occurring?

I encountered the problem while using the application (Frontend)

What browsers are you seeing the problem on?

Firefox

Current behaviour

After following the docker guide (https://docs.planka.cloud/docs/installation/docker/production_version) I was not able to log in with the credentials provided in the docker compose.

Desired behaviour

According to the guide, after "docker-compose up" Planka should accept the credentials without any extra steps.

Steps to reproduce

1, Follow the docker guide: https://docs.planka.cloud/docs/installation/docker/production_version
2, Open localhost:3000 in Firefox.
3, Try to log in.
4, The error message "Invalid credentials" pops up.

Other information

I am on Ubuntu 22.04.

The issue behaves the same as issue #1018. After entering the planka-postgres-1 container and running the query:
'''
SELECT * FROM user_account;
'''
the table was empty.

By following the later comment (#1018 (comment)), running
'''
DEFAULT_ADMIN_EMAIL='[email protected]' DEFAULT_ADMIN_PASSWORD='demo' DEFAULT_ADMIN_NAME='Demo Demo' DEFAULT_ADMIN_USERNAME='demo' npm run db:init
'''
in the planka-planka-1 container, the issue was resolved and I was able to log in normally.

@meltyshev
Copy link
Member

Hi! Thanks for reporting this. I'll definitely check it again.

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

2 participants