Skip to content

500 error accessing dashboard after upgrade to 1.16.1 from 1.15.10, caused by mismatched SQLite colmun type #18650

Closed
@nicorac

Description

@nicorac

Gitea Version

1.16.1

Git Version

2.25.1

Operating System

Ubuntu Server 20.04 LTS

How are you running Gitea?

Running as service with binaries (gitea-1.16.1-linux-amd64).

Database

SQLite

Can you reproduce the bug on the Gitea demo site?

No

Description

After upgrading from 1.15.10 to 1.16.1 I get a 500 error when accessing the dashboard.
Other pages seem to work correctly if I open them directly (repos, issues, ...).

(the same issue happened a week ago when I tried to upgrade from 1.15.10 to 1.16.0 but I haven't opened an issue at that time due to lack of time, sorry)

Log contains only this relevant line:

.../web/feed/profile.go:22:RetrieveFeeds() [E] GetFeeds: Find: converting driver.Value type string to a int64: invalid syntax

Database version before update was 189, after first run it was 209.

I've reverted back to 1.15.10 (both binaries and DB).

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