Requires changing admin password after upgrade #673
Reference in New Issue
Block a user
No description provided.
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?
Hello!
After upgrading from v9.0.4 to v10.2.0 it seems I'm now required to change the password of the configured admin user after upgrading the system.
It seems the password update happens at this line:
1ac39a6f5d/templates/gitea/init.yaml (L117)
And this command now has an option:
Which defaults to
true
so after the command has been run, the password must be changed (again) manually for the user to be active.I'm not sure if there is another way to configure the admin user without having to change the password? Or would this option need to be added to this command?
Thanks for bringing this to our attention. It seems related to https://github.com/go-gitea/gitea/pull/27626 and was not marked as breaking change.
To fix the issue in the Helm Chart, we'd need to add the flag to the command. I remember it being tricky for boolean flags in our context. If you feel comfortable enough, you can open a PR to fix this issue. If you feel extra comfortable, I suggest also make it customizable in values.yaml.
I just tried to replicate this and I failed. Here's what I did:
-> The default
gitea_admin
user was "activated" after login-> No password change request, user still activated
@william-elastisys
Can you share more info about your setup? Are you using a custom username and that user was not the initial admin of that instance?
Hello! Yes, the username of my admin user is just
gitea
:gitea
userThanks! I'll try later with a custom username, maybe this is important point.