Skip to content

h2 database error, how to fix it #2381

@raindylong

Description

@raindylong

Issue

Impacted version: 4.32

Deployment mode: explain here how you use GitBucket :
with an http frontend (nginx, httpd, ...)

Problem description:

java -version
java version "9.0.4"
Java(TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)

The gitbucket java process crash , restart it , there are some H2 database error , see the next content:

org.h2.jdbc.JdbcSQLDataException: Data conversion error converting "platformcheck"; SQL statement:
select "GROUP_NAME", "USER_NAME", "MANAGER" from "GROUP_MEMBER" where "GROUP_NAME" = ? order by "USER_NAME" [22018-199]
2019-09-30 23:52:06 jdbc[3]: exception

How to fix it? Thanks a lot.

Metadata

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