-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
creating issue cause an error 500 #16814
Comments
Looks like postgres doesn't like this statement (introduced in #15599) Lines 29 to 32 in 06f8264
edit: your postgres version is old, you may want to consider upgrading (not sure what the minimum supported version by gitea is, I suspect 10) |
ON CONFLICT was added to Postgres in version 9.5. I'm not sure we can really support postgres that does not have this |
Since postgres has coming into v12, I think v9.5 is the minimal requirement. I myself had tested this PR before it merged in my postgres 9.5 instance. |
Hello, After migrating on gitea 1.15.1 with postgres 12 :
|
See: #16936
|
[x]
):2021/08/24 23:51:38 ...rs/web/repo/issue.go:983:NewIssuePost() [E] NewIssue: generate issue index failed: pq: syntax error at or near "ON"
2021/08/24 23:51:38 ...s/context/context.go:185:HTML() [D] Template: status/500
Description
After submitting the new issue form the error 500 occurred
The text was updated successfully, but these errors were encountered: