Issues with Gitea Migration: User Authentication Errors

Hello everyone,

I hope this message finds you well. I am currently facing issues while attempting to migrate a repository from one Gitea instance to another, and I would greatly appreciate any assistance.

Background:

I am trying to migrate a repository from a source Gitea server to a destination Gitea server. However, during the migration process, I encountered an error related to user authentication.

Error Message:

The logs indicate the following error:

Additionally, here are some relevant log entries:

2024/10/29 16:31:04 …eb/routing/logger.go:102:func1() [I] router: completed GET /api/v1/version for 172.18.0.2:55484, 401 Unauthorized in 0.4ms @ v1/api.go:748(v1.Routes.apiAuth)
2024/10/29 16:31:04 …/gitea_downloader.go:92:NewGiteaDownloader() [E] Failed to create NewGiteaDownloader for:http://gitea. Error: user does not exist [uid: 0, name: ]
2024/10/29 16:31:04 …ices/task/migrate.go:60:func1() [E] runMigrateTask[12] by DoerID[3] to RepoID[12] for OwnerID[3] failed: user does not exist [uid: 0, name: ]
2024/10/29 16:31:04 …ervices/task/task.go:53:handler() [E] Run task failed: user does not exist [uid: 0, name: ]

I am using the same user account on the destination Gitea instance as is present on the source Gitea server, and I also have a proper authentication token with the necessary permissions.

Could you please help me understand why I am facing this issue? Any guidance or suggestions would be immensely appreciated.

Thank you for your time and assistance!