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

Invalid user or password or the account is blocked due to multiple failed login attempts. If so, it will be unblocked automatically in a short time. #80

Open
zhongsdjn opened this issue Jul 8, 2024 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@zhongsdjn
Copy link

git clone https://github.com/opf/openproject-deploy --depth=1 --branch=stable/14 openproject
OS: Ubuntu22
Hi,When I finished installing with docker,Thd default Username: admin,Password:admin ,But it says the wrong thing
Invalid user or password or the account is blocked due to multiple failed login attempts. If so, it will be unblocked automatically in a short time.

I installed this on different machines,always the same!

@RakshitKumar04
Copy link

RakshitKumar04 commented Jul 10, 2024

I am facing the same issue, I installed open project using the steps mention in Docker compose on the GitHub repo but everytime I used the login credentials it show the message

Screenshot from 2024-07-10 11-34-47

@lancelee25
Copy link

I got the same problem. When I logged the seeder container, I found "rake aborted!
Errno::EACCES: Permission denied @ dir_s_mkdir - /var/openproject/assets/files (Errno::EACCES)".
So, I changed the owner of $OPDATA directory in the host.
chown 1000 /data/openproject/assets
Then up docker compose, logging with default password will be succeeded.

@mariogalan
Copy link

If you change in the .env file the TAG directive from TAG=14-slim to TAG=14 the admin user is properly created.

tiroessler added a commit that referenced this issue Oct 11, 2024
@tiroessler tiroessler added the documentation Improvements or additions to documentation label Oct 11, 2024
@tiroessler
Copy link
Contributor

The OpenProject slim container runs on UID 1000.
So you need to make sure that the path you mounted to your docker container has the right ownership.
If you are using the defualt from the .env.example value this is /var/openproject/assets.
You can use the following command to set the right ownership:

sudo chown 1000:1000 -R /var/openproject/assets

I added a PR to add the right instructions to the documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Development

No branches or pull requests

5 participants