-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Description
- Gitea version (or commit ref): ed4935e
- Git version: n/a
- Operating system: MacOS 10.13.4
- Database (use
[x]):- PostgreSQL (CockroachDB 2.0)
- Can you reproduce the bug at https://try.gitea.io:
- Not relevant
- Log gist: https://gist.github.com/techknowlogick/11a017d4342efbe1498622d76af69456
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.
