Skip to content

Upgrading to 1.16.2 does not work #18889

Closed
@kolaente

Description

@kolaente

Gitea Version

1.16.2

Git Version

No response

Operating System

Docker

How are you running Gitea?

Using the official docker image gitea/gitea:1.16.2.

Database

MySQL

Can you reproduce the bug on the Gitea demo site?

No - Not relevant I guess?

Log Gist

https://gist.github.com/kolaente/275fe9b431bc85feff1e42cc1a1fb40f

Description

Upgrading from gitea 1.16.1 to 1.16.2 fails with

[E] ORM engine initialization attempt #9/10 failed. Error: migrate: migration[210]: v208 was completely broken - remigrate failed: unable to (re)insert webauthn_credential[6]. Error: Error 1062: Duplicate entry 'fido-1' for key 'UQE_webauthn_credential_s'

Removing the key from the database would probably fix it, but I guess it would also require me to re-add the key to my account?

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions