500 Internal Server Error - After creating a new organisation repository #516

Closed
opened 2021-09-08 11:47:57 +02:00 by 0xbrigles · 4 comments
Image

Hey there.

After a click on "Create Repository" i get a 500 error.
This issue only happens when i try to create a new repo for an organisation. I created some organisation level repositorys a few days ago without this error. If i create the new repo in the main account it works also without any errors. I've tried this on different organisations and the error is still the same. Also tried to change the name but without any luck. I cant find a related post on github related to this topic. There are many 500 issues but not in this context. Maybe someone has solved this problem or it is temporaly.


upstream: https://github.com/go-gitea/gitea/pull/16988

Hey there. After a click on "Create Repository" i get a 500 error. This issue only happens when i try to create a new repo for an organisation. I created some organisation level repositorys a few days ago without this error. If i create the new repo in the main account it works also without any errors. I've tried this on different organisations and the error is still the same. Also tried to change the name but without any luck. I cant find a related post on github related to this topic. There are many 500 issues but not in this context. Maybe someone has solved this problem or it is temporaly. --- upstream: https://github.com/go-gitea/gitea/pull/16988
Image

error: updateUser: visibility Mode not allowed: private

models/repo.go -> func CreateRepository
it's happening avter line 1122

error: `updateUser: visibility Mode not allowed: private` models/repo.go -> func CreateRepository it's happening avter line 1122
Image
fix: https://github.com/go-gitea/gitea/pull/16988
Image
Owner

This is deployed now, thanks @6543

@0xbrigles can you confirm and close?

This is deployed now, thanks @6543 @0xbrigles can you confirm and close?
Image
Author

It works. Now i can create a repository in organisations again.
Many thanks for this.

It works. Now i can create a repository in organisations again. Many thanks for this.
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg/Community#516
No description provided.