-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Internal Server Error upon creating new pre-initialized repository #3206
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
Comments
@lunny but it should fail with normal error message not with internal server error |
This error can currently be reproduced with the demo site: https://try.gitea.io/repo/create |
hmm... @Larivact how did you replicate this on try? |
I think I agree with @lafriks though - it shouldn't be a 500, we should probably handle this more nicely and just adopt the repository informing the user. |
I created an account and attempted to create a repository entering just a name and checking |
@Larivact that's a very likely a different bug - this bug is specifically about the case where you have repositories already in your gitea-repositories directory and you are effectively trying to get gitea to adopt these new repos. Did you manage to do this on try? If so, please explain how you did this. If not, you should open a new bug report for the issue you experienced, and try to tell us as much information about how you got the 500 as possible as I can't replicate this immediately at present. |
@Larivact haven't reproduce on try.gitea.io, could you give more details? |
I apologize for commenting on the wrong issue. I encountered a different bug, for which I just opened #5772. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
I ran into this today as well (I'm new to Gitea and it was my first repo). After selecting to create the repo i got a 500 error (as above). |
As of bdf1856 (1.3.0-dev) installed locally, creating a new repository and requesting to initialize it ends up returning a 500 internal server error.
Console outputs do not show anything interesting other than:
Log shows:
At the end of this, on the filesystem there's no such repository
The text was updated successfully, but these errors were encountered: