Skip to content

Failed to initialize OAuth2 support: Error 1071: Specified key was too long; max key length is 767 bytes #3859

Closed
@silverwind

Description

@silverwind
  • Gitea version (or commit ref): 7ea4bfc
  • Git version: 2.17.0
  • Operating system: Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Description

After updating to today's master, I got the mentioned error related to commit 5a62eb3. Database is MariaDB 10.1.32 with default character set utf8mb4. Reverting the commit fixes the error.

CC: @lafriks.

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