Template: status/500 - repo/branch_dropdown:12:82 #7851

Closed
opened 2025-11-02 07:39:13 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @rgarofalo on GitHub (Sep 15, 2021).

  • Gitea version (or commit ref): 1.15.2 built with GNU Make 4.3, go1.16.7 : bindata, timetzdata, sqlite, sqlite_unlock_notify

  • Git version: 2.30.2

  • Operating system: docker

  • Database (use [x]):

    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:

    • Yes (provide example URL)
    • [x ] No
  • Log gist:

2021/09/15 18:24:29 ...s/context/context.go:195:HTML() [E] Render failed: template: repo/branch_dropdown:12:82: executing "repo/branch_dropdown" at <.root.BranchName>: invalid value; expected string
2021/09/15 18:24:29 ...s/context/context.go:185:HTML() [D] Template: status/500

Description

I did an update of gitea to the latest version and every time I try to open a repo it gives me error 500

Originally created by @rgarofalo on GitHub (Sep 15, 2021). - Gitea version (or commit ref): 1.15.2 built with GNU Make 4.3, go1.16.7 : bindata, timetzdata, sqlite, sqlite_unlock_notify - Git version: 2.30.2 - Operating system: docker - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x ] No - Log gist: ``` 2021/09/15 18:24:29 ...s/context/context.go:195:HTML() [E] Render failed: template: repo/branch_dropdown:12:82: executing "repo/branch_dropdown" at <.root.BranchName>: invalid value; expected string 2021/09/15 18:24:29 ...s/context/context.go:185:HTML() [D] Template: status/500 ``` ## Description I did an update of gitea to the latest version and every time I try to open a repo it gives me error 500
Author
Owner

@lafriks commented on GitHub (Sep 15, 2021):

Are you using custom templates?

@lafriks commented on GitHub (Sep 15, 2021): Are you using custom templates?
Author
Owner

@rgarofalo commented on GitHub (Sep 15, 2021):

No

Il mer 15 set 2021, 18:58 Lauris BH @.***> ha scritto:

Are you using custom templates?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/go-gitea/gitea/issues/17062#issuecomment-920200848,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWNKSIB4KQPIISXJ4TMCXTUCDGEVANCNFSM5EC4GZ4A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@rgarofalo commented on GitHub (Sep 15, 2021): No Il mer 15 set 2021, 18:58 Lauris BH ***@***.***> ha scritto: > Are you using custom templates? > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/go-gitea/gitea/issues/17062#issuecomment-920200848>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAWNKSIB4KQPIISXJ4TMCXTUCDGEVANCNFSM5EC4GZ4A> > . > Triage notifications on the go with GitHub Mobile for iOS > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> > or Android > <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. > >
Author
Owner

@zeripath commented on GitHub (Sep 15, 2021):

What version did you update from?

Does your app.ini set [repository] ROOT?

@zeripath commented on GitHub (Sep 15, 2021): What version did you update from? Does your app.ini set `[repository]` `ROOT`?
Author
Owner

@rgarofalo commented on GitHub (Sep 15, 2021):

What version did you update from?
1.12

Does your app.ini set [repository] ROOT?
yes

however I solved it by recreating the container, thanks for the quick support

@rgarofalo commented on GitHub (Sep 15, 2021): > What version did you update from? 1.12 > Does your app.ini set [repository] ROOT? yes however I solved it by recreating the container, thanks for the quick support
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7851