Dont know is its a bug or a user config error from my side...., If anything else is needed pls ask
Originally created by @Tailscale-VPS on GitHub (Aug 8, 2025).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/68
Originally assigned to: @arunavo4 on GitHub.
Dont know is its a bug or a user config error from my side...., If anything else is needed pls ask




GiteaMirror
added the bug label 2026-04-11 09:03:53 -05:00
@Tailscale-VPS Hey this was missed out in the last update. I have opened a new PR to address this. Will update you after I test it.
<!-- gh-comment-id:3170193848 -->
@arunavo4 commented on GitHub (Aug 9, 2025):
@Tailscale-VPS Hey this was missed out in the last update. I have opened a new PR to address this. Will update you after I test it.
Tested latest image v3.2.2 after cleaning the data dir.
Still results in same
But this time there was error in logs
Created new job f767f7c9-6c08-4d6f-b7cb-2bf7720f677a with 2 items
Registered active job: f767f7c9-6c08-4d6f-b7cb-2bf7720f677a (1 total active jobs)
Starting mirror for repository: AdrenoToolsDrivers
Starting mirror for repository: winlator
Repository AdrenoToolsDrivers will be mirrored to owner: starred
Repository winlator will be mirrored to owner: starred
[Org Creation] Attempting to get or create organization: starred (attempt 1/3)
[Org Creation] Attempting to get or create organization: starred (attempt 1/3)
[Org Creation] Organization starred already exists with ID: 3
[Org Creation] Organization starred already exists with ID: 3
Mirroring repository AdrenoToolsDrivers to organization starred
Mirroring repository winlator to organization starred
Error while mirroring repository AdrenoToolsDrivers: HTTP 401: Unauthorized - {"message":"user does not exist [uid: 0, name: ]","url":"https://site.example.com/api/swagger"}
Publishing event to channel mirror-status:aNHbyWiR2LW8kqshqtM2BSBzkY8H5ds7 for user aNHbyWiR2LW8kqshqtM2BSBzkY8H5ds7
Event published successfully with ID fa83a66a-7d0a-4c17-8d55-ccb11b3144e2
Retrying repository AdrenoToolsDrivers (attempt 1): Failed to mirror repository: Failed to mirror repository: HTTP 401: Unauthorized - {"message":"user does not exist [uid: 0, name: ]","url":"https://site.example.com/api/swagger"}
Starting mirror for repository: AdrenoToolsDrivers
Repository AdrenoToolsDrivers will be mirrored to owner: starred
[Org Creation] Attempting to get or create organization: starred (attempt 1/3)
[Org Creation] Organization starred already exists with ID: 3
Repository AdrenoToolsDrivers already exists in Gitea organization starred. Updating database status.
Publishing event to channel mirror-status:aNHbyWiR2LW8kqshqtM2BSBzkY8H5ds7 for user aNHbyWiR2LW8kqshqtM2BSBzkY8H5ds7
Event published successfully with ID 0021ade8-980a-4aab-9d5b-e5c76ef4480f
Repository AdrenoToolsDrivers database status updated to mirrored in organization starred
Mirroring progress: 50% (1/2)
Successfully mirrored repository: AdrenoToolsDrivers
<!-- gh-comment-id:3170388272 -->
@Tailscale-VPS commented on GitHub (Aug 9, 2025):
Tested latest image v3.2.2 after cleaning the data dir.
Still results in same




