You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upgraded from Gogs 0.9.x to Gitea 1.12.3 by creating schema in Gitea 1.0.0, then copying only data from Gogs. Then I run through upgrade process minor release-by-minor-release from Gitea 1.0.0 to 1.12.3
Now whatever I do I have 500 error caused by incorrectly set up sequences. It seems that the sequences are even not correctly set up in the schema, probably not linked to the columns as resetting sequences does not work.
Finally resolved by resetting sequences with help of #740 (comment)
The query from official PostgreSQL wiki didn't work. I went through tables one-by-one and reset the sequences.
I recall another problem with Postgres Sequences in the past and had to add the below to our test_fixtures code to get postgres to sort out the sequences:
[x]
):Description
I upgraded from Gogs 0.9.x to Gitea 1.12.3 by creating schema in Gitea 1.0.0, then copying only data from Gogs. Then I run through upgrade process minor release-by-minor-release from Gitea 1.0.0 to 1.12.3
Now whatever I do I have 500 error caused by incorrectly set up sequences. It seems that the sequences are even not correctly set up in the schema, probably not linked to the columns as resetting sequences does not work.
Tried already:
No luck.
The text was updated successfully, but these errors were encountered: