mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-04-25 07:15:57 +03:00
[GH-ISSUE #171] Mirroring fails but reports success #86
Labels
No labels
bug
documentation
enhancement
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/gitea-mirror#86
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tylerobara on GitHub (Jan 26, 2026).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/171
I set this up last week and it successfully brought in all of my Github repos. For 3 days, and on each manual sync, Gitea Mirror reports it successfully synced but there are errors in Forgejo logs
Note the log line
https://sanitized-credential@github.comwas not sanitized by me. Exactly how it appears. If I Test credentials for Github and Forgejo, both report successful.@arunavo4 commented on GitHub (Jan 27, 2026):
@tylerobara need to take a look at this. can you clean up your docker compse and post of you have any unique setup?
@tylerobara commented on GitHub (Jan 27, 2026):
I am deploying with this helm chart and these values:
@tylerobara commented on GitHub (Jan 29, 2026):
Update: I put a fake Github token and hit test, then put my valid token back in and hit test again. It says connected successsfully but I get the same error on sync in the Forgejo logs. But.... if I update the password field in a repo > settings > mirror settings > authorization > password with the same token, the mirror syncs no problem.
@arunavo4 commented on GitHub (Feb 24, 2026):
Good catch, and thanks for the detailed report.
I dug into this and the behavior lines up with how Gitea/Forgejo handles pull mirrors:
I opened #181 to improve this from our side:
For repos already affected right now, the immediate fix is still:
@arunavo4 commented on GitHub (Feb 24, 2026):
Resolved by #181: sync status wording is now accurate for async mirror pulls, and README now documents token-rotation behavior/workarounds for existing mirrors.