Skip to content

Updating Gitea from 1.22.6 to 1.23.7 fails for MSSQL (SQL Server) on Windows #34275

Closed
@caerbannogwhite

Description

@caerbannogwhite

Description

No response

Gitea Version

1.22.6

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

2025/04/23 22:00:10 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #6/10 failed. Error: migrate: migration[299]: Add content version to issue and comment table failed: mssql: An explicit DROP INDEX is not allowed on index 'issue.issue$UQE_issue_repo_index'. It is being used for UNIQUE KEY constraint enforcement.

Screenshots

No response

Git Version

No response

Operating System

Windows x64

How are you running Gitea?

Self host

Database

MSSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions