Skip to content

socket: address family not supported by protocol #33581

Open
@JensTimmerman

Description

Description

With the database config

[database]
DB_TYPE = postgres
HOST = /run/postgresql/
NAME = gitea
USER = gitea
PASSWD =  lel
SSL_MODE = disable
#PATH = /var/lib/gitea/data/gitea.db
LOG_SQL = true

I'm getting 2025/02/13 11:05:35 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #1/10 failed. Error: dial unix /run/postgresql/.s.PGSQL.5432: socket: address family not supported by protocol

Gitea Version

1.23.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

git version 2.43.5

Operating System

Rocky Linux release 9.4 (Blue Onyx)

How are you running Gitea?

deployed using https://github.com/roles-ansible/ansible_role_gitea in an lxc container on proxmox

Database

None

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