-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error migrate 1.14.7 to 1.15.11 #21344
Comments
The latest supported release is 1.17.x, please try to upgrade to 1.17.2 |
Error with 1.17.2 |
Are you using custom templates? |
I don't think so. How can I be sure? |
You must be using customized templates. https://docs.gitea.io/en-us/customizing-gitea/#customizing-gitea-pages-and-resources Remove your customized templates then Gitea will work well. |
There are repeated issues reported whereby users are unable to interpret the template errors. This PR adds some (somewhat complex) error handling to the panic recovery for template renderering but hopefully makes the interpretation of the error easier. Reference go-gitea#21344 Signed-off-by: Andrew Thornton <art27@cantab.net>
Since it doesn't seem to be a Gitea bug, I will close this issue. Feel free to re-open if you can reproduce it with a fresh setup and confirm it's a bug, or if you would propose some solutions for the edge cases or update the documents to help to future users to get rid of similar problems. |
There are repeated issues reported whereby users are unable to interpret the template errors. This PR adds some (somewhat complex) error handling to the panic recovery for template renderering but hopefully makes the interpretation of the error easier. Reference #21344 Signed-off-by: Andrew Thornton <art27@cantab.net>
Description
I want to migrate from version 1.14.7 to 1.15.11.
The platform is well accessed but when accessing any repository I get a 500 error.
The log shows this:
Render Failed: template: repo/branch_dropdown:12:126: executing "repo/branch_dropdown" at <.root.CommitId>: invalid value; expected string
Template: status/500
What can happen?
Gitea Version
1.15.11
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
1.15.11
Operating System
windows Server
How are you running Gitea?
Windows server + SQL Server
Database
MSSQL
The text was updated successfully, but these errors were encountered: