Error when creating new repo: branch does not have any commits #18413
Labels
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
type/bug
Milestone
Gitea Version
1.16.0+rc1
Git Version
2.30.2
Operating System
Ubuntu server 20.04.3 LTS
How are you running Gitea?
Running on docker, config file:
Database
PostGres
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
https://gist.github.com/mmoomocow/6eb9413b0d756551ebe8b225a890e730
Description
I created a repo, and set the default branch to main
Then when attempting to view the repo it shows error 500 and the error appears in the logs.
Repo on demo site mmoomocow/test
Screenshots
The text was updated successfully, but these errors were encountered: