Render failed, failed to render template #12641

Closed
opened 2025-11-02 10:16:55 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @ronaldocherokee on GitHub (Mar 13, 2024).

Description

Problem to access TAB Packages after upgrade from 1.21.7 to 1.21.8.

				<a href="{{.FullWebLink}}">{{.Package.Name}}</a>
				           ^

Gitea Version

1.21.8

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image

Git Version

No response

Operating System

Docker (gitea/gitea:1.21.8)

How are you running Gitea?

Docker image: gitea/gitea:1.21.8

Database

SQLite

Originally created by @ronaldocherokee on GitHub (Mar 13, 2024). ### Description Problem to access TAB Packages after upgrade from 1.21.7 to 1.21.8. Render failed, failed to render template: repo/packages, error: template error: builtin(bindata):package/shared/list:23:16 : executing "package/shared/list" at <.FullWebLink>: can't evaluate field FullWebLink in type *packages.PackageDescriptor ---------------------------------------------------------------------- <a href="{{.FullWebLink}}">{{.Package.Name}}</a> ^ ---------------------------------------------------------------------- ### Gitea Version 1.21.8 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots ![image](https://github.com/go-gitea/gitea/assets/108280406/b5f58152-1cf7-4aa7-9e23-51e39bfd0085) ### Git Version _No response_ ### Operating System Docker (gitea/gitea:1.21.8) ### How are you running Gitea? Docker image: gitea/gitea:1.21.8 ### Database SQLite
GiteaMirror added the type/bugissue/workaround labels 2025-11-02 10:16:56 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Mar 13, 2024):

Sorry for the inconvenience.

  • Known Issues
    • Browsing "packages" pages might cause 500 error, it could be fixed by updating to pre-1.21.9:
@wxiaoguang commented on GitHub (Mar 13, 2024): Sorry for the inconvenience. * Known Issues * Browsing "packages" pages might cause 500 error, it could be fixed by updating to pre-1.21.9: * Docker image: use `gitea/gitea:1.21-nightly` and `gitea/gitea:1.21-nightly-rootless` * Binary: download from https://dl.gitea.com/gitea/1.21/
Author
Owner

@lunny commented on GitHub (Mar 14, 2024):

Fixed by #29764

@lunny commented on GitHub (Mar 14, 2024): Fixed by #29764
Author
Owner

@silverwind commented on GitHub (Mar 16, 2024):

New 1.21 release with the fix should be forthcoming soon.

@silverwind commented on GitHub (Mar 16, 2024): New 1.21 release with the fix should be forthcoming soon.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12641