mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-05-08 05:18:55 -05:00
[GH-ISSUE #171] Mirroring fails but reports success #1703
Reference in New Issue
Block a user
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.
@pedorich-n commented on GitHub (Mar 2, 2026):
I also found these "terminal prompts disabled" notices in my Forgejo instance. I tried re-creating the repos, but the notices always came back. After some searching, I found that this is actually an issue with Forgejo: https://codeberg.org/forgejo/forgejo/issues/9629.