Skip to content

Failed to initialize ORM engine during 1.0.2 -> 1.5.0-rc1 upgrade (no such column: is_fsck_enabled) #4451

Closed
@t3hG04T

Description

@t3hG04T
  • Gitea version (or commit ref): 1.5.0-rc1
  • Git version: 2.18.0
  • Operating system: FreeBSD 11 (jail in FreeNAS 11.1)
  • 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:
2018/07/16 21:54:13 [I] Log Mode: File(Info)
2018/07/16 21:54:13 [I] XORM Log Mode: File(Info)
2018/07/16 21:54:13 [I] Cache Service Enabled
2018/07/16 21:54:13 [I] Session Service Enabled
2018/07/16 21:54:13 [I] Mail Service Enabled
2018/07/16 21:54:13 [I] Migration: add tags to releases and sync existing repositories
2018/07/16 21:54:13 [...itea/routers/init.go:60 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: select repos [offset: 0]: no such column: is_fsck_enabled

Description

Hello good people of gitea! 😄

I'm currently migrating from gogs and had successfully moved to gitea 1.0.2.

I've just compiled the binary from 1.5.0-rc1 source (checked out the tag) and started the service, but got greeted with the quoted log message (and insta crash).

Looking here https://github.com/go-gitea/gitea/blob/master/models/migrations/migrations.go seems like I'm getting an error during v40 -> v41, but the aforementioned column is only added in step v61 -> v62?

Thank you in advance fo the help!

Screenshots

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