Skip to content

Instantly share code, notes, and snippets.

@mjwwit

mjwwit/gitea.log Secret

Created January 24, 2017 08:08
Show Gist options
  • Save mjwwit/08966dde2b08b4ecd941112c3c754d8a to your computer and use it in GitHub Desktop.
Save mjwwit/08966dde2b08b4ecd941112c3c754d8a to your computer and use it in GitHub Desktop.
Create repo after gitea dump error
2017/01/24 07:58:47 [...routers/repo/repo.go:103 handleCreateError()] [E] CreatePost: pq: duplicate key value violates unique constraint "repository_pkey"
2017/01/24 07:58:47 [D] Template: status/500
[Macaron] 2017-01-24 07:58:47: Completed /repo/create 500 Internal Server Error in 110.157447ms
ERROR: duplicate key value violates unique constraint "repository_pkey"
DETAIL: Key (id)=(1) already exists.
STATEMENT: INSERT INTO "repository" ("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_bare","is_mirror","enable_wiki","enable_external_wiki","external_wiki_url","enable_issues","enable_external_tracker","external_tracker_url","external_tracker_format","external_tracker_style","enable_pulls","is_fork","fork_id","created_unix","updated_unix") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31) RETURNING "id"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment