[GH-ISSUE #41] Error mirroring issues from starred repositories to gitea #21

Closed
opened 2026-02-27 15:54:35 +03:00 by kerem · 1 comment
Owner

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

I have issues selected to be mirrored. It seems to work fine for organization repositories, but any starred repositories I get an error. It looks like it might not be using the starred organization name when mirroring issues. For example, trying to mirror this repo:

Starting mirror for repository: gitea-mirror
Repository gitea-mirror will be mirrored to owner: starred
Attempting to get or create Gitea organization: starred
Get org response status: 200 for org: starred
Successfully retrieved existing org: starred with ID: 3
Mirroring repository gitea-mirror to organization starred
✅ Mirrored 30 GitHub releases to Gitea
Mirroring 19 issues from RayLabsHQ/gitea-mirror
Error while mirroring repository gitea-mirror: HTTP 404: Not Found - {"errors":["user redirect does not exist [name: raylabshq]"],"message":"GetUserByName","url":"https://git.my.domain/api/swagger"}

Publishing event to channel mirror-status:0ee4d8e6-e76a-4adc-93b4-82dfe2b1f587 for user 0ee4d8e6-e76a-4adc-93b4-82dfe2b1f587
Event published successfully with ID 4b205d88-4713-40f0-a888-4dbf5a0e5e6b
Retrying repository gitea-mirror (attempt 1): Failed to mirror repository: Failed to mirror repository: HTTP 404: Not Found - {"errors":["user redirect does not exist [name: raylabshq]"],"message":"GetUserByName",
"url":"https://git.my.domain/api/swagger"}

Starting mirror for repository: gitea-mirror
Repository gitea-mirror will be mirrored to owner: starred
Attempting to get or create Gitea organization: starred
Get org response status: 200 for org: starred
Successfully retrieved existing org: starred with ID: 3
Repository gitea-mirror already exists in Gitea organization starred. Updating database status.
Publishing event to channel mirror-status:0ee4d8e6-e76a-4adc-93b4-82dfe2b1f587 for user 0ee4d8e6-e76a-4adc-93b4-82dfe2b1f587
Event published successfully with ID 1f5a854d-c4cb-4518-a15a-43941a71e0f2
Repository gitea-mirror database status updated to mirrored in organization starred
Mirroring progress: 100% (1/1)
Successfully mirrored repository: gitea-mirror
Originally created by @drampelt on GitHub (Jul 8, 2025). Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/41 I have issues selected to be mirrored. It seems to work fine for organization repositories, but any starred repositories I get an error. It looks like it might not be using the starred organization name when mirroring issues. For example, trying to mirror this repo: ``` Starting mirror for repository: gitea-mirror Repository gitea-mirror will be mirrored to owner: starred Attempting to get or create Gitea organization: starred Get org response status: 200 for org: starred Successfully retrieved existing org: starred with ID: 3 Mirroring repository gitea-mirror to organization starred ✅ Mirrored 30 GitHub releases to Gitea Mirroring 19 issues from RayLabsHQ/gitea-mirror Error while mirroring repository gitea-mirror: HTTP 404: Not Found - {"errors":["user redirect does not exist [name: raylabshq]"],"message":"GetUserByName","url":"https://git.my.domain/api/swagger"} Publishing event to channel mirror-status:0ee4d8e6-e76a-4adc-93b4-82dfe2b1f587 for user 0ee4d8e6-e76a-4adc-93b4-82dfe2b1f587 Event published successfully with ID 4b205d88-4713-40f0-a888-4dbf5a0e5e6b Retrying repository gitea-mirror (attempt 1): Failed to mirror repository: Failed to mirror repository: HTTP 404: Not Found - {"errors":["user redirect does not exist [name: raylabshq]"],"message":"GetUserByName", "url":"https://git.my.domain/api/swagger"} Starting mirror for repository: gitea-mirror Repository gitea-mirror will be mirrored to owner: starred Attempting to get or create Gitea organization: starred Get org response status: 200 for org: starred Successfully retrieved existing org: starred with ID: 3 Repository gitea-mirror already exists in Gitea organization starred. Updating database status. Publishing event to channel mirror-status:0ee4d8e6-e76a-4adc-93b4-82dfe2b1f587 for user 0ee4d8e6-e76a-4adc-93b4-82dfe2b1f587 Event published successfully with ID 1f5a854d-c4cb-4518-a15a-43941a71e0f2 Repository gitea-mirror database status updated to mirrored in organization starred Mirroring progress: 100% (1/1) Successfully mirrored repository: gitea-mirror ```
kerem 2026-02-27 15:54:35 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

@drampelt consider testing the latest v3 version

<!-- gh-comment-id:3083710175 --> @arunavo4 commented on GitHub (Jul 17, 2025): @drampelt consider testing the latest v3 version
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#21
No description provided.