Fix admin user creation for gitea 1.13.0, chart version 2.1.0 #80

Merged
lunny merged 3 commits from fix-admin-user-creation into master 2020-12-10 09:16:14 +00:00
Member
  • Fix admin user creation (#79)
  • Extend README with LoadBalancer hint for SSH (#72)

Even though this fixes the admin user creation for 1.13.0. It will not fix the admin users created before gitea 1.13.0 (Chart 2.1.0).

To fix those Admins you can:

  • Login to your gitea Container
  • Create another admin account
  • Login with new admin
  • Remove old admin from all organisations
  • Delete old admin
  • Rerun helm install or create your old admin again

After this the helm chart is upgradeable again and the admin user will persist.

Command to create a new admin user:

gitea admin create-user --username  myAdmin --password 'myPassword123 --email my@admin.com --admin --must-change-password=false

Please keep in mind, that I currently don't know why the existing admins are unable to login after the upgrade, so this is a workaround to get your admin back and prevention for those problems for new installations of gitea.

- Fix admin user creation (#79) - Extend README with LoadBalancer hint for SSH (#72) Even though this fixes the admin user creation for 1.13.0. It will not fix the admin users created before gitea 1.13.0 (Chart 2.1.0). To fix those Admins you can: - Login to your gitea Container - Create another admin account - Login with new admin - Remove old admin from all organisations - Delete old admin - Rerun helm install or create your old admin again After this the helm chart is upgradeable again and the admin user will persist. Command to create a new admin user: ```bash gitea admin create-user --username myAdmin --password 'myPassword123 --email my@admin.com --admin --must-change-password=false ``` Please keep in mind, that I currently don't know why the existing admins are unable to login after the upgrade, so this is a workaround to get your admin back and prevention for those problems for new installations of gitea.
luhahn added 2 commits 2020-12-08 09:38:25 +00:00
Fix admin user creation for gitea 1.13.0
All checks were successful
continuous-integration/drone/push Build is passing
e453147f4f
Add load balancer hint for ssh in README
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
623e9d38b7
Author
Member

Tested on my clusters:

  • With existing admins

  • Newly created admins

  • Admins created prior 1.13.0 will remain unavailable!

Tested on my clusters: - With existing admins - Newly created admins - Admins created prior 1.13.0 will remain unavailable!
luhahn changed title from Fix admin user creation for gitea 1.13.0, chart version 2.1.0 to WIP: Fix admin user creation for gitea 1.13.0, chart version 2.1.0 2020-12-08 10:37:27 +00:00
luhahn changed title from WIP: Fix admin user creation for gitea 1.13.0, chart version 2.1.0 to Fix admin user creation for gitea 1.13.0, chart version 2.1.0 2020-12-08 16:44:49 +00:00
Author
Member

This is needed for 1.13.0 admin creation

This is needed for 1.13.0 admin creation
luhahn added 1 commit 2020-12-09 07:22:00 +00:00
Merge branch 'master' into fix-admin-user-creation
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
d34cb8cfd7
zeripath approved these changes 2020-12-10 09:01:11 +00:00
Dismissed
lunny approved these changes 2020-12-10 09:16:08 +00:00
Dismissed
lunny merged commit 5311243a6e into master 2020-12-10 09:16:14 +00:00
Sign in to join this conversation.
No description provided.