Skip to content

SQLite - Unknown col "is_empty" in index is_bare in all Versions after 18.01.2019 #5797

Closed
@wofnull

Description

@wofnull
  • Gitea version (or commit ref): 2d94561
  • Git version: 2.11
  • Operating system: Debian
  • 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:
    2019/01/22 07:10:25 [I] Log Mode: File(Info)
    2019/01/22 07:10:25 [I] XORM Log Mode: File(Info)
    2019/01/22 07:10:25 [I] Cache Service Enabled
    2019/01/22 07:10:25 [I] Session Service Enabled
    2019/01/22 07:10:25 [I] Beginning ORM engine initialization.
    2019/01/22 07:10:25 [I] ORM engine initialization attempt Rename import paths: "github.com/gogits/gogs" -> "github.com/go-gitea/gitea" #1/10...
    2019/01/22 07:10:25 [I] Backing off for 3 seconds
    2019/01/22 07:10:28 [I] ORM engine initialization attempt Fix sender of issue notifications #2/10...
    2019/01/22 07:10:28 [I] Backing off for 3 seconds
    2019/01/22 07:10:31 [I] ORM engine initialization attempt Use proper url for libravatar dep #3/10...
    2019/01/22 07:10:31 [I] Backing off for 3 seconds
    2019/01/22 07:10:34 [I] ORM engine initialization attempt Small UI fixes on form titles #4/10...
    2019/01/22 07:10:34 [I] Backing off for 3 seconds
    2019/01/22 07:10:37 [I] ORM engine initialization attempt Small UI fixes on full width form titles #5/10...
    2019/01/22 07:10:37 [I] Backing off for 3 seconds
    2019/01/22 07:10:40 [I] ORM engine initialization attempt Contribution system: History heatmap for user #6/10...
    2019/01/22 07:10:40 [I] Backing off for 3 seconds
    2019/01/22 07:10:43 [I] ORM engine initialization attempt display page revisions on wiki #7/10...
    2019/01/22 07:10:43 [I] Backing off for 3 seconds
    2019/01/22 07:10:46 [I] ORM engine initialization attempt audit logs #8/10...
    2019/01/22 07:10:46 [I] Backing off for 3 seconds
    2019/01/22 07:10:49 [I] ORM engine initialization attempt option to add and remove all repositories on team #9/10...
    2019/01/22 07:10:49 [I] Backing off for 3 seconds
    2019/01/22 07:10:52 [I] ORM engine initialization attempt Order milestone by asc or option to set milestones order #10/10...
    2019/01/22 07:10:52 [...itea/routers/init.go:81 GlobalInit()] [E] ORM engine initialization failed: sync database struct error: Unknown col "is_empty" in index is_bare of table repository, columns [i
    d owner_id lower_name name description website default_branch num_watches num_stars num_forks num_issues num_closed_issues num_pulls num_closed_pulls num_milestones num_closed_milestones is_private i
    s_empty is_mirror is_fork fork_id size created_unix updated_unix is_fsck_enabled topics]

Description:

Since the weekend ( last sucessfull DB change Jan 18 01:58 gitea.db ) the gitea instance on my server failed to start after an automatic update to restart, it looks like a db change was not successfully made causing the server to fail on startup.

Switiching back to a version prior to the one from the 18th seems to work for the moment.

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