status/500 template seems can not loads #8584

Closed
opened 2025-11-02 08:11:43 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @almas on GitHub (Feb 19, 2022).

Gitea Version

1.16.1

Git Version

2.25.1

Operating System

Ubuntu 20.04 server

How are you running Gitea?

With systemd with RUN_MODE=prod configuration with 64 bit binary for linux.

Database

MySQL

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Description

Message: "Unable to find status/500 template"

When I create a custom template with error. Then text above shown without any style.

It might not bug. But just to be sure I reporting this.

Screenshots

No response

Originally created by @almas on GitHub (Feb 19, 2022). ### Gitea Version 1.16.1 ### Git Version 2.25.1 ### Operating System Ubuntu 20.04 server ### How are you running Gitea? With systemd with RUN_MODE=prod configuration with 64 bit binary for linux. ### Database MySQL ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Description Message: "Unable to find status/500 template" When I create a custom template with error. Then text above shown without any style. It might not bug. But just to be sure I reporting this. ### Screenshots _No response_
Author
Owner

@trepmag commented on GitHub (Feb 24, 2022):

In my case I was overriding the head_navbar.tmpl which was throwing a Render failed: template: base/head_navbar... under 1.16...

Check you gitea.log...

@trepmag commented on GitHub (Feb 24, 2022): In my case I was overriding the `head_navbar.tmpl` which was throwing a `Render failed: template: base/head_navbar...` under 1.16... Check you `gitea.log`...
Author
Owner

@qduff commented on GitHub (Mar 12, 2022):

I seem to have the same issue here. I first created and modified head_navbar.tmpl, and it worked perfectly, however when I create footer_content.tmpl and paste in the contents of the footer_content.tmpl that is in this repo, I receive a Unable to find status/500 template error.

I am interested to know if anyone also has this issue.

@qduff commented on GitHub (Mar 12, 2022): I seem to have the same issue here. I first created and modified head_navbar.tmpl, and it worked perfectly, however when I create footer_content.tmpl and paste in the contents of the footer_content.tmpl that is in this repo, I receive a `Unable to find status/500 template` error. I am interested to know if anyone also has this issue.
Author
Owner

@lunny commented on GitHub (Mar 13, 2022):

Please check your custom templates are correct.

@lunny commented on GitHub (Mar 13, 2022): Please check your custom templates are correct.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8584