-
-
Notifications
You must be signed in to change notification settings - Fork 841
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
After installing in high availability mode, gitea was rebooted, and after the reboot, gitea went down because the init container configure-gitea
failed to run.
- I have read the documentation
- I have searched open issues
To reproduce
Steps to reproduce the behavior:
- Install Homelab
- Stop gitea
- See error log
Expected behavior
Please guide me step by step on how to troubleshoot this problem.
Logs and screenshots
init container configure-gitea
logs: Command error: pq: cannot execute UPDATE in a read-only transaction
==== BEGIN GITEA CONFIGURATION ====
2024/11/05 07:47:40 cmd/migrate.go:33:runMigrate() [I] AppPath: /usr/local/bin/gitea
2024/11/05 07:47:40 cmd/migrate.go:34:runMigrate() [I] AppWorkPath: /data
2024/11/05 07:47:40 cmd/migrate.go:35:runMigrate() [I] Custom path: /data/gitea
2024/11/05 07:47:40 cmd/migrate.go:36:runMigrate() [I] Log path: /data/log
2024/11/05 07:47:40 cmd/migrate.go:37:runMigrate() [I] Configuration file: /data/gitea/conf/app.ini
2024/11/05 07:47:40 [email protected]/command.go:267:Run() [I] PING DATABASE postgres
2024/11/05 07:47:40 [email protected]/command.go:267:Run() [W] Table oauth2_application Column confidential_client db default is true, struct default is TRUE
2024/11/05 07:47:40 [email protected]/command.go:267:Run() [W] Table system_setting Column version db default is , struct default is 1
2024/11/05 07:47:40 [email protected]/command.go:267:Run() [W] Table user Column max_repo_creation db default is '-1', struct default is -1
2024/11/05 07:47:41 [email protected]/command.go:267:Run() [W] Table label Column archived_unix db default is , struct default is NULL
Wait for redis to become avialable...
gitea-redis-cluster-headless.gitea.svc.cluster.local (10.0.0.21:6379) open
Admin account 'gitea_admin' already exist. Running update to sync password...
Command error: pq: cannot execute UPDATE in a read-only transaction
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working