gitea: gitlab migrate mergerequests+issues fail

gitea version: v1.13.0 - master

error message: Migrate repository from https://gitlab.com/troyengel/archbuild failed: Error 1062: Duplicate entry '284-2' for key 'UQE_issue_repo_index'

to reporduce:

if you only migrate one of them it works. so the problem is related to the workaround for new pull indexes

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 2
  • Comments: 16 (6 by maintainers)

Commits related to this issue

Most upvoted comments

This is still a major issue when migrating from GitLab. I had to drop all merge requests to avoid this error and successfully import my repositories.

Reproduced on Docker running version v1.16.0+dev-692-gf58e687a8 with Postgres.

Repository: https://gitlab.com/troyengel/archbuild

gitea     | 2021/12/15 21:11:22 ...ervices/task/task.go:56:handle() [E] Run task failed: pq: duplicate key value violates unique constraint "UQE_issue_repo_index"