But this time there was error in logs
```
Created new job f767f7c9-6c08-4d6f-b7cb-2bf7720f677a with 2 items
Registered active job: f767f7c9-6c08-4d6f-b7cb-2bf7720f677a (1 total active jobs)
Starting mirror for repository: AdrenoToolsDrivers
Starting mirror for repository: winlator
Repository AdrenoToolsDrivers will be mirrored to owner: starred
Repository winlator will be mirrored to owner: starred
[Org Creation] Attempting to get or create organization: starred (attempt 1/3)
[Org Creation] Attempting to get or create organization: starred (attempt 1/3)
[Org Creation] Organization starred already exists with ID: 3
[Org Creation] Organization starred already exists with ID: 3
Mirroring repository AdrenoToolsDrivers to organization starred
Mirroring repository winlator to organization starred
Error while mirroring repository AdrenoToolsDrivers: HTTP 401: Unauthorized - {"message":"user does not exist [uid: 0, name: ]","url":"https://site.example.com/api/swagger"}
Publishing event to channel mirror-status:aNHbyWiR2LW8kqshqtM2BSBzkY8H5ds7 for user aNHbyWiR2LW8kqshqtM2BSBzkY8H5ds7
Event published successfully with ID fa83a66a-7d0a-4c17-8d55-ccb11b3144e2
Retrying repository AdrenoToolsDrivers (attempt 1): Failed to mirror repository: Failed to mirror repository: HTTP 401: Unauthorized - {"message":"user does not exist [uid: 0, name: ]","url":"https://site.example.com/api/swagger"}
Starting mirror for repository: AdrenoToolsDrivers
Repository AdrenoToolsDrivers will be mirrored to owner: starred
[Org Creation] Attempting to get or create organization: starred (attempt 1/3)
[Org Creation] Organization starred already exists with ID: 3
Repository AdrenoToolsDrivers already exists in Gitea organization starred. Updating database status.
Publishing event to channel mirror-status:aNHbyWiR2LW8kqshqtM2BSBzkY8H5ds7 for user aNHbyWiR2LW8kqshqtM2BSBzkY8H5ds7
Event published successfully with ID 0021ade8-980a-4aab-9d5b-e5c76ef4480f
Repository AdrenoToolsDrivers database status updated to mirrored in organization starred
Mirroring progress: 50% (1/2)
Successfully mirrored repository: AdrenoToolsDrivers
```
@Tailscale-VPS I have tried to make a fix for this, as i cannot recreate this issue on my end. please try v3.2.4 once the CI completes
<!-- gh-comment-id:3170437052 -->
@arunavo4 commented on GitHub (Aug 9, 2025):
@Tailscale-VPS I have tried to make a fix for this, as i cannot recreate this issue on my end. please try v3.2.4 once the CI completes
Tested latest image v3.2.4 after cleaning the data dir.
Still results in same
But this time got some more info in the log
Mirroring repository AdrenoToolsDrivers to organization starred
[HTTP Client] Authentication failed for http://gitea-mirror:3000/api/v1/repos/starred/AdrenoToolsDrivers/releases
[HTTP Client] Response: {"message":"user does not exist [uid: 0, name: ]","url":"https://site.example.com/api/swagger"}
[HTTP Client] Token appears to be invalid or the user account is not properly configured in Gitea
Error while mirroring repository AdrenoToolsDrivers: HTTP 401: user does not exist [uid: 0, name: ]
Publishing event to channel mirror-status:hgTimz072bXoNHZvV3lcC3och8b076bC for user hgTimz072bXoNHZvV3lcC3och8b076bC
Event published successfully with ID 974bb1e4-3237-460e-8436-152ca9232aa9
Retrying repository AdrenoToolsDrivers (attempt 1): Failed to mirror repository: Failed to mirror repository: HTTP 401: user does not exist [uid: 0, name: ]
Starting mirror for repository: AdrenoToolsDrivers
Repository AdrenoToolsDrivers will be mirrored to owner: starred
[Org Creation] Validating user authentication before organization operations
[Org Creation] Authenticated as user: homelab10400 (ID: 1)
[Org Creation] Attempting to get or create organization: starred (attempt 1/3)
[Org Creation] Organization starred already exists with ID: 3
Repository AdrenoToolsDrivers already exists in Gitea organization starred. Updating database status.
Publishing event to channel mirror-status:hgTimz072bXoNHZvV3lcC3och8b076bC for user hgTimz072bXoNHZvV3lcC3och8b076bC
Event published successfully with ID b3592c0d-e1a1-4685-9d2f-98cc7f146d49
Repository AdrenoToolsDrivers database status updated to mirrored in organization starred
Don't understand why its saying this because i have given every permission to token and user exists -
<!-- gh-comment-id:3170498587 -->
@Tailscale-VPS commented on GitHub (Aug 9, 2025):
Tested latest image v3.2.4 after cleaning the data dir.
Still results in same
But this time got some more info in the log
```
Mirroring repository AdrenoToolsDrivers to organization starred
[HTTP Client] Authentication failed for http://gitea-mirror:3000/api/v1/repos/starred/AdrenoToolsDrivers/releases
[HTTP Client] Response: {"message":"user does not exist [uid: 0, name: ]","url":"https://site.example.com/api/swagger"}
[HTTP Client] Token appears to be invalid or the user account is not properly configured in Gitea
Error while mirroring repository AdrenoToolsDrivers: HTTP 401: user does not exist [uid: 0, name: ]
Publishing event to channel mirror-status:hgTimz072bXoNHZvV3lcC3och8b076bC for user hgTimz072bXoNHZvV3lcC3och8b076bC
Event published successfully with ID 974bb1e4-3237-460e-8436-152ca9232aa9
Retrying repository AdrenoToolsDrivers (attempt 1): Failed to mirror repository: Failed to mirror repository: HTTP 401: user does not exist [uid: 0, name: ]
Starting mirror for repository: AdrenoToolsDrivers
Repository AdrenoToolsDrivers will be mirrored to owner: starred
[Org Creation] Validating user authentication before organization operations
[Org Creation] Authenticated as user: homelab10400 (ID: 1)
[Org Creation] Attempting to get or create organization: starred (attempt 1/3)
[Org Creation] Organization starred already exists with ID: 3
Repository AdrenoToolsDrivers already exists in Gitea organization starred. Updating database status.
Publishing event to channel mirror-status:hgTimz072bXoNHZvV3lcC3och8b076bC for user hgTimz072bXoNHZvV3lcC3och8b076bC
Event published successfully with ID b3592c0d-e1a1-4685-9d2f-98cc7f146d49
Repository AdrenoToolsDrivers database status updated to mirrored in organization starred
```
Don't understand why its saying this because i have given every permission to token and user exists -




