Skip to content

Gitea fails to Install using CockroachDB (PostgreSQL replacement) #3765

@techknowlogick

Description

@techknowlogick

Description

First, I know CockroachDB is not supported as a DB by this project, however as it is mostly equivalent with postgresql I tried installing Gitea using it as the DB. It did not work. It got through the creating of the tables, and even inserted values into the versions table for the migrations, but once actually starting to serve web interface after installation it fatal errors. Above you can see all of the output from the stdout/stderr from the cli, but the most important line from log/gitea.log is:

2018/04/05 21:58:00 [...itea/routers/init.go:60 GlobalInit()] [E] Failed to initialize ORM engine: sync database struct error: pq: column name "numeric_precision_radix" not found

When trying to go through install page again (after DB has been created from previous attempt, I get the error in the screenshot below).

Again CockroachDB is not supported (at least currently), and so please close this ticket if it is an invalid request, or perhaps keep it open as a proposal for future support.

Screenshots

screen shot 2018-04-05 at 10 55 20 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions