[FATAL] [gogs.io/gogs/internal/db/repo.go:130 NewRepoContext()] Failed to set git user.name(exit status 255): error: could not lock config file /etc/gogs/.gitconfig: File exists

System: DietPi (raspbian)
Database: mariadb
Git Version: 2.20.1
Gogs Version: gogs_0.12.3
Install: gogs_0.12.3_linux_armv7.tar.gz
Error (gogs.log): 2021/03/02 21:33:09 [FATAL] [gogs.io/gogs/internal/db/repo.go:130 NewRepoContext()] Failed to set git user.name(exit status 255): error: could not lock config file /etc/gogs/.gitconfig: File exists

Hey, I’ve got no clue what’s going on… This just happened randomly one day, not sure If possibly I caused it in some unknowing way but I’m getting this error. I’ve tried to remove the /etc/gogs/.gitconfig but that changed nothing…
Any help would be muchly appreciated, I have lots of code backed up in my gogs and to be honest, wouldn’t even know where to start if I was to need to reinstall.