Skip to content

postgresql issues on 18.10.1 #3231

@th-2021

Description

@th-2021

When I try a fresh installation, I get

2026-03-30 09:24:10.118 UTC [239] ERROR:  relation "feature_gates" does not exist at character 523
2026-03-30 09:24:10.118 UTC [239] STATEMENT:  SELECT a.attname, format_type(a.atttypid, a.atttypmod),
               pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod,
               c.collname, col_description(a.attrelid, a.attnum) AS comment,
               attidentity AS identity,
               attgenerated as attgenerated
          FROM pg_attribute a
          LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum
          LEFT JOIN pg_type t ON a.atttypid = t.oid
          LEFT JOIN pg_collation c ON a.attcollation = c.oid AND a.attcollation <> t.typcollation
         WHERE a.attrelid = '"feature_gates"'::regclass
           AND a.attnum > 0 AND NOT a.attisdropped
         ORDER BY a.attnum

2026-03-30 09:24:19.832 UTC [256] ERROR:  database "gitlab_production" already exists
2026-03-30 09:24:19.832 UTC [256] STATEMENT:  /*application:web,db_config_database:postgres,db_config_name:primary*/ CREATE DATABASE "gitlab_production" ENCODING = 'unicode'
2026-03-30 09:27:31.938 UTC [153] LOG:  checkpoint starting: time
2026-03-30 09:28:49.734 UTC [652] ERROR:  could not determine data type of parameter $1
2026-03-30 09:28:49.734 UTC [652] STATEMENT:  /*application:web,db_config_database:gitlab_production,db_config_name:main*/ SELECT "postgres_partitions".* FROM "postgres_partitions" WHERE (parent_identifier = concat(current_schema(), '.', $1)) ORDER BY "postgres_partitions"."name" ASC
2026-03-30 09:28:49.748 UTC [652] ERROR:  could not determine data type of parameter $1
2026-03-30 09:28:49.748 UTC [652] STATEMENT:  /*application:web,db_config_database:gitlab_production,db_config_name:main*/ SELECT "postgres_partitions".* FROM "postgres_partitions" WHERE (parent_identifier = concat(current_schema(), '.', $1)) ORDER BY "postgres_partitions"."name" ASC

PostgreSQL 16.13
image: sameersbn/gitlab:18.10.1

Any idea?
When I try to login I get 422.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions