Skip to content

Migration from 1.13.7 to 1.14.1 failed with migrate: do migrate: Error 1071: Specified key was too long; max key length is 1000 bytes #15811

Closed
@tanrui8765

Description

@tanrui8765
  • Gitea version (or commit ref): 1.13.7 -> 1.14.0/1.14.2
  • Git version: 2.23.0.windows.1
  • Operating system: Windows Server 2008 R2 Enterprise SP1 64bit
  • Gitea is downloaded as "gitea-1.13.7-windows-4.0-amd64.exe", "gitea-1.14.2-windows-4.0-amd64.exe", run as windows service.
  • Database (use [x]):
    • PostgreSQL
    • MySQL 5.7.26
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:

Description

I tried to upgrade from 1.13.7 to 1.14.0/1.14.2 directly, but failed. The info when I execute “doctor —all —fix” is the same with the GitHub issue #15505. The upgrade steps are as follows:

  1. Stop the gitea windows service.
  2. Copy and replace the gitea.exe with newer version.
  3. Restart the gitea windows service. (Failed! 1.13.7 -> 1.14.0/1.14.2, Error 1067: The process terminated unexpectedly)
  4. Get the doctor information. (./gitea.exe doctor --all --fix)

Screenshots

image

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