@Tailscale-VPS added the assets for release content. This was never added before. v3.2.6 and can you make sure issues and PR are are actually turned on? I have added some more logs for it
<!-- gh-comment-id:3170843017 -->
@arunavo4 commented on GitHub (Aug 9, 2025):
@Tailscale-VPS added the assets for release content. This was never added before. v3.2.6 and can you make sure issues and PR are are actually turned on? I have added some more logs for it
@arunavo4 Tested latest image v3.2.6 after cleaning the data dir.
Success for Releases (with an error don't know why as it worked)
Also as u can see Full content is on so issues and PR are are actually turned on but not working currently (if u need logs tell me , but there's nothing currently related to those as far as i read the logs).
SUGGESTION
I believe when u are mirroring the releases using API there would be page numbers like page 1, page 2?
I think we should keep releases to the Page 1 only OR an env variable where user can choose how many release to keep, either page wise or number of release directly.
Why - the reason is that
1 - we are already mirroring full code with history so if anyone wants very very old release they can build it.
2 - Even page 1 contains more than enough releases approx 10.
3 - Its good we are mirroring all release but this will take a big toll on the storage as many repos contains 100 or 1000 of release and even multi-arch (https://github.com/xpipe-io/xpipe/releases?page=1).
WHAT TO DO WITH OLD RELEASES
As u already have cleanups we can remove then from gitea, for eg if the user chooses to keep only page 1 or 10 releases then remove the extra, while mirroring it will already check and compare then releases the extra release found on gitea will be deleted
<!-- gh-comment-id:3171327885 -->
@Tailscale-VPS commented on GitHub (Aug 9, 2025):
@arunavo4 Tested latest image v3.2.6 after cleaning the data dir.
Success for Releases (with an error don't know why as it worked)



Also as u can see Full content is on so issues and PR are are actually turned on but not working currently (if u need logs tell me , but there's nothing currently related to those as far as i read the logs).
SUGGESTION
I believe when u are mirroring the releases using API there would be page numbers like page 1, page 2?
I think we should keep releases to the Page 1 only OR an env variable where user can choose how many release to keep, either page wise or number of release directly.
Why - the reason is that
1 - we are already mirroring full code with history so if anyone wants very very old release they can build it.
2 - Even page 1 contains more than enough releases approx 10.
3 - Its good we are mirroring all release but this will take a big toll on the storage as many repos contains 100 or 1000 of release and even multi-arch (https://github.com/xpipe-io/xpipe/releases?page=1).
WHAT TO DO WITH OLD RELEASES
As u already have cleanups we can remove then from gitea, for eg if the user chooses to keep only page 1 or 10 releases then remove the extra, while mirroring it will already check and compare then releases the extra release found on gitea will be deleted
@Tailscale-VPS have a look at v3.3.0 and also PR mirroring is not supported so its been implemented using just issues but it still has some issues so will have to test more and figure it out. for now I have added your release limit feature that u suggested and also issues are able to mirror like it should
<!-- gh-comment-id:3233832977 -->
@arunavo4 commented on GitHub (Aug 28, 2025):
@Tailscale-VPS have a look at v3.3.0 and also PR mirroring is not supported so its been implemented using just issues but it still has some issues so will have to test more and figure it out. for now I have added your release limit feature that u suggested and also issues are able to mirror like it should
@Tailscale-VPS commented on GitHub (Aug 29, 2025):
@arunavo4 Here are the new findings
Release are mirroring fine , Also liked how you implemented the release limit option (Currently only from UI, need to update the new ENV variables for this and other new stuff).
Issues mirroring is also fixed in v3.30.
PR mirroring as Issues have some error below is the snippet while it tries to mirror PR.
Mirroring 23 pull requests from K11MCH1/AdrenoToolsDrivers
[Pull Requests] Creating enriched issue for PR #62: Remove discord link
[Pull Requests] Falling back to basic info for PR #62 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #60: Citra fix
[Pull Requests] ❌ Failed to mirror PR #62: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #59: Fix name in ppsspp.md
[Pull Requests] Creating enriched issue for PR #58: Add PPSSPP
[Pull Requests] Falling back to basic info for PR #60 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #59 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #58 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #61: Remove yuzu and Citra
[Pull Requests] ❌ Failed to mirror PR #59: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #60: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #58: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #61 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #61: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #56: Remove broken discord link
[Pull Requests] Falling back to basic info for PR #56 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #41: added images instead of links of Yuzu android guide
[Pull Requests] ❌ Failed to mirror PR #56: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #55: Organize images
[Pull Requests] Creating enriched issue for PR #57: Grammar Nits
[Pull Requests] Falling back to basic info for PR #41 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #42: Adjusted the readme title for mobile viewers
[Pull Requests] Falling back to basic info for PR #57 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #55 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #41: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #42 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #57: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #55: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #42: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #38: Use images files for Citra
[Pull Requests] Falling back to basic info for PR #38 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #32: Added Citra Support
[Pull Requests] Creating enriched issue for PR #40: Yuzu android guide is changed to letest yuzu android version guide
[Pull Requests] ❌ Failed to mirror PR #38: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #33: Fixed All Caps And Improved The Guide
[Pull Requests] Falling back to basic info for PR #32 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #40 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #31: Revert "Added Citra Readme File"
[Pull Requests] Falling back to basic info for PR #33 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #32: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #40: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #31 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #33: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #31: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #27: Added Citra Support
[Pull Requests] Creating enriched issue for PR #30: Revert "Added Citra Support"
[Pull Requests] Falling back to basic info for PR #27 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #28: Added Citra Readme File
[Pull Requests] ❌ Failed to mirror PR #27: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #30 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #29: Added Citra Readme File
[Pull Requests] Falling back to basic info for PR #28 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #30: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #29 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #28: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #16: Added Yuzu and Dolphin emulators
[Pull Requests] ❌ Failed to mirror PR #29: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #16 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #16: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #1: Minor adjustment
[Pull Requests] Falling back to basic info for PR #1 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #1: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #15: Update README for Strato
[Pull Requests] Creating enriched issue for PR #2: add mali drivers for readme md
[Pull Requests] Falling back to basic info for PR #15 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #2 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #2: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #15: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
✅ Mirrored 0/23 pull requests to Gitea as enriched issues (23 failed)
<!-- gh-comment-id:3236628597 -->
@Tailscale-VPS commented on GitHub (Aug 29, 2025):
@arunavo4 Here are the new findings
- Release are mirroring fine , Also liked how you implemented the release limit option (Currently only from UI, need to update the new ENV variables for this and other new stuff).
- Issues mirroring is also fixed in v3.30.
- PR mirroring as Issues have some error below is the snippet while it tries to mirror PR.
```
Mirroring 23 pull requests from K11MCH1/AdrenoToolsDrivers
[Pull Requests] Creating enriched issue for PR #62: Remove discord link
[Pull Requests] Falling back to basic info for PR #62 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #60: Citra fix
[Pull Requests] ❌ Failed to mirror PR #62: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #59: Fix name in ppsspp.md
[Pull Requests] Creating enriched issue for PR #58: Add PPSSPP
[Pull Requests] Falling back to basic info for PR #60 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #59 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #58 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #61: Remove yuzu and Citra
[Pull Requests] ❌ Failed to mirror PR #59: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #60: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #58: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #61 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #61: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #56: Remove broken discord link
[Pull Requests] Falling back to basic info for PR #56 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #41: added images instead of links of Yuzu android guide
[Pull Requests] ❌ Failed to mirror PR #56: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #55: Organize images
[Pull Requests] Creating enriched issue for PR #57: Grammar Nits
[Pull Requests] Falling back to basic info for PR #41 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #42: Adjusted the readme title for mobile viewers
[Pull Requests] Falling back to basic info for PR #57 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #55 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #41: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #42 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #57: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #55: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #42: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #38: Use images files for Citra
[Pull Requests] Falling back to basic info for PR #38 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #32: Added Citra Support
[Pull Requests] Creating enriched issue for PR #40: Yuzu android guide is changed to letest yuzu android version guide
[Pull Requests] ❌ Failed to mirror PR #38: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #33: Fixed All Caps And Improved The Guide
[Pull Requests] Falling back to basic info for PR #32 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #40 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #31: Revert "Added Citra Readme File"
[Pull Requests] Falling back to basic info for PR #33 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #32: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #40: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #31 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #33: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #31: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #27: Added Citra Support
[Pull Requests] Creating enriched issue for PR #30: Revert "Added Citra Support"
[Pull Requests] Falling back to basic info for PR #27 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #28: Added Citra Readme File
[Pull Requests] ❌ Failed to mirror PR #27: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #30 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #29: Added Citra Readme File
[Pull Requests] Falling back to basic info for PR #28 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #30: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #29 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #28: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #16: Added Yuzu and Dolphin emulators
[Pull Requests] ❌ Failed to mirror PR #29: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #16 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #16: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #1: Minor adjustment
[Pull Requests] Falling back to basic info for PR #1 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #1: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Creating enriched issue for PR #15: Update README for Strato
[Pull Requests] Creating enriched issue for PR #2: add mali drivers for readme md
[Pull Requests] Falling back to basic info for PR #15 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] Falling back to basic info for PR #2 due to error: HttpError: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #2: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
[Pull Requests] ❌ Failed to mirror PR #15: HTTP 422: []: json: cannot unmarshal number { into Go struct field CreateIssueOption.Labels of type int64
✅ Mirrored 0/23 pull requests to Gitea as enriched issues (23 failed)
```
@Tailscale-VPS I have fixed the PR mirroring in v3.4.0 and I have tested it myself please check and let me know
<!-- gh-comment-id:3236747018 -->
@arunavo4 commented on GitHub (Aug 29, 2025):
@Tailscale-VPS I have fixed the PR mirroring in v3.4.0 and I have tested it myself please check and let me know
<img width="848" height="296" alt="Image" src="https://github.com/user-attachments/assets/05d67b9a-e23a-47ab-a7c3-b90eaea929de" />
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Tailscale-VPS on GitHub (Aug 8, 2025).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/68
Originally assigned to: @arunavo4 on GitHub.
Dont know is its a bug or a user config error from my side...., If anything else is needed pls ask
@arunavo4 commented on GitHub (Aug 9, 2025):
@Tailscale-VPS Hey this was missed out in the last update. I have opened a new PR to address this. Will update you after I test it.
@Tailscale-VPS commented on GitHub (Aug 9, 2025):
Tested latest image v3.2.2 after cleaning the data dir.
Still results in same
But this time there was error in logs
@arunavo4 commented on GitHub (Aug 9, 2025):
@Tailscale-VPS I have tried to make a fix for this, as i cannot recreate this issue on my end. please try v3.2.4 once the CI completes
@Tailscale-VPS commented on GitHub (Aug 9, 2025):
Tested latest image v3.2.4 after cleaning the data dir.
Still results in same
But this time got some more info in the log
Don't understand why its saying this because i have given every permission to token and user exists -
@arunavo4 commented on GitHub (Aug 9, 2025):
@Tailscale-VPS
v3.2.5try this one@Tailscale-VPS commented on GitHub (Aug 9, 2025):
@arunavo4 Tested latest image v3.2.5 after cleaning the data dir.
Not complete but a bit of success here -
Still missing Issues,PR,Release content(APK,ZIPS,BInary)
LOGS
@arunavo4 commented on GitHub (Aug 9, 2025):
@Tailscale-VPS added the assets for release content. This was never added before. v3.2.6 and can you make sure issues and PR are are actually turned on? I have added some more logs for it
@Tailscale-VPS commented on GitHub (Aug 9, 2025):
@arunavo4 Tested latest image v3.2.6 after cleaning the data dir.
Success for Releases (with an error don't know why as it worked)
Also as u can see Full content is on so issues and PR are are actually turned on but not working currently (if u need logs tell me , but there's nothing currently related to those as far as i read the logs).
SUGGESTION
I believe when u are mirroring the releases using API there would be page numbers like page 1, page 2?
I think we should keep releases to the Page 1 only OR an env variable where user can choose how many release to keep, either page wise or number of release directly.
Why - the reason is that
1 - we are already mirroring full code with history so if anyone wants very very old release they can build it.
2 - Even page 1 contains more than enough releases approx 10.
3 - Its good we are mirroring all release but this will take a big toll on the storage as many repos contains 100 or 1000 of release and even multi-arch (https://github.com/xpipe-io/xpipe/releases?page=1).
WHAT TO DO WITH OLD RELEASES
As u already have cleanups we can remove then from gitea, for eg if the user chooses to keep only page 1 or 10 releases then remove the extra, while mirroring it will already check and compare then releases the extra release found on gitea will be deleted
@arunavo4 commented on GitHub (Aug 9, 2025):
@Tailscale-VPS Thank you for the feedback will pick up tomorrow.
@arunavo4 commented on GitHub (Aug 28, 2025):
@Tailscale-VPS have a look at v3.3.0 and also PR mirroring is not supported so its been implemented using just issues but it still has some issues so will have to test more and figure it out. for now I have added your release limit feature that u suggested and also issues are able to mirror like it should
@Tailscale-VPS commented on GitHub (Aug 28, 2025):
Sure ill test in within 24hrs.
@Tailscale-VPS commented on GitHub (Aug 29, 2025):
@arunavo4 Here are the new findings
Release are mirroring fine , Also liked how you implemented the release limit option (Currently only from UI, need to update the new ENV variables for this and other new stuff).
Issues mirroring is also fixed in v3.30.
PR mirroring as Issues have some error below is the snippet while it tries to mirror PR.
@arunavo4 commented on GitHub (Aug 29, 2025):
Thanks for the update looking into this today
@arunavo4 commented on GitHub (Aug 29, 2025):
@Tailscale-VPS I have fixed the PR mirroring in v3.4.0 and I have tested it myself please check and let me know
@Tailscale-VPS commented on GitHub (Aug 29, 2025):
@arunavo4 PR mirroring is working correctly in 3.4.0