-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedissue/criticalThis issue should be fixed ASAP. If it is a PR, the PR should be merged ASAPThis issue should be fixed ASAP. If it is a PR, the PR should be merged ASAPtype/bug
Milestone
Description
Gitea Version
itea version 1.16.0+rc1 built with GNU Make 4.3, go1.17.6 : bindata, timetzdata, sqlite, sqlite_unlock_notify
Git Version
git version 2.30.2
Operating System
Docker(QNAP Container Station)
How are you running Gitea?
User Docker(QNAP Container Station)。Reference https://www.anchorpoint.app/blog/setting-up-a-self-hosted-git-server
Database
PostgreSQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
I've been using it without problems until today。
When I access the site administration page, I get a 500 error 。
log:
2022/02/10 10:32:20 Completed GET /user/events 200 OK in 14m13.091847516s
2022/02/10 10:32:20 ...s/context/context.go:206:HTML() [E] Render failed: template: admin/dashboard:8:90: executing "admin/dashboard" at <Str2html>: invalid value; expected string
2022/02/10 10:32:20 Completed GET /admin 500 Internal Server Error in 42.299935ms
2022/02/10 10:32:21 Started GET /user/events for 192.168.5.51:55427
Screenshots
Metadata
Metadata
Assignees
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedissue/criticalThis issue should be fixed ASAP. If it is a PR, the PR should be merged ASAPThis issue should be fixed ASAP. If it is a PR, the PR should be merged ASAPtype/bug
Type
Projects
Relationships
Development
Select code repository
Activity
wxiaoguang commentedon Feb 10, 2022
Please upgrade to 1.16.1, and feel free to reopen if there is still an issue.
wxiaoguang commentedon Feb 10, 2022
Hmm, I found that there is a bug:
Introduced by:
Need to improve:
"
<a>
should havetarget=_blank
{{.AppVer ...
is incorrect, "AppVer" is a function, so it should be{{AppVer ...}}
[-]Error 500 on admin users dashboard[/-][+]Error 500 on admin users dashboard when there is a new version[/+]