gitea: Gitea fails to Install using CockroachDB (PostgreSQL replacement)

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

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Reactions: 2
  • Comments: 18 (9 by maintainers)

Most upvoted comments

There is a PR #11875