-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
500 Error after changing the repository branch #1836
Comments
@ethantkoenig I don't know why, but I still 500 errors in some repos in one of my instances:
Seems the problem is the ending In the repos I don't get 500 errors, the page never returns and the CPU usage of Gitea process spikes. Seems an infinite loop. This instance is on Windows. Stangely, it still works on other instances of Gitea. Old version also works fine. I suggest to revert these changes temporarely, until we got to fix them. |
@andreynering I have a few questions:
|
No, it's not. Actually, it's a very old commit, from about 1 month ago.
Other repos, but tried and works fine on other instance, also if I rollback to old Gitea version. I don't think the repos are the problem.
Mostly the default options. I could not reproduce in another instance, even on Windows. |
I also tried to update to latest version of Git with no change. |
@andreynering Sorry, I should have been more clear; by "first" I meant the oldest commit (i.e. the very first commit made to the repo), not the latest commit |
Oh, yes, it is the first commit of this repo. |
@andreynering Could you do the following:
Since I don't think I'll be able to reproduce the bug locally, we'll unfortunately need to resort to some form of remote debugging. |
Unfortunaly I can't make this repos public. I'll try with open source ones later. Also the log contains filenames, so I'll omit. But it prints the same thing over and over again. After some debugging seems this line causes the infinite loop. |
@andreynering Could you show the exact line that gets printed over and over? If you have to sanitize filenames, that's fine |
@andreynering Thank you! I think I've found the bug, can you confirm that go-gitea/git#59 fixes the problem? |
@appleboy this issue can't be closed while gitea git godep is not updated |
@lafriks OK. reopened. |
@ethantkoenig Sorry for the delay. go-gitea/git#59 fixed the issue. #1888 updates Thank you very much. |
Ops, now there's infine loops while listing some repo folders. But #1888 can be merged first. |
[x]
):Description
I forked/cloned a repository from Github to Gitea.
If I switch within this repository from the master branch to an other branch or tag then I got a 500 Error Website.
It could be that my repository is very screwed-up but I need the other branches :o)
You can find the repository here: https://try.gitea.io/oszilloskop/site-ffffm
The text was updated successfully, but these errors were encountered: