Skip to content

Unexpected Error on Organization Creation #35983

@anivkuttan

Description

@anivkuttan

Description

When I try to create a new organization on first attempt always fails, The second attempt succeeds with the same input.
Everything else in Gitea works fine (push, pull, issues, etc.)

Postgres logs shows

2025-10-03 17:16:20.956 UTC [1] LOG: starting PostgreSQL 14.18 (Debian 14.18-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2025-10-03 17:16:20.956 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2025-10-03 17:16:20.956 UTC [1] LOG: listening on IPv6 address "::", port 5432
2025-10-03 17:16:20.964 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2025-10-03 17:16:20.980 UTC [26] LOG: database system was shut down at 2025-10-03 17:15:08 UTC
2025-10-03 17:16:21.021 UTC [1] LOG: database system is ready to accept connections

2025-10-03 17:38:56.341 UTC [68] LOG: unexpected EOF on client connection with an open transaction

Gitea Version

1.24.2

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

Image

Git Version

No response

Operating System

linux

How are you running Gitea?

Self-hosted Gitea with Docker + Postgres

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