Accessing branches view gives 500 #12029

Closed
opened 2025-11-02 09:55:11 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @slavus on GitHub (Nov 16, 2023).

Description

When accessing the branches view for one specific repository we get error 500.
From log:

2023/11/16 09:54:18 ...s/web/repo/branch.go:58:Branches() [E] LoadBranches: branch does not exist [repo_id: 33 name: develop]

Gitea Version

1.21.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Gitea is running from official docker image

Database

PostgreSQL

Originally created by @slavus on GitHub (Nov 16, 2023). ### Description When accessing the branches view for one specific repository we get error 500. From log: ` 2023/11/16 09:54:18 ...s/web/repo/branch.go:58:Branches() [E] LoadBranches: branch does not exist [repo_id: 33 name: develop] ` ### Gitea Version 1.21.0 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? Gitea is running from official docker image ### Database PostgreSQL
GiteaMirror added the type/bug label 2025-11-02 09:55:11 -06:00
Author
Owner

@slavus commented on GitHub (Nov 16, 2023):

This is a duplicate from #28056. There is workaround
Please run sync branches on admin panel as a workaround.

so I am closeing this issue

@slavus commented on GitHub (Nov 16, 2023): This is a duplicate from #28056. There is workaround _Please run sync branches on admin panel as a workaround._ so I am closeing this issue
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12029