Fatal: 'pi/myrepo.git' does not appear to be a git repository

Hello.

I’d like to ask some help. I’ve a raspberry and I’m running Gitea for a year. I used it time to time, but now I’d to use more often. I mostly used from the raspberry with ssh, but now I’d to develop on my Windows machine as well. Before I could use it, but now I couldn’t.

My Gitea version is 1.7.6. I’ve used the 1.8 branch some time, but from one day to another it just doesn’t started up and I had to go back to the 1.7 branch. And no, the arm6 version doesn’t work either from the 1.8 branch.

When I want to push from my Windows machine I got this error:

fatal: 'pi/myrepo.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I’ve already removed/added the ssh keys (I’ve always used the web interface to add/remove them).
I’ve tested, the ssh keys are working, I can log in to my raspberry.
I’ve disable lfs as well.

Please help, I want to figure out this error for a week, but I’m lost. Sorry for my bad English.