[1.20.0] SQL warnings on start up #11268

Closed
opened 2025-11-02 09:32:50 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @tuxmaster5000 on GitHub (Jul 18, 2023).

Description

In the log the following warnings will logged on start up:

Jul 18 17:39:54 gitea[553629]: 2023/07/18 17:39:54 cmd/web.go:175:serveInstalled() [I] PING DATABASE postgres
Jul 18 17:39:54 gitea[553629]: 2023/07/18 17:39:54 cmd/web.go:175:serveInstalled() [W] Table system_setting Column version db default is , struct default is 1
Jul 18 17:39:54 gitea[553629]: 2023/07/18 17:39:54 cmd/web.go:175:serveInstalled() [W] Table oauth2_application Column confidential_client db default is true, struct default is TRUE
Jul 18 17:39:54 gitea[553629]: 2023/07/18 17:39:54 cmd/web.go:175:serveInstalled() [W] Table user Column max_repo_creation db default is '-1', struct default is -1

an doctor --all --fix call don't change anything.
The app looks working.

Gitea Version

1.20.0

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Rocky 9.2

How are you running Gitea?

Binary from GH

Database

PostgreSQL

Originally created by @tuxmaster5000 on GitHub (Jul 18, 2023). ### Description In the log the following warnings will logged on start up: > Jul 18 17:39:54 gitea[553629]: 2023/07/18 17:39:54 cmd/web.go:175:serveInstalled() [I] PING DATABASE postgres > Jul 18 17:39:54 gitea[553629]: 2023/07/18 17:39:54 cmd/web.go:175:serveInstalled() [W] Table system_setting Column version db default is , struct default is 1 > Jul 18 17:39:54 gitea[553629]: 2023/07/18 17:39:54 cmd/web.go:175:serveInstalled() [W] Table oauth2_application Column confidential_client db default is true, struct default is TRUE > Jul 18 17:39:54 gitea[553629]: 2023/07/18 17:39:54 cmd/web.go:175:serveInstalled() [W] Table user Column max_repo_creation db default is '-1', struct default is -1 an **doctor --all --fix** call don't change anything. The app looks working. ### Gitea Version 1.20.0 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System Rocky 9.2 ### How are you running Gitea? Binary from GH ### Database PostgreSQL
GiteaMirror added the type/bug label 2025-11-02 09:32:50 -06:00
Author
Owner

@lunny commented on GitHub (Jul 19, 2023):

duplicated with #22275

@lunny commented on GitHub (Jul 19, 2023): duplicated with #22275
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11268