Skip to content

Unable to migrate from 1.7.6 to 1.8.0 and beyond #7105

@lgrahl

Description

@lgrahl
  • Gitea version (or commit ref): v1.9.0+dev-314-g8eba27c79 (Docker)
  • Git version: 2.20.1
  • 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
  • Log gist: https://gist.github.com/lgrahl/3e9992345ad6b83650492af4b2bbba61

Description

First of all, many thanks for maintaining this awesome project! 👍

I'm trying to migrate from a 1.4.x database version to 1.8.0. I've been able to slowly migrate my database from 1.4.x to 1.7.6 but as soon as I try 1.8.0, I always run into an error for the following migration routine: Migration[82]: hot fix for wrong release sha1 on release table. This eventually fails with the cryptic error ORM engine initialization failed: migrate: do migrate: no such file or directory. I tried running the latest Docker tag to see if #6387 fixes it but that fails with the same error.

See the Gist linked above for a full log.

Activity

lafriks

lafriks commented on Jun 2, 2019

@lafriks
Member

Have you tried upgrading directly to 1.8.2?

added
type/questionIssue needs no code to be fixed, only a description on how to fix it yourself.
on Jun 2, 2019
lgrahl

lgrahl commented on Jun 2, 2019

@lgrahl
Author

Initially, yes. But I had a backup of the database and then tried incrementally upgrading to 1.7.6. The result was the same.

lgrahl

lgrahl commented on Jun 2, 2019

@lgrahl
Author

I've solved the mystery. My repository path changed and I misinterpreted the above error. Works fine for me now. 👍

locked and limited conversation to collaborators on Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/questionIssue needs no code to be fixed, only a description on how to fix it yourself.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @lafriks@lgrahl

        Issue actions

          Unable to migrate from 1.7.6 to 1.8.0 and beyond · Issue #7105 · go-gitea/gitea