Skip to content

Can't DROP INDEX IDX_repository_is_bare; check that it exists #6819

Closed
@sitilge

Description

@sitilge
  • Gitea version (or commit ref): 1.8.0
  • Git version: 2.21.0
  • Operating system: arch linux 4.18.16
  • 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/05/01 20:40:05 [I] ORM engine initialization attempt #1/10...
2019/05/01 20:40:05 [I] Migration: rename repo is_bare to repo is_empty
2019/05/01 20:40:05 [D] ORM engine initialization attempt #1/10 failed. Error: migrate: do migrate: Drop index failed: Error 1091: Can't DROP INDEX IDX_repository_is_bare; check that it exists
2019/05/01 20:40:05 [I] Backing off for 3 seconds

Description

After upgrading gitea, the gitea won't start and the error Can't DROP INDEX IDX_repository_is_bare; check that it exists appears in the logs.

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