I had to delete /var/lib/private/gitea-runner in addition to this change (since I was migrating to a new git server).