Branches disappeared/not visible from WebGUI

Hi there,
We run a private intranet Gitea service, and have noticed many branches of various repos are missing when accessing the repo from the WebGUI.

They still exist on disk and in the DB, but they cannot be accessed from the web, giving 404 errors. They can be accessed from CLI though.

I see that others have already reported this issue previously, but that was for older versions of Gitea.

Ex:


We are using 1.22.3 and still encounter this issue. We use the prebuilt Gitea static binary from the main Gitea website.

Because Gitea logs are so noisy, please let me know if there’s specific wording I should keep an eye out for.

Otherwise, please advise how to either resolve this or if a solution is planned for 1.23/1.22.4+.

Thank you!
Jessie N.

Please try to run Sync missed branches from git data to databases on admin panel UI.

This fixed it, thank you!!

is it possible to automate this task? I didn’t find any clear indication of this, or of automating Gitea admin panel tasks, within documentation…

Thank you very much!! :smile: