Skip to content

Gitea migration in docker #5763

Closed
Closed
@danst0

Description

@danst0

I have a docker container with gitea (latest) running.
I just realized that gitea is not running anymore. The error in the log is:

019/01/18 20:48:58 [I] Migration: add approval whitelists to protected branches
2019/01/18 20:48:58 [...itea/routers/init.go:61 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: Unknown col "is_empty" in index is_bare of table repository, columns [id 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 is_empty is_mirror is_fork fork_id size created_unix updated_unix is_fsck_enabled topics]

After that Gitea restarts and repeats

gitea     | 2019/01/18 20:48:52 [T] AppPath: /app/gitea/gitea
gitea     | 2019/01/18 20:48:52 [T] AppWorkPath: /app/gitea
gitea     | 2019/01/18 20:48:52 [T] Custom path: /data/gitea
gitea     | 2019/01/18 20:48:52 [T] Log path: /data/gitea/log
gitea     | 2019/01/18 20:48:53 [T] AppPath: /app/gitea/gitea
gitea     | 2019/01/18 20:48:53 [T] AppWorkPath: /app/gitea

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