Pull Request fails with an internal error 500

I’ve just setup GOGS and GIT on a server, but I am having an issue when I push a branch called test into GOGS, it works fine and I can see my changes, in this case just a single file.
Where I am having a problem is creating a Pull request, when I do this, I get an internal server error 500?

I get the following error:
exit status 128 - fatal: destination path ‘data/tmp/local-repo/1’ already exists and is not an empty directory.
Under the data directory all I see is a folder called avatar.

I’m using version with MSSQL 2012

Has anyone any ideas?

Try restart Gogs, it should cleanup data/tmp directory.