executing "explore/repo_list" 500 #14652

Closed
opened 2025-11-02 11:19:03 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @xuexin419 on GitHub (Jun 25, 2025).

Description

发生了一个错误:

Render failed, failed to render template: explore/repos, error: template error: builtin(bindata):explore/repo_list:21:19 : executing "explore/repo_list" at <.Owner.Visibility.IsPrivate>: nil pointer evaluating *user.User.Visibility

							{{if .Owner.Visibility.IsPrivate}}
							           ^

Gitea版本: 1.22.1

Gitea Version

Gitea版本: 1.22.1

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Gitea版本: 1.22.1

Database

None

Originally created by @xuexin419 on GitHub (Jun 25, 2025). ### Description 发生了一个错误: Render failed, failed to render template: explore/repos, error: template error: builtin(bindata):explore/repo_list:21:19 : executing "explore/repo_list" at <.Owner.Visibility.IsPrivate>: nil pointer evaluating *user.User.Visibility ---------------------------------------------------------------------- {{if .Owner.Visibility.IsPrivate}} ^ ---------------------------------------------------------------------- Gitea版本: 1.22.1 ### Gitea Version Gitea版本: 1.22.1 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? Gitea版本: 1.22.1 ### Database None
GiteaMirror added the type/bug label 2025-11-02 11:19:03 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Jun 25, 2025):

IIRC it has been fixed in new releases, please upgrade.

@wxiaoguang commented on GitHub (Jun 25, 2025): IIRC it has been fixed in new releases, please upgrade.
Author
Owner

@xuexin419 commented on GitHub (Jun 25, 2025):

怎么升级 

薛新
@.***

@xuexin419 commented on GitHub (Jun 25, 2025): 怎么升级&nbsp; 薛新 ***@***.***
Author
Owner

@wxiaoguang commented on GitHub (Jun 25, 2025):

https://docs.gitea.com/installation/upgrade-from-gitea

@wxiaoguang commented on GitHub (Jun 25, 2025): https://docs.gitea.com/installation/upgrade-from-gitea
Author
Owner

@xuexin419 commented on GitHub (Jun 25, 2025):

Thank you @xiaoguang 

薛新
@.***

@xuexin419 commented on GitHub (Jun 25, 2025): Thank you @xiaoguang&nbsp; 薛新 ***@***.***
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14652