{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/sentry/issues/4403","repository_url":"https://api.github.com/repos/getsentry/sentry","labels_url":"https://api.github.com/repos/getsentry/sentry/issues/4403/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/sentry/issues/4403/comments","events_url":"https://api.github.com/repos/getsentry/sentry/issues/4403/events","html_url":"https://github.com/getsentry/sentry/issues/4403","id":183990524,"number":4403,"title":"load-mocks error: duplicate key value violates unique constraint ","user":{"login":"torarnv","id":7536,"avatar_url":"https://avatars.githubusercontent.com/u/7536?v=3","gravatar_id":"","url":"https://api.github.com/users/torarnv","html_url":"https://github.com/torarnv","followers_url":"https://api.github.com/users/torarnv/followers","following_url":"https://api.github.com/users/torarnv/following{/other_user}","gists_url":"https://api.github.com/users/torarnv/gists{/gist_id}","starred_url":"https://api.github.com/users/torarnv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torarnv/subscriptions","organizations_url":"https://api.github.com/users/torarnv/orgs","repos_url":"https://api.github.com/users/torarnv/repos","events_url":"https://api.github.com/users/torarnv/events{/privacy}","received_events_url":"https://api.github.com/users/torarnv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-19T15:11:31Z","updated_at":"2016-10-19T17:00:42Z","closed_at":"2016-10-19T17:00:42Z","body":"Get a bunch of these when running load-mocks:\r\n\r\n```\r\nERROR:  duplicate key value violates unique constraint \"sentry_eventuser_project_id_1a96e3b719e55f9a_uniq\"\r\nDETAIL:  Key (project_id, hash)=(3, 647c722bf90a49140184672e0d3723e3) already exists.\r\nSTATEMENT:  INSERT INTO \"sentry_eventuser\" (\"project_id\", \"hash\", \"ident\", \"email\", \"username\", \"ip_address\", \"date_added\") VALUES (3, '647c722bf90a49140184672e0d3723e3', '1671', 'foo@example.com', 'getsentry', NULL, '2016-10-19 15:08:04.525919+00:00') RETURNING \"sentry_eventuser\".\"id\"\r\nERROR:  duplicate key value violates unique constraint \"sentry_environmentrelease_project_id_1762e5bd8b7a0675_uniq\"\r\nDETAIL:  Key (project_id, release_id, environment_id)=(3, 3, 6) already exists.\r\nSTATEMENT:  INSERT INTO \"sentry_environmentrelease\" (\"project_id\", \"release_id\", \"environment_id\", \"first_seen\", \"last_seen\") VALUES (3, 3, 6, '2016-10-19 15:08:04+00:00', '2016-10-19 15:08:04+00:00') RETURNING \"sentry_environmentrelease\".\"id\"\r\n```"},"comment":{"url":"https://api.github.com/repos/getsentry/sentry/issues/comments/254875573","html_url":"https://github.com/getsentry/sentry/issues/4403#issuecomment-254875573","issue_url":"https://api.github.com/repos/getsentry/sentry/issues/4403","id":254875573,"user":{"login":"torarnv","id":7536,"avatar_url":"https://avatars.githubusercontent.com/u/7536?v=3","gravatar_id":"","url":"https://api.github.com/users/torarnv","html_url":"https://github.com/torarnv","followers_url":"https://api.github.com/users/torarnv/followers","following_url":"https://api.github.com/users/torarnv/following{/other_user}","gists_url":"https://api.github.com/users/torarnv/gists{/gist_id}","starred_url":"https://api.github.com/users/torarnv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torarnv/subscriptions","organizations_url":"https://api.github.com/users/torarnv/orgs","repos_url":"https://api.github.com/users/torarnv/repos","events_url":"https://api.github.com/users/torarnv/events{/privacy}","received_events_url":"https://api.github.com/users/torarnv/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T17:00:42Z","updated_at":"2016-10-19T17:00:42Z","body":"This was due to running `pg_ctl -D /usr/local/var/postgres start`, as per the instructions on https://docs.sentry.io/internal/environment/, in the same shell as I was then doing Sentry stuff. So postgres was dumping errors to the foreground, errors which are not real errors from the point-of-view of Sentry, so they can be ignored."}}
{"actor":{"display_login":"torarnv"}}