[GH-ISSUE #51] Syncing failed errors #25

Closed
opened 2026-02-27 15:54:37 +03:00 by kerem · 3 comments
Owner

Originally created by @nick22985 on GitHub (Jul 22, 2025).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/51

A few issues i have trying to sync my github to gitea

  1. HTTP 401: Unauthorized - {"message":"user does not exist [uid: 0, name: ]","url":"https://gitea.url/swagger"}
Sync failed for repo wakatime-api: 803 |         details: error.message,
Event published successfully with ID dcd74f86-1ffd-4818-97d5-2f4ac41f56b4
804 |         status: repoStatusEnum.parse("failed")
805 |       });
806 |     }
807 |     if (error instanceof Error) {
808 |       throw new Error(`Failed to sync repository: ${error.message}`);
                  ^
error: Failed to sync repository: HTTP 401: Unauthorized - {"message":"user does not exist [uid: 0, name: ]","url":"https://gitea.url/api/swagger"}
  1. some repos dont sync due to a error that is "decryptedConfig is not defined"
Error message: Failed to mirror repository: Failed to mirror repository: decryptedConfig is not defined
Attempts made: 3
Stack trace: Error: Failed to mirror repository: Failed to mirror repository: decryptedConfig is not defined
    at mirrorGitHubOrgRepoToGiteaOrg (/app/dist/server/chunks/gitea_xa7CfxS_.mjs:581:17)
    at processTicksAndRejections (native:7:39)
  1. I tried using 3.1.0 but I get Error response from daemon: manifest unknown
Originally created by @nick22985 on GitHub (Jul 22, 2025). Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/51 A few issues i have trying to sync my github to gitea 1. HTTP 401: Unauthorized - {"message":"user does not exist [uid: 0, name: ]","url":"https://gitea.url/swagger"} ``` Sync failed for repo wakatime-api: 803 | details: error.message, Event published successfully with ID dcd74f86-1ffd-4818-97d5-2f4ac41f56b4 804 | status: repoStatusEnum.parse("failed") 805 | }); 806 | } 807 | if (error instanceof Error) { 808 | throw new Error(`Failed to sync repository: ${error.message}`); ^ error: Failed to sync repository: HTTP 401: Unauthorized - {"message":"user does not exist [uid: 0, name: ]","url":"https://gitea.url/api/swagger"} ``` 2. some repos dont sync due to a error that is "decryptedConfig is not defined" ``` Error message: Failed to mirror repository: Failed to mirror repository: decryptedConfig is not defined Attempts made: 3 Stack trace: Error: Failed to mirror repository: Failed to mirror repository: decryptedConfig is not defined at mirrorGitHubOrgRepoToGiteaOrg (/app/dist/server/chunks/gitea_xa7CfxS_.mjs:581:17) at processTicksAndRejections (native:7:39) ``` 3. I tried using 3.1.0 but I get `Error response from daemon: manifest unknown`
kerem closed this issue 2026-02-27 15:54:38 +03:00
Author
Owner

@arunavo4 commented on GitHub (Jul 23, 2025):

Hi @nick22985 please try this version docker pull ghcr.io/raylabshq/gitea-mirror:v3.1.1

<!-- gh-comment-id:3105340260 --> @arunavo4 commented on GitHub (Jul 23, 2025): Hi @nick22985 please try this version `docker pull ghcr.io/raylabshq/gitea-mirror:v3.1.1`
Author
Owner

@nick22985 commented on GitHub (Jul 23, 2025):

Hey @arunavo4 that has seeemed to of fixed those errors thanks! Now getting these ones but you may wanna split that off into another issue if you want.

these seem to occur on starred repos only

<!-- gh-comment-id:3105531480 --> @nick22985 commented on GitHub (Jul 23, 2025): Hey @arunavo4 that has seeemed to of fixed those errors thanks! Now getting these ones but you may wanna split that off into another issue if you want. these seem to occur on starred repos only - [ ] HTTP 400: Bad Request - {"message":"Repository is not a mirror","url":"https://gitea.ui.com/api/swagger"} - [ ] Error: Failed to create Gitea org: {"message":"insert organization: pq: duplicate key value violates unique constraint \"UQE_user_lower_name\"","url":"https://gitea.url.com/api/swagger"}
Author
Owner

@arunavo4 commented on GitHub (Jul 31, 2025):

@nick22985 these two issues has been addressed can you try v3.2.0

<!-- gh-comment-id:3138804927 --> @arunavo4 commented on GitHub (Jul 31, 2025): @nick22985 these two issues has been addressed can you try v3.2.0
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/gitea-mirror#25
No description provided.