[x]):After upgrading to 1.1.0 via Gentoo portage I can't start gitea because of:
2017/03/15 12:27:52 [...itea/routers/init.go:54 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: CreateIndexes RepoUnit: pq: relation "IDX_repo_unit_S" already exists
...
Please drop the table repo_unit manually and start again.
That worked.
@lunny any way to make our migrations immune from this issue ? (might help when people try to migrate from a newer Gogs, for example)
It's hard to resolve this problem. Many operations cannot be reverted.