[GH-ISSUE #170] How to retry missed content #215

Closed
opened 2026-04-11 09:09:58 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @Bluscream on GitHub (Jan 21, 2026).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/170

Since the container doesnt allow setting these

directly via ENV vars, i have to set them manually after ccontainer startup, that means there are some repos now where these content items have been missed syncing. Is there a way to tell the app to re-sync every single repo to fetch missing items and sync them?

Originally created by @Bluscream on GitHub (Jan 21, 2026). Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/170 Since the container doesnt allow setting these ![](https://files.catbox.moe/oplbrs.png) directly via ENV vars, i have to set them manually after ccontainer startup, that means there are some repos now where these content items have been missed syncing. Is there a way to tell the app to re-sync every single repo to fetch missing items and sync them?
Author
Owner

@arunavo4 commented on GitHub (Feb 24, 2026):

Yes. Today the simplest recovery path is:

  1. Enable the metadata options you want in Configuration.
  2. Go to Repositories, select affected repos, and click Sync.
  3. If some repos still miss metadata, clear metadata sync state and sync again:
sqlite3 data/gitea-mirror.db "UPDATE repositories SET metadata = NULL;"

That resets per-repo metadata completion flags so metadata steps run again on next sync.

I also opened a docs PR so this flow is captured in README: #180.

<!-- gh-comment-id:3948908033 --> @arunavo4 commented on GitHub (Feb 24, 2026): Yes. Today the simplest recovery path is: 1. Enable the metadata options you want in Configuration. 2. Go to Repositories, select affected repos, and click **Sync**. 3. If some repos still miss metadata, clear metadata sync state and sync again: ```bash sqlite3 data/gitea-mirror.db "UPDATE repositories SET metadata = NULL;" ``` That resets per-repo metadata completion flags so metadata steps run again on next sync. I also opened a docs PR so this flow is captured in README: #180.
Author
Owner

@arunavo4 commented on GitHub (Feb 24, 2026):

Implemented in #180: there is now a Re-run Metadata bulk button in Repositories. It clears metadata state for selected repos and starts Sync immediately (one click, no DB command needed).

<!-- gh-comment-id:3948918134 --> @arunavo4 commented on GitHub (Feb 24, 2026): Implemented in #180: there is now a **Re-run Metadata** bulk button in Repositories. It clears metadata state for selected repos and starts Sync immediately (one click, no DB command needed).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea-mirror#215