Skip to content

Gitea breaks on Mariadb 10.1.35 #4704

Closed
@CountMurphy

Description

@CountMurphy
  • Gitea version (or commit ref): 15.0
  • Git version:2.18.0
  • Operating system: Arch 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
  • Log gist:

Error 1071: Specified key was too long; max key length is 767 bytes

Description

Looks like this Gogs bug (gogs/gogs#4894) migrated over. gitea now expects mariadb 10.2 for this upgrade. Arch still runs 10.1.35. Gitea will crash trying to upgrade the database.
...

Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/duplicateThe issue has already been reported.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions