Skip to content

Internal Server Error when upgrading from 1.25.2 to 1.25.3. #36217

@ScionOfDesign

Description

@ScionOfDesign

Description

After upgrading from 1.25.2 to 1.25.3, I am unable to sign into Gitea and instead get an Internal Server Error.
I attempted to sign in using OpenID Connect via our self-hosted Keycloak instance.

2025/12/20 00:00:05 .../source_group_sync.go:75:syncGroupsToTeamsCached() [W] group sync: Could not find organisation NPM: org does not exist [id: 0, name: NPM]
2025/12/20 00:00:05 .../source_group_sync.go:89:syncGroupsToTeamsCached() [W] group sync: Could not find team RogueGame: team does not exist [org_id 51, team_id 0, name: RogueGame]

Thankfully, reverting back to 1.25.2 solves the issue.

Let me know if you would like me to attempt to find the specific commit that leads to the issue or not.

Gitea Version

1.25.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/ScionOfDesign/6ec1a55181f68f14308fdb461a629921

Screenshots

No response

Git Version

git version 2.49.1

Operating System

Alpine Linux

How are you running Gitea?

I am running Gitea on Kubernetes using the official helm chart and the official Gitea Container.

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions