configure_gitea crash loop when admin user has been renamed via the UI #1519
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Question
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Help wanted
Status
In progress
Status
Need More Info
Status
Needs feedback
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
forgejo-helm/forgejo-helm#1519
Loading…
Reference in a new issue
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?
Bug description
When the initial admin user created by the Helm chart is renamed via the Forgejo UI settings, the
configure_giteainit container crashes on the next pod restart, causing aInit:Errorloop that requires manual database intervention to recover.Steps to reproduce
Error
The init container log shows:
The create fails because user ID 1 already exists in the database under the new name. The script does not know this, so it treats the situation as a missing admin and attempts a creation that is guaranteed to fail.
zugao referenced this issue2026-04-08 09:25:32 +00:00