Skip to content

[1.18.0] SQL warnings on start-up, which can't be fixed by the doctor.Β #22275

Open
@tuxmaster5000

Description

@tuxmaster5000

Description

When I start it, some SQL warnings are shown:

Dez 30 06:50:43  gitea[14648]: 2022/12/30 06:50:43 routers/init.go:145:GlobalInitInstalled() [W] Table system_setting Column version db default is , struct default is 1
Dez 30 06:50:43  gitea[14648]: 2022/12/30 06:50:43 routers/init.go:145:GlobalInitInstalled() [W] Table project column board_type db type is INT(10) UNSIGNED, struct type is INT UNSIGNED
Dez 30 06:50:43  gitea[14648]: 2022/12/30 06:50:43 routers/init.go:145:GlobalInitInstalled() [W] Table project column type db type is INT(10) UNSIGNED, struct type is INT UNSIGNED

I have tryed to fix it via:
sudo -u gitea ./gitea -c /etc/gitea/gitea.ini doctor recreate-table project system_setting
But on the next start, the messages are occurs again the the log.

Gitea Version

1.18.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.18.4

Operating System

CentOS7

How are you running Gitea?

Download binary blob from github.
Running via systemd as an separate user.
DB version: MariaDB-server-10.6.11-1.el7.centos.x86_64

Database

MySQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugtype/upstreamThis is an issue in one of Gitea's dependencies and should be reported there

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions