-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Description
Description
I am in the process of migrating from the old gitolite3 repository to gitea.
I have migrated 8 repositories correctly however with 3 I have a problem. The problem is that in the Gitea GUI and in the postgress database in the "branch" table I see only a few of the dozen branches. These branches are present after downloading the code from the new gitea repository however I can't see them in the GUI.
Running the "Sync missed branches from git data to databases" option doesn't help, and I only see a few errors in the logs:
2023/12/12 17:32:54 ...repository/branch.go:384:handlerBranchSync() [E] syncRepoBranches [32] failed: pq: invalid byte sequence for encoding "UTF8": 0xea 0x6b 0x73
2023/12/12 17:32:54 ...repository/branch.go:384:handlerBranchSync() [E] syncRepoBranches [24] failed: pq: invalid byte sequence for encoding "UTF8": 0xbf
In a nutshell what I did:
- I downloaded the old repository to a local drive along with all the branches.
- I added a second origin pointing to the gitea server in the same directory.
- I uploaded all the branches to the new gitea repository.
- in the GUI I see only a few branches, after downloading from the new repo I see all the branches.
I suspect this has to do with coding some commit or other special character topics. How to solve this problem?
Gitea Version
1.21.1 (in docker & postgresql)
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
No response
Operating System
official docker image, postgresql
How are you running Gitea?
docker
Database
PostgreSQL