Upgrade from 1.15 to 1.16.1 fails, webauthn err #8567

Closed
opened 2025-11-02 08:10:59 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @bourbonspecial on GitHub (Feb 15, 2022).

Gitea Version

1.16.1

Git Version

No response

Operating System

Windows

How are you running Gitea?

Pre-built binaries on windows 7. Run from cmd.

Database

SQLite

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/bourbonspecial/7794da6c8dbc39fe958973f8f570e33c

Description

Im trying to upgrade from 1.15.11 to 1.16.1 but getting some errors which seem to be related to the introduction of webauthn in 1.16 (see linked log).

I'd previously tried to upgrade to upgrade to 1.16 RC1 but that failed (I can't remember why unfortunately) so I rolled back by changing the version number in the db. I guess this could be the issue as the previous upgrade attempt and my ham-fisted roll back could have left the db in a bad state?

Screenshots

No response

Originally created by @bourbonspecial on GitHub (Feb 15, 2022). ### Gitea Version 1.16.1 ### Git Version _No response_ ### Operating System Windows ### How are you running Gitea? Pre-built binaries on windows 7. Run from cmd. ### Database SQLite ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist https://gist.github.com/bourbonspecial/7794da6c8dbc39fe958973f8f570e33c ### Description Im trying to upgrade from 1.15.11 to 1.16.1 but getting some errors which seem to be related to the introduction of webauthn in 1.16 (see linked log). I'd previously tried to upgrade to upgrade to 1.16 RC1 but that failed (I can't remember why unfortunately) so I rolled back by changing the version number in the db. I guess this could be the issue as the previous upgrade attempt and my ham-fisted roll back could have left the db in a bad state? ### Screenshots _No response_
GiteaMirror added the type/question label 2025-11-02 08:10:59 -06:00
Author
Owner

@zeripath commented on GitHub (Feb 16, 2022):

yeah I think that's a possible unfortunately. You'll need to drop the webauthn_credential table before reattempting

Now... there's a bug in v208.go migration so we have merged a fix which will be in 1.16.2 - but you should be able to jump to the latest build of 1.16 which will become 1.16.2 v. soon at https://dl.gitea.io/gitea/1.16 (or use the docker tag 1.16-dev)

@zeripath commented on GitHub (Feb 16, 2022): yeah I think that's a possible unfortunately. You'll need to drop the webauthn_credential table before reattempting Now... there's a bug in v208.go migration so we have merged a fix which will be in 1.16.2 - but you should be able to jump to the latest build of 1.16 which will become 1.16.2 v. soon at https://dl.gitea.io/gitea/1.16 (or use the docker tag 1.16-dev)
Author
Owner

@bourbonspecial commented on GitHub (Feb 16, 2022):

I dropped the webauthn_credential table and the migration mostly worked, though previously installed keys weren't working. Removing then re-adding my key worked so I'll just get my users to do that.

Thanks for your help, and for your work getting webauthn ready for 1.16 :)

@bourbonspecial commented on GitHub (Feb 16, 2022): I dropped the webauthn_credential table and the migration mostly worked, though previously installed keys weren't working. Removing then re-adding my key worked so I'll just get my users to do that. Thanks for your help, and for your work getting webauthn ready for 1.16 :)
Author
Owner

@zeripath commented on GitHub (Feb 16, 2022):

Did you use: https://dl.gitea.io/gitea/1.16

@zeripath commented on GitHub (Feb 16, 2022): Did you use: https://dl.gitea.io/gitea/1.16
Author
Owner

@bourbonspecial commented on GitHub (Feb 16, 2022):

I used https://dl.gitea.io/gitea/1.16.1/gitea-1.16.1-windows-4.0-amd64.exe

On Wed, 16 Feb 2022, 22:27 zeripath, @.***> wrote:

Did you use: https://dl.gitea.io/gitea/1.16


Reply to this email directly, view it on GitHub
https://github.com/go-gitea/gitea/issues/18778#issuecomment-1042370834,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD2J3GZHGK56DVV5EFM7D53U3QQDVANCNFSM5OP2TJAA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID:
@.***>

@bourbonspecial commented on GitHub (Feb 16, 2022): I used https://dl.gitea.io/gitea/1.16.1/gitea-1.16.1-windows-4.0-amd64.exe On Wed, 16 Feb 2022, 22:27 zeripath, ***@***.***> wrote: > Did you use: https://dl.gitea.io/gitea/1.16 > > — > Reply to this email directly, view it on GitHub > <https://github.com/go-gitea/gitea/issues/18778#issuecomment-1042370834>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AD2J3GZHGK56DVV5EFM7D53U3QQDVANCNFSM5OP2TJAA> > . > Triage notifications on the go with GitHub Mobile for iOS > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> > or Android > <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. > > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@zeripath commented on GitHub (Feb 16, 2022):

could you try https://dl.gitea.io/gitea/1.16/gitea-1.16-windows-4.0-amd64.exe ?

@zeripath commented on GitHub (Feb 16, 2022): could you try https://dl.gitea.io/gitea/1.16/gitea-1.16-windows-4.0-amd64.exe ?
Author
Owner

@bourbonspecial commented on GitHub (Feb 22, 2022):

Sorry for being slow to get back, Im on holiday for a couple of weeks so will try it out when Im back.

@bourbonspecial commented on GitHub (Feb 22, 2022): Sorry for being slow to get back, Im on holiday for a couple of weeks so will try it out when Im back.
Author
Owner

@wxiaoguang commented on GitHub (Apr 14, 2022):

Outdated

@wxiaoguang commented on GitHub (Apr 14, 2022): Outdated
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8567