-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Settings->Repositories causing "500" error if the user (the user is an admin) has not created/owned any repository #14189
Comments
please give us logs, |
seriously if you just gave us logs I would be able to sort this out without having to fire up a gitea instance. |
2020/12/30 16:54:48 ...r/setting/profile.go:257:Repos() [E] filepath.Walk: lstat /data/git/repositories/administrator: no such file or directory |
which comes from: gitea/routers/user/setting/profile.go Line 257 in 632800e
and actually from: gitea/routers/user/setting/profile.go Lines 235 to 236 in 632800e
because the user directory doesn't exist. We simply need to ensure it does. |
[x]
):] No
Description
logged in user is a site admin who has not created or own any repository. Would get "500" error (screen shot attached) when choose Settings->Repositories tab.
Screenshots
The text was updated successfully, but these errors were encountered: