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

Can't change root password in Deploy All-in-One docker Image #13

Open
MasterMong opened this issue Oct 30, 2023 · 1 comment
Open

Can't change root password in Deploy All-in-One docker Image #13

MasterMong opened this issue Oct 30, 2023 · 1 comment

Comments

@MasterMong
Copy link

MasterMong commented Oct 30, 2023

Can't change root password because root email to get Verification code is uneditable
https://www.dropbox.com/scl/fi/7zusdb28bvcre5hgztlqd/Screenshot-2023-10-30-172816.png?rlkey=lqhoyfd17yjcys6bre7xiw2nh&dl=1

@Pillenski
Copy link

I've the same problem and ended up modifiying the user in the database.

  1. Open a shell inside your container. For example: docker exec -it illa-builder sh
  2. Use psql to update the user: psql -U postgres -d illa_supervisor -c "UPDATE users SET email = '[email protected]' WHERE nickname = 'root';"

Alternatively you can set the new password as bcrypt hash directly: psql -U postgres -d illa_supervisor -c "UPDATE users SET password_digest = '$2a$10$...' WHERE nickname = 'root';"

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