Skip to content

dump and manual restore causes broken external auth sources. #16831

Closed
@TwoTwenty

Description

@TwoTwenty
  • Gitea version (or commit ref): 1.14.6
  • Git version:
  • Operating system: ubuntu 2004
  • Database (use [x]):
    • PostgreSQL
    • [ x] MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • [x ] No

...

using gitea dump to backup my system then restored it I realized that all the external authentication is broken.

During the restore process I deleted the old DB and restored it the with the command provided in the docs.
mysql --default-character-set=utf8mb4 -u$USER -p$PASS $DATABASE <gitea-db.sql

now when users from external auth try to login they get error 500 and also when trying to edit the sources from my local admin account they also error 500.

This is reproducible with my setup but I have not tried to setup external auth with a vanilla install. please let me know if more details are needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions