when I visit actions and activity happen 500 #12632

Closed
opened 2025-11-02 10:16:31 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @zunmx on GitHub (Mar 12, 2024).

Description

This repo create by idea, The default branch is master, but the default branch for gitea is main,
When I change branch to main, and delete master branch, it's works

Gitea Version

1.22.0+dev-808-g4ba642d07

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

image
image

Git Version

2.43.0

Operating System

CentOS Stream release 9

How are you running Gitea?

github pull Repository, build it.

Database

SQLite

Originally created by @zunmx on GitHub (Mar 12, 2024). ### Description This repo create by idea, The default branch is master, but the default branch for gitea is main, When I change branch to main, and delete master branch, it's works ### Gitea Version 1.22.0+dev-808-g4ba642d07 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots ![image](https://github.com/go-gitea/gitea/assets/35682146/f972f5f0-eef0-431c-8516-e16f1bf592fa) ![image](https://github.com/go-gitea/gitea/assets/35682146/eac2e18e-20f9-4d22-a442-a5179fd4b66f) ### Git Version 2.43.0 ### Operating System CentOS Stream release 9 ### How are you running Gitea? github pull Repository, build it. ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 10:16:31 -06:00
Author
Owner

@zunmx commented on GitHub (Mar 12, 2024):

change branch log.
image

@zunmx commented on GitHub (Mar 12, 2024): change branch log. ![image](https://github.com/go-gitea/gitea/assets/35682146/f7354b75-1765-4a65-8cd1-c362591748f7)
Author
Owner

@lunny commented on GitHub (Mar 12, 2024):

Please upgrade to latest 1.22 versions and sync branches on admin panel.

@lunny commented on GitHub (Mar 12, 2024): Please upgrade to latest 1.22 versions and sync branches on admin panel.
Author
Owner

@yp05327 commented on GitHub (Mar 13, 2024):

How do IDEA create the repo ( I mean the repository in Gitea, not the git repo)? By plugin?
I don't think this is an issue from Gitea, as you can select default branch when creating repos:
web ui
image
api:
857243bed7/modules/structs/repo.go (L120-L150)

@yp05327 commented on GitHub (Mar 13, 2024): How do IDEA create the repo ( I mean the repository in Gitea, not the git repo)? By plugin? I don't think this is an issue from Gitea, as you can select default branch when creating repos: web ui ![image](https://github.com/go-gitea/gitea/assets/18380374/307f289b-914b-4e16-a764-98a725a7ce1b) api: https://github.com/go-gitea/gitea/blob/857243bed7f9dccdc597c2941df41e821781cb0f/modules/structs/repo.go#L120-L150
Author
Owner

@zunmx commented on GitHub (Mar 13, 2024):

sorry, my english is not good, What I want to express is to manually create a Repository on Gitea and use idea to create branch commit and push.

I tried a few times but couldn't reproduce the problem, I was surprised.

@zunmx commented on GitHub (Mar 13, 2024): sorry, my english is not good, What I want to express is to manually create a Repository on Gitea and use idea to create branch commit and push. I tried a few times but couldn't reproduce the problem, I was surprised.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12632