Skip to content

Instantly share code, notes, and snippets.

@Rub21
Last active October 16, 2018 21:16
Show Gist options
  • Save Rub21/ad0c59a3b9aa36fd69a08647b807f88e to your computer and use it in GitHub Desktop.
Save Rub21/ad0c59a3b9aa36fd69a08647b807f88e to your computer and use it in GitHub Desktop.
gs://osm-seed-test/database/osm-seed-2018-10-16:19:23.sql.gz
Copying gs://osm-seed-test/database/osm-seed-2018-10-16:19:23.sql.gz...
\ [1 files][ 76.2 MiB/ 76.2 MiB] 4.9 MiB/s
Operation completed over 1 objects/76.2 MiB.
gunzip < $restoreFile | psql -h $POSTGRES_HOST -U $POSTGRES_USER -d $POSTGRES_DB
gs://osm-seed-test/database/osm-seed-2018-10-16:19:23.sql.gz
Copying gs://osm-seed-test/database/osm-seed-2018-10-16:19:23.sql.gz...
/ [1 files][ 76.2 MiB/ 76.2 MiB] 5.7 MiB/s
Operation completed over 1 objects/76.2 MiB.
SET
SET
SET
ERROR: role "postgres" already exists
ALTER ROLE
ERROR: database "openstreetmap" already exists
REVOKE
GRANT
You are now connected to database "openstreetmap" as user "postgres".
SET
SET
SET
ERROR: unrecognized configuration parameter "idle_in_transaction_session_timeout"
SET
SET
set_config
------------
(1 row)
SET
SET
SET
COMMENT
CREATE EXTENSION
COMMENT
CREATE EXTENSION
COMMENT
ERROR: type "format_enum" already exists
ALTER TYPE
ERROR: type "gpx_visibility_enum" already exists
ALTER TYPE
ERROR: type "issue_status_enum" already exists
ALTER TYPE
ERROR: type "note_event_enum" already exists
ALTER TYPE
ERROR: type "note_status_enum" already exists
ALTER TYPE
ERROR: type "nwr_enum" already exists
ALTER TYPE
ERROR: type "user_role_enum" already exists
ALTER TYPE
ERROR: type "user_status_enum" already exists
ALTER TYPE
ERROR: function "maptile_for_point" already exists with same argument types
ALTER FUNCTION
ERROR: function "tile_for_point" already exists with same argument types
ALTER FUNCTION
ERROR: function "xid_to_int4" already exists with same argument types
ALTER FUNCTION
SET
SET
ERROR: relation "acls" already exists
ALTER TABLE
ERROR: relation "acls_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "ar_internal_metadata" already exists
ALTER TABLE
ERROR: relation "changeset_comments" already exists
ALTER TABLE
ERROR: syntax error at or near "AS"
LINE 2: AS integer
^
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "changeset_tags" already exists
ALTER TABLE
ERROR: relation "changesets" already exists
ALTER TABLE
ERROR: relation "changesets_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "changesets_subscribers" already exists
ALTER TABLE
ERROR: relation "client_applications" already exists
ALTER TABLE
ERROR: syntax error at or near "AS"
LINE 2: AS integer
^
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "current_node_tags" already exists
ALTER TABLE
ERROR: relation "current_nodes" already exists
ALTER TABLE
ERROR: relation "current_nodes_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "current_relation_members" already exists
ALTER TABLE
ERROR: relation "current_relation_tags" already exists
ALTER TABLE
ERROR: relation "current_relations" already exists
ALTER TABLE
ERROR: relation "current_relations_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "current_way_nodes" already exists
ALTER TABLE
ERROR: relation "current_way_tags" already exists
ALTER TABLE
ERROR: relation "current_ways" already exists
ALTER TABLE
ERROR: relation "current_ways_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "diary_comments" already exists
ALTER TABLE
ERROR: relation "diary_comments_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "diary_entries" already exists
ALTER TABLE
ERROR: relation "diary_entries_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "diary_entry_subscriptions" already exists
ALTER TABLE
ERROR: relation "friends" already exists
ALTER TABLE
ERROR: relation "friends_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "gps_points" already exists
ALTER TABLE
ERROR: relation "gpx_file_tags" already exists
ALTER TABLE
ERROR: relation "gpx_file_tags_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "gpx_files" already exists
ALTER TABLE
ERROR: relation "gpx_files_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "issue_comments" already exists
ALTER TABLE
ERROR: syntax error at or near "AS"
LINE 2: AS integer
^
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "issues" already exists
ALTER TABLE
ERROR: syntax error at or near "AS"
LINE 2: AS integer
^
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "languages" already exists
ALTER TABLE
ERROR: relation "messages" already exists
ALTER TABLE
ERROR: relation "messages_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "node_tags" already exists
ALTER TABLE
ERROR: relation "nodes" already exists
ALTER TABLE
ERROR: relation "note_comments" already exists
ALTER TABLE
ERROR: syntax error at or near "AS"
LINE 2: AS integer
^
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "notes" already exists
ALTER TABLE
ERROR: syntax error at or near "AS"
LINE 2: AS integer
^
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "oauth_nonces" already exists
ALTER TABLE
ERROR: syntax error at or near "AS"
LINE 2: AS integer
^
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "oauth_tokens" already exists
ALTER TABLE
ERROR: syntax error at or near "AS"
LINE 2: AS integer
^
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "redactions" already exists
ALTER TABLE
ERROR: syntax error at or near "AS"
LINE 2: AS integer
^
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "relation_members" already exists
ALTER TABLE
ERROR: relation "relation_tags" already exists
ALTER TABLE
ERROR: relation "relations" already exists
ALTER TABLE
ERROR: relation "reports" already exists
ALTER TABLE
ERROR: syntax error at or near "AS"
LINE 2: AS integer
^
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "schema_migrations" already exists
ALTER TABLE
ERROR: relation "user_blocks" already exists
ALTER TABLE
ERROR: syntax error at or near "AS"
LINE 2: AS integer
^
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "user_preferences" already exists
ALTER TABLE
ERROR: relation "user_roles" already exists
ALTER TABLE
ERROR: syntax error at or near "AS"
LINE 2: AS integer
^
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "user_tokens" already exists
ALTER TABLE
ERROR: relation "user_tokens_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "users" already exists
ALTER TABLE
ERROR: relation "users_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR: relation "way_nodes" already exists
ALTER TABLE
ERROR: relation "way_tags" already exists
ALTER TABLE
ERROR: relation "ways" already exists
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
COPY 0
ERROR: duplicate key value violates unique constraint "ar_internal_metadata_pkey"
DETAIL: Key (key)=(environment) already exists.
CONTEXT: COPY ar_internal_metadata, line 1
COPY 0
ERROR: insert or update on table "changeset_tags" violates foreign key constraint "changeset_tags_id_fkey"
DETAIL: Key (changeset_id)=(0) is not present in table "changesets".
ERROR: insert or update on table "changesets" violates foreign key constraint "changesets_user_id_fkey"
DETAIL: Key (user_id)=(-1) is not present in table "users".
COPY 0
COPY 0
ERROR: insert or update on table "current_node_tags" violates foreign key constraint "current_node_tags_id_fkey"
DETAIL: Key (node_id)=(287943) is not present in table "current_nodes".
ERROR: insert or update on table "current_nodes" violates foreign key constraint "current_nodes_changeset_id_fkey"
DETAIL: Key (changeset_id)=(22997561) is not present in table "changesets".
ERROR: insert or update on table "current_relation_members" violates foreign key constraint "current_relation_members_id_fkey"
DETAIL: Key (relation_id)=(62152) is not present in table "current_relations".
ERROR: insert or update on table "current_relation_tags" violates foreign key constraint "current_relation_tags_id_fkey"
DETAIL: Key (relation_id)=(62152) is not present in table "current_relations".
ERROR: insert or update on table "current_relations" violates foreign key constraint "current_relations_changeset_id_fkey"
DETAIL: Key (changeset_id)=(52367799) is not present in table "changesets".
ERROR: insert or update on table "current_way_nodes" violates foreign key constraint "current_way_nodes_id_fkey"
DETAIL: Key (way_id)=(4681186) is not present in table "current_ways".
ERROR: insert or update on table "current_way_tags" violates foreign key constraint "current_way_tags_id_fkey"
DETAIL: Key (way_id)=(4681186) is not present in table "current_ways".
ERROR: insert or update on table "current_ways" violates foreign key constraint "current_ways_changeset_id_fkey"
DETAIL: Key (changeset_id)=(28269235) is not present in table "changesets".
COPY 0
COPY 0
COPY 0
COPY 0
COPY 0
COPY 0
COPY 0
COPY 0
COPY 0
ERROR: duplicate key value violates unique constraint "languages_pkey"
DETAIL: Key (code)=(aa) already exists.
CONTEXT: COPY languages, line 1
COPY 0
ERROR: insert or update on table "node_tags" violates foreign key constraint "node_tags_id_fkey"
DETAIL: Key (node_id, version)=(287943, 7) is not present in table "nodes".
ERROR: insert or update on table "nodes" violates foreign key constraint "nodes_changeset_id_fkey"
DETAIL: Key (changeset_id)=(22997561) is not present in table "changesets".
COPY 0
COPY 0
COPY 0
COPY 0
COPY 0
ERROR: insert or update on table "relation_members" violates foreign key constraint "relation_members_id_fkey"
DETAIL: Key (relation_id, version)=(62152, 546) is not present in table "relations".
ERROR: insert or update on table "relation_tags" violates foreign key constraint "relation_tags_id_fkey"
DETAIL: Key (relation_id, version)=(62152, 546) is not present in table "relations".
ERROR: insert or update on table "relations" violates foreign key constraint "relations_changeset_id_fkey"
DETAIL: Key (changeset_id)=(52367799) is not present in table "changesets".
COPY 0
ERROR: duplicate key value violates unique constraint "schema_migrations_pkey"
DETAIL: Key (version)=(1) already exists.
CONTEXT: COPY schema_migrations, line 1
COPY 0
COPY 0
COPY 0
COPY 0
COPY 1688
ERROR: insert or update on table "way_nodes" violates foreign key constraint "way_nodes_id_fkey"
DETAIL: Key (way_id, version)=(4681186, 4) is not present in table "ways".
ERROR: insert or update on table "way_tags" violates foreign key constraint "way_tags_id_fkey"
DETAIL: Key (way_id, version)=(4681186, 4) is not present in table "ways".
ERROR: insert or update on table "ways" violates foreign key constraint "ways_changeset_id_fkey"
DETAIL: Key (changeset_id)=(28269235) is not present in table "changesets".
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
ERROR: multiple primary keys for table "acls" are not allowed
ERROR: multiple primary keys for table "ar_internal_metadata" are not allowed
ERROR: multiple primary keys for table "changeset_comments" are not allowed
ERROR: multiple primary keys for table "changesets" are not allowed
ERROR: multiple primary keys for table "client_applications" are not allowed
ERROR: multiple primary keys for table "current_node_tags" are not allowed
ERROR: multiple primary keys for table "current_nodes" are not allowed
ERROR: multiple primary keys for table "current_relation_members" are not allowed
ERROR: multiple primary keys for table "current_relation_tags" are not allowed
ERROR: multiple primary keys for table "current_relations" are not allowed
ERROR: multiple primary keys for table "current_way_nodes" are not allowed
ERROR: multiple primary keys for table "current_way_tags" are not allowed
ERROR: multiple primary keys for table "current_ways" are not allowed
ERROR: multiple primary keys for table "diary_comments" are not allowed
ERROR: multiple primary keys for table "diary_entries" are not allowed
ERROR: multiple primary keys for table "diary_entry_subscriptions" are not allowed
ERROR: multiple primary keys for table "friends" are not allowed
ERROR: multiple primary keys for table "gpx_file_tags" are not allowed
ERROR: multiple primary keys for table "gpx_files" are not allowed
ERROR: multiple primary keys for table "issue_comments" are not allowed
ERROR: multiple primary keys for table "issues" are not allowed
ERROR: multiple primary keys for table "languages" are not allowed
ERROR: multiple primary keys for table "messages" are not allowed
ERROR: multiple primary keys for table "node_tags" are not allowed
ERROR: multiple primary keys for table "nodes" are not allowed
ERROR: multiple primary keys for table "note_comments" are not allowed
ERROR: multiple primary keys for table "notes" are not allowed
ERROR: multiple primary keys for table "oauth_nonces" are not allowed
ERROR: multiple primary keys for table "oauth_tokens" are not allowed
ERROR: multiple primary keys for table "redactions" are not allowed
ERROR: multiple primary keys for table "relation_members" are not allowed
ERROR: multiple primary keys for table "relation_tags" are not allowed
ERROR: multiple primary keys for table "relations" are not allowed
ERROR: multiple primary keys for table "reports" are not allowed
ERROR: multiple primary keys for table "schema_migrations" are not allowed
ERROR: multiple primary keys for table "user_blocks" are not allowed
ERROR: multiple primary keys for table "user_preferences" are not allowed
ERROR: multiple primary keys for table "user_roles" are not allowed
ERROR: multiple primary keys for table "user_tokens" are not allowed
ERROR: multiple primary keys for table "users" are not allowed
ERROR: multiple primary keys for table "way_nodes" are not allowed
ERROR: multiple primary keys for table "way_tags" are not allowed
ERROR: multiple primary keys for table "ways" are not allowed
ERROR: relation "acls_k_idx" already exists
ERROR: relation "changeset_tags_id_idx" already exists
ERROR: relation "changesets_bbox_idx" already exists
ERROR: relation "changesets_closed_at_idx" already exists
ERROR: relation "changesets_created_at_idx" already exists
ERROR: relation "changesets_user_id_created_at_idx" already exists
ERROR: relation "changesets_user_id_id_idx" already exists
ERROR: relation "current_nodes_tile_idx" already exists
ERROR: relation "current_nodes_timestamp_idx" already exists
ERROR: relation "current_relation_members_member_idx" already exists
ERROR: relation "current_relations_timestamp_idx" already exists
ERROR: relation "current_way_nodes_node_idx" already exists
ERROR: relation "current_ways_timestamp_idx" already exists
ERROR: relation "diary_comment_user_id_created_at_index" already exists
ERROR: relation "diary_comments_entry_id_idx" already exists
ERROR: relation "diary_entry_created_at_index" already exists
ERROR: relation "diary_entry_language_code_created_at_index" already exists
ERROR: relation "diary_entry_user_id_created_at_index" already exists
ERROR: relation "friends_user_id_idx" already exists
ERROR: relation "gpx_file_tags_gpxid_idx" already exists
ERROR: relation "gpx_file_tags_tag_idx" already exists
ERROR: relation "gpx_files_timestamp_idx" already exists
ERROR: relation "gpx_files_user_id_idx" already exists
ERROR: relation "gpx_files_visible_visibility_idx" already exists
ERROR: relation "index_changeset_comments_on_created_at" already exists
ERROR: relation "index_changesets_subscribers_on_changeset_id" already exists
ERROR: relation "index_changesets_subscribers_on_subscriber_id_and_changeset_id" already exists
ERROR: relation "index_client_applications_on_key" already exists
ERROR: relation "index_client_applications_on_user_id" already exists
ERROR: relation "index_diary_entry_subscriptions_on_diary_entry_id" already exists
ERROR: relation "index_issue_comments_on_issue_id" already exists
ERROR: relation "index_issue_comments_on_user_id" already exists
ERROR: relation "index_issues_on_assigned_role" already exists
ERROR: relation "index_issues_on_reportable_type_and_reportable_id" already exists
ERROR: relation "index_issues_on_reported_user_id" already exists
ERROR: relation "index_issues_on_status" already exists
ERROR: relation "index_issues_on_updated_by" already exists
ERROR: relation "index_note_comments_on_body" already exists
ERROR: relation "index_note_comments_on_created_at" already exists
ERROR: relation "index_oauth_nonces_on_nonce_and_timestamp" already exists
ERROR: relation "index_oauth_tokens_on_token" already exists
ERROR: relation "index_oauth_tokens_on_user_id" already exists
ERROR: relation "index_reports_on_issue_id" already exists
ERROR: relation "index_reports_on_user_id" already exists
ERROR: relation "index_user_blocks_on_user_id" already exists
ERROR: relation "messages_from_user_id_idx" already exists
ERROR: relation "messages_to_user_id_idx" already exists
ERROR: relation "nodes_changeset_id_idx" already exists
ERROR: relation "nodes_tile_idx" already exists
ERROR: relation "nodes_timestamp_idx" already exists
ERROR: relation "note_comments_note_id_idx" already exists
ERROR: relation "notes_created_at_idx" already exists
ERROR: relation "notes_tile_status_idx" already exists
ERROR: relation "notes_updated_at_idx" already exists
ERROR: relation "points_gpxid_idx" already exists
ERROR: relation "points_tile_idx" already exists
ERROR: relation "relation_members_member_idx" already exists
ERROR: relation "relations_changeset_id_idx" already exists
ERROR: relation "relations_timestamp_idx" already exists
ERROR: relation "user_id_idx" already exists
ERROR: relation "user_roles_id_role_unique" already exists
ERROR: relation "user_tokens_token_idx" already exists
ERROR: relation "user_tokens_user_id_idx" already exists
ERROR: relation "users_auth_idx" already exists
ERROR: relation "users_display_name_idx" already exists
ERROR: relation "users_display_name_lower_idx" already exists
ERROR: relation "users_email_idx" already exists
ERROR: relation "users_email_lower_idx" already exists
ERROR: relation "users_home_idx" already exists
ERROR: relation "way_nodes_node_idx" already exists
ERROR: relation "ways_changeset_id_idx" already exists
ERROR: relation "ways_timestamp_idx" already exists
ERROR: constraint "changeset_comments_author_id_fkey" for relation "changeset_comments" already exists
ERROR: constraint "changeset_comments_changeset_id_fkey" for relation "changeset_comments" already exists
ERROR: constraint "changeset_tags_id_fkey" for relation "changeset_tags" already exists
ERROR: constraint "changesets_subscribers_changeset_id_fkey" for relation "changesets_subscribers" already exists
ERROR: constraint "changesets_subscribers_subscriber_id_fkey" for relation "changesets_subscribers" already exists
ERROR: constraint "changesets_user_id_fkey" for relation "changesets" already exists
ERROR: constraint "client_applications_user_id_fkey" for relation "client_applications" already exists
ERROR: constraint "current_node_tags_id_fkey" for relation "current_node_tags" already exists
ERROR: constraint "current_nodes_changeset_id_fkey" for relation "current_nodes" already exists
ERROR: constraint "current_relation_members_id_fkey" for relation "current_relation_members" already exists
ERROR: constraint "current_relation_tags_id_fkey" for relation "current_relation_tags" already exists
ERROR: constraint "current_relations_changeset_id_fkey" for relation "current_relations" already exists
ERROR: constraint "current_way_nodes_id_fkey" for relation "current_way_nodes" already exists
ERROR: constraint "current_way_nodes_node_id_fkey" for relation "current_way_nodes" already exists
ERROR: constraint "current_way_tags_id_fkey" for relation "current_way_tags" already exists
ERROR: constraint "current_ways_changeset_id_fkey" for relation "current_ways" already exists
ERROR: constraint "diary_comments_diary_entry_id_fkey" for relation "diary_comments" already exists
ERROR: constraint "diary_comments_user_id_fkey" for relation "diary_comments" already exists
ERROR: constraint "diary_entries_language_code_fkey" for relation "diary_entries" already exists
ERROR: constraint "diary_entries_user_id_fkey" for relation "diary_entries" already exists
ERROR: constraint "diary_entry_subscriptions_diary_entry_id_fkey" for relation "diary_entry_subscriptions" already exists
ERROR: constraint "diary_entry_subscriptions_user_id_fkey" for relation "diary_entry_subscriptions" already exists
ERROR: constraint "friends_friend_user_id_fkey" for relation "friends" already exists
ERROR: constraint "friends_user_id_fkey" for relation "friends" already exists
ERROR: constraint "gps_points_gpx_id_fkey" for relation "gps_points" already exists
ERROR: constraint "gpx_file_tags_gpx_id_fkey" for relation "gpx_file_tags" already exists
ERROR: constraint "gpx_files_user_id_fkey" for relation "gpx_files" already exists
ERROR: constraint "issue_comments_issue_id_fkey" for relation "issue_comments" already exists
ERROR: constraint "issue_comments_user_id_fkey" for relation "issue_comments" already exists
ERROR: constraint "issues_reported_user_id_fkey" for relation "issues" already exists
ERROR: constraint "issues_resolved_by_fkey" for relation "issues" already exists
ERROR: constraint "issues_updated_by_fkey" for relation "issues" already exists
ERROR: constraint "messages_from_user_id_fkey" for relation "messages" already exists
ERROR: constraint "messages_to_user_id_fkey" for relation "messages" already exists
ERROR: constraint "node_tags_id_fkey" for relation "node_tags" already exists
ERROR: constraint "nodes_changeset_id_fkey" for relation "nodes" already exists
ERROR: constraint "nodes_redaction_id_fkey" for relation "nodes" already exists
ERROR: constraint "note_comments_author_id_fkey" for relation "note_comments" already exists
ERROR: constraint "note_comments_note_id_fkey" for relation "note_comments" already exists
ERROR: constraint "oauth_tokens_client_application_id_fkey" for relation "oauth_tokens" already exists
ERROR: constraint "oauth_tokens_user_id_fkey" for relation "oauth_tokens" already exists
ERROR: constraint "redactions_user_id_fkey" for relation "redactions" already exists
ERROR: constraint "relation_members_id_fkey" for relation "relation_members" already exists
ERROR: constraint "relation_tags_id_fkey" for relation "relation_tags" already exists
ERROR: constraint "relations_changeset_id_fkey" for relation "relations" already exists
ERROR: constraint "relations_redaction_id_fkey" for relation "relations" already exists
ERROR: constraint "reports_issue_id_fkey" for relation "reports" already exists
ERROR: constraint "reports_user_id_fkey" for relation "reports" already exists
ERROR: constraint "user_blocks_moderator_id_fkey" for relation "user_blocks" already exists
ERROR: constraint "user_blocks_revoker_id_fkey" for relation "user_blocks" already exists
ERROR: constraint "user_blocks_user_id_fkey" for relation "user_blocks" already exists
ERROR: constraint "user_preferences_user_id_fkey" for relation "user_preferences" already exists
ERROR: constraint "user_roles_granter_id_fkey" for relation "user_roles" already exists
ERROR: constraint "user_roles_user_id_fkey" for relation "user_roles" already exists
ERROR: constraint "user_tokens_user_id_fkey" for relation "user_tokens" already exists
ERROR: constraint "way_nodes_id_fkey" for relation "way_nodes" already exists
ERROR: constraint "way_tags_id_fkey" for relation "way_tags" already exists
ERROR: constraint "ways_changeset_id_fkey" for relation "ways" already exists
ERROR: constraint "ways_redaction_id_fkey" for relation "ways" already exists
You are now connected to database "postgres" as user "postgres".
SET
SET
SET
ERROR: unrecognized configuration parameter "idle_in_transaction_session_timeout"
SET
SET
set_config
------------
(1 row)
SET
SET
SET
COMMENT
COMMENT
CREATE EXTENSION
COMMENT
You are now connected to database "template1" as user "postgres".
SET
SET
SET
ERROR: unrecognized configuration parameter "idle_in_transaction_session_timeout"
SET
SET
set_config
------------
(1 row)
SET
SET
SET
COMMENT
COMMENT
CREATE EXTENSION
COMMENT
root@3ba236a39ab8:/app#
@Rub21
Copy link
Author

Rub21 commented Oct 16, 2018

Copying gs://osm-seed-test/database/osm-seed-2018-10-16:20:59.sql.gz...
| [1 files][ 73.2 MiB/ 73.2 MiB]    5.1 MiB/s
Operation completed over 1 objects/73.2 MiB.
SET
SET
ERROR:  unrecognized configuration parameter "idle_in_transaction_session_timeout"
SET
SET
 set_config
------------

(1 row)

SET
SET
SET
COMMENT
CREATE EXTENSION
COMMENT
CREATE EXTENSION
COMMENT
ERROR:  type "format_enum" already exists
ALTER TYPE
ERROR:  type "gpx_visibility_enum" already exists
ALTER TYPE
ERROR:  type "issue_status_enum" already exists
ALTER TYPE
ERROR:  type "note_event_enum" already exists
ALTER TYPE
ERROR:  type "note_status_enum" already exists
ALTER TYPE
ERROR:  type "nwr_enum" already exists
ALTER TYPE
ERROR:  type "user_role_enum" already exists
ALTER TYPE
ERROR:  type "user_status_enum" already exists
ALTER TYPE
ERROR:  function "maptile_for_point" already exists with same argument types
ALTER FUNCTION
ERROR:  function "tile_for_point" already exists with same argument types
ALTER FUNCTION
ERROR:  function "xid_to_int4" already exists with same argument types
ALTER FUNCTION
SET
SET
ERROR:  relation "acls" already exists
ALTER TABLE
ERROR:  relation "acls_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "ar_internal_metadata" already exists
ALTER TABLE
ERROR:  relation "changeset_comments" already exists
ALTER TABLE
ERROR:  syntax error at or near "AS"
LINE 2:     AS integer
            ^
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "changeset_tags" already exists
ALTER TABLE
ERROR:  relation "changesets" already exists
ALTER TABLE
ERROR:  relation "changesets_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "changesets_subscribers" already exists
ALTER TABLE
ERROR:  relation "client_applications" already exists
ALTER TABLE
ERROR:  syntax error at or near "AS"
LINE 2:     AS integer
            ^
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "current_node_tags" already exists
ALTER TABLE
ERROR:  relation "current_nodes" already exists
ALTER TABLE
ERROR:  relation "current_nodes_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "current_relation_members" already exists
ALTER TABLE
ERROR:  relation "current_relation_tags" already exists
ALTER TABLE
ERROR:  relation "current_relations" already exists
ALTER TABLE
ERROR:  relation "current_relations_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "current_way_nodes" already exists
ALTER TABLE
ERROR:  relation "current_way_tags" already exists
ALTER TABLE
ERROR:  relation "current_ways" already exists
ALTER TABLE
ERROR:  relation "current_ways_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "diary_comments" already exists
ALTER TABLE
ERROR:  relation "diary_comments_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "diary_entries" already exists
ALTER TABLE
ERROR:  relation "diary_entries_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "diary_entry_subscriptions" already exists
ALTER TABLE
ERROR:  relation "friends" already exists
ALTER TABLE
ERROR:  relation "friends_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "gps_points" already exists
ALTER TABLE
ERROR:  relation "gpx_file_tags" already exists
ALTER TABLE
ERROR:  relation "gpx_file_tags_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "gpx_files" already exists
ALTER TABLE
ERROR:  relation "gpx_files_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "issue_comments" already exists
ALTER TABLE
ERROR:  syntax error at or near "AS"
LINE 2:     AS integer
            ^
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "issues" already exists
ALTER TABLE
ERROR:  syntax error at or near "AS"
LINE 2:     AS integer
            ^
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "languages" already exists
ALTER TABLE
ERROR:  relation "messages" already exists
ALTER TABLE
ERROR:  relation "messages_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "node_tags" already exists
ALTER TABLE
ERROR:  relation "nodes" already exists
ALTER TABLE
ERROR:  relation "note_comments" already exists
ALTER TABLE
ERROR:  syntax error at or near "AS"
LINE 2:     AS integer
            ^
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "notes" already exists
ALTER TABLE
ERROR:  syntax error at or near "AS"
LINE 2:     AS integer
            ^
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "oauth_nonces" already exists
ALTER TABLE
ERROR:  syntax error at or near "AS"
LINE 2:     AS integer
            ^
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "oauth_tokens" already exists
ALTER TABLE
ERROR:  syntax error at or near "AS"
LINE 2:     AS integer
            ^
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "redactions" already exists
ALTER TABLE
ERROR:  syntax error at or near "AS"
LINE 2:     AS integer
            ^
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "relation_members" already exists
ALTER TABLE
ERROR:  relation "relation_tags" already exists
ALTER TABLE
ERROR:  relation "relations" already exists
ALTER TABLE
ERROR:  relation "reports" already exists
ALTER TABLE
ERROR:  syntax error at or near "AS"
LINE 2:     AS integer
            ^
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "schema_migrations" already exists
ALTER TABLE
ERROR:  relation "user_blocks" already exists
ALTER TABLE
ERROR:  syntax error at or near "AS"
LINE 2:     AS integer
            ^
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "user_preferences" already exists
ALTER TABLE
ERROR:  relation "user_roles" already exists
ALTER TABLE
ERROR:  syntax error at or near "AS"
LINE 2:     AS integer
            ^
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "user_tokens" already exists
ALTER TABLE
ERROR:  relation "user_tokens_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "users" already exists
ALTER TABLE
ERROR:  relation "users_id_seq" already exists
ALTER TABLE
ALTER SEQUENCE
ERROR:  relation "way_nodes" already exists
ALTER TABLE
ERROR:  relation "way_tags" already exists
ALTER TABLE
ERROR:  relation "ways" already exists
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
COPY 0
ERROR:  duplicate key value violates unique constraint "ar_internal_metadata_pkey"
DETAIL:  Key (key)=(environment) already exists.
CONTEXT:  COPY ar_internal_metadata, line 1
COPY 0
ERROR:  insert or update on table "changeset_tags" violates foreign key constraint "changeset_tags_id_fkey"
DETAIL:  Key (changeset_id)=(0) is not present in table "changesets".
ERROR:  insert or update on table "changesets" violates foreign key constraint "changesets_user_id_fkey"
DETAIL:  Key (user_id)=(-1) is not present in table "users".
COPY 0
COPY 0
ERROR:  insert or update on table "current_node_tags" violates foreign key constraint "current_node_tags_id_fkey"
DETAIL:  Key (node_id)=(287943) is not present in table "current_nodes".
ERROR:  insert or update on table "current_nodes" violates foreign key constraint "current_nodes_changeset_id_fkey"
DETAIL:  Key (changeset_id)=(22997561) is not present in table "changesets".
ERROR:  insert or update on table "current_relation_members" violates foreign key constraint "current_relation_members_id_fkey"
DETAIL:  Key (relation_id)=(62152) is not present in table "current_relations".
ERROR:  insert or update on table "current_relation_tags" violates foreign key constraint "current_relation_tags_id_fkey"
DETAIL:  Key (relation_id)=(62152) is not present in table "current_relations".
ERROR:  insert or update on table "current_relations" violates foreign key constraint "current_relations_changeset_id_fkey"
DETAIL:  Key (changeset_id)=(52367799) is not present in table "changesets".
ERROR:  insert or update on table "current_way_nodes" violates foreign key constraint "current_way_nodes_id_fkey"
DETAIL:  Key (way_id)=(4681186) is not present in table "current_ways".
ERROR:  insert or update on table "current_way_tags" violates foreign key constraint "current_way_tags_id_fkey"
DETAIL:  Key (way_id)=(4681186) is not present in table "current_ways".
ERROR:  insert or update on table "current_ways" violates foreign key constraint "current_ways_changeset_id_fkey"
DETAIL:  Key (changeset_id)=(28269235) is not present in table "changesets".
COPY 0
COPY 0
COPY 0
COPY 0
COPY 0
COPY 0
COPY 0
COPY 0
COPY 0
ERROR:  duplicate key value violates unique constraint "languages_pkey"
DETAIL:  Key (code)=(aa) already exists.
CONTEXT:  COPY languages, line 1
COPY 0
ERROR:  insert or update on table "node_tags" violates foreign key constraint "node_tags_id_fkey"
DETAIL:  Key (node_id, version)=(287943, 7) is not present in table "nodes".
ERROR:  insert or update on table "nodes" violates foreign key constraint "nodes_changeset_id_fkey"
DETAIL:  Key (changeset_id)=(22997561) is not present in table "changesets".
COPY 0
COPY 0
COPY 0
COPY 0
COPY 0
ERROR:  insert or update on table "relation_members" violates foreign key constraint "relation_members_id_fkey"
DETAIL:  Key (relation_id, version)=(62152, 546) is not present in table "relations".
ERROR:  insert or update on table "relation_tags" violates foreign key constraint "relation_tags_id_fkey"
DETAIL:  Key (relation_id, version)=(62152, 546) is not present in table "relations".
ERROR:  insert or update on table "relations" violates foreign key constraint "relations_changeset_id_fkey"
DETAIL:  Key (changeset_id)=(52367799) is not present in table "changesets".
COPY 0
ERROR:  duplicate key value violates unique constraint "schema_migrations_pkey"
DETAIL:  Key (version)=(1) already exists.
CONTEXT:  COPY schema_migrations, line 1
COPY 0
COPY 0
COPY 0
COPY 0
COPY 1688
ERROR:  insert or update on table "way_nodes" violates foreign key constraint "way_nodes_id_fkey"
DETAIL:  Key (way_id, version)=(4681186, 4) is not present in table "ways".
ERROR:  insert or update on table "way_tags" violates foreign key constraint "way_tags_id_fkey"
DETAIL:  Key (way_id, version)=(4681186, 4) is not present in table "ways".
ERROR:  insert or update on table "ways" violates foreign key constraint "ways_changeset_id_fkey"
DETAIL:  Key (changeset_id)=(28269235) is not present in table "changesets".
 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

 setval
--------
      1
(1 row)

ERROR:  multiple primary keys for table "acls" are not allowed
ERROR:  multiple primary keys for table "ar_internal_metadata" are not allowed
ERROR:  multiple primary keys for table "changeset_comments" are not allowed
ERROR:  multiple primary keys for table "changesets" are not allowed
ERROR:  multiple primary keys for table "client_applications" are not allowed
ERROR:  multiple primary keys for table "current_node_tags" are not allowed
ERROR:  multiple primary keys for table "current_nodes" are not allowed
ERROR:  multiple primary keys for table "current_relation_members" are not allowed
ERROR:  multiple primary keys for table "current_relation_tags" are not allowed
ERROR:  multiple primary keys for table "current_relations" are not allowed
ERROR:  multiple primary keys for table "current_way_nodes" are not allowed
ERROR:  multiple primary keys for table "current_way_tags" are not allowed
ERROR:  multiple primary keys for table "current_ways" are not allowed
ERROR:  multiple primary keys for table "diary_comments" are not allowed
ERROR:  multiple primary keys for table "diary_entries" are not allowed
ERROR:  multiple primary keys for table "diary_entry_subscriptions" are not allowed
ERROR:  multiple primary keys for table "friends" are not allowed
ERROR:  multiple primary keys for table "gpx_file_tags" are not allowed
ERROR:  multiple primary keys for table "gpx_files" are not allowed
ERROR:  multiple primary keys for table "issue_comments" are not allowed
ERROR:  multiple primary keys for table "issues" are not allowed
ERROR:  multiple primary keys for table "languages" are not allowed
ERROR:  multiple primary keys for table "messages" are not allowed
ERROR:  multiple primary keys for table "node_tags" are not allowed
ERROR:  multiple primary keys for table "nodes" are not allowed
ERROR:  multiple primary keys for table "note_comments" are not allowed
ERROR:  multiple primary keys for table "notes" are not allowed
ERROR:  multiple primary keys for table "oauth_nonces" are not allowed
ERROR:  multiple primary keys for table "oauth_tokens" are not allowed
ERROR:  multiple primary keys for table "redactions" are not allowed
ERROR:  multiple primary keys for table "relation_members" are not allowed
ERROR:  multiple primary keys for table "relation_tags" are not allowed
ERROR:  multiple primary keys for table "relations" are not allowed
ERROR:  multiple primary keys for table "reports" are not allowed
ERROR:  multiple primary keys for table "schema_migrations" are not allowed
ERROR:  multiple primary keys for table "user_blocks" are not allowed
ERROR:  multiple primary keys for table "user_preferences" are not allowed
ERROR:  multiple primary keys for table "user_roles" are not allowed
ERROR:  multiple primary keys for table "user_tokens" are not allowed
ERROR:  multiple primary keys for table "users" are not allowed
ERROR:  multiple primary keys for table "way_nodes" are not allowed
ERROR:  multiple primary keys for table "way_tags" are not allowed
ERROR:  multiple primary keys for table "ways" are not allowed
ERROR:  relation "acls_k_idx" already exists
ERROR:  relation "changeset_tags_id_idx" already exists
ERROR:  relation "changesets_bbox_idx" already exists
ERROR:  relation "changesets_closed_at_idx" already exists
ERROR:  relation "changesets_created_at_idx" already exists
ERROR:  relation "changesets_user_id_created_at_idx" already exists
ERROR:  relation "changesets_user_id_id_idx" already exists
ERROR:  relation "current_nodes_tile_idx" already exists
ERROR:  relation "current_nodes_timestamp_idx" already exists
ERROR:  relation "current_relation_members_member_idx" already exists
ERROR:  relation "current_relations_timestamp_idx" already exists
ERROR:  relation "current_way_nodes_node_idx" already exists
ERROR:  relation "current_ways_timestamp_idx" already exists
ERROR:  relation "diary_comment_user_id_created_at_index" already exists
ERROR:  relation "diary_comments_entry_id_idx" already exists
ERROR:  relation "diary_entry_created_at_index" already exists
ERROR:  relation "diary_entry_language_code_created_at_index" already exists
ERROR:  relation "diary_entry_user_id_created_at_index" already exists
ERROR:  relation "friends_user_id_idx" already exists
ERROR:  relation "gpx_file_tags_gpxid_idx" already exists
ERROR:  relation "gpx_file_tags_tag_idx" already exists
ERROR:  relation "gpx_files_timestamp_idx" already exists
ERROR:  relation "gpx_files_user_id_idx" already exists
ERROR:  relation "gpx_files_visible_visibility_idx" already exists
ERROR:  relation "index_changeset_comments_on_created_at" already exists
ERROR:  relation "index_changesets_subscribers_on_changeset_id" already exists
ERROR:  relation "index_changesets_subscribers_on_subscriber_id_and_changeset_id" already exists
ERROR:  relation "index_client_applications_on_key" already exists
ERROR:  relation "index_client_applications_on_user_id" already exists
ERROR:  relation "index_diary_entry_subscriptions_on_diary_entry_id" already exists
ERROR:  relation "index_issue_comments_on_issue_id" already exists
ERROR:  relation "index_issue_comments_on_user_id" already exists
ERROR:  relation "index_issues_on_assigned_role" already exists
ERROR:  relation "index_issues_on_reportable_type_and_reportable_id" already exists
ERROR:  relation "index_issues_on_reported_user_id" already exists
ERROR:  relation "index_issues_on_status" already exists
ERROR:  relation "index_issues_on_updated_by" already exists
ERROR:  relation "index_note_comments_on_body" already exists
ERROR:  relation "index_note_comments_on_created_at" already exists
ERROR:  relation "index_oauth_nonces_on_nonce_and_timestamp" already exists
ERROR:  relation "index_oauth_tokens_on_token" already exists
ERROR:  relation "index_oauth_tokens_on_user_id" already exists
ERROR:  relation "index_reports_on_issue_id" already exists
ERROR:  relation "index_reports_on_user_id" already exists
ERROR:  relation "index_user_blocks_on_user_id" already exists
ERROR:  relation "messages_from_user_id_idx" already exists
ERROR:  relation "messages_to_user_id_idx" already exists
ERROR:  relation "nodes_changeset_id_idx" already exists
ERROR:  relation "nodes_tile_idx" already exists
ERROR:  relation "nodes_timestamp_idx" already exists
ERROR:  relation "note_comments_note_id_idx" already exists
ERROR:  relation "notes_created_at_idx" already exists
ERROR:  relation "notes_tile_status_idx" already exists
ERROR:  relation "notes_updated_at_idx" already exists
ERROR:  relation "points_gpxid_idx" already exists
ERROR:  relation "points_tile_idx" already exists
ERROR:  relation "relation_members_member_idx" already exists
ERROR:  relation "relations_changeset_id_idx" already exists
ERROR:  relation "relations_timestamp_idx" already exists
ERROR:  relation "user_id_idx" already exists
ERROR:  relation "user_roles_id_role_unique" already exists
ERROR:  relation "user_tokens_token_idx" already exists
ERROR:  relation "user_tokens_user_id_idx" already exists
ERROR:  relation "users_auth_idx" already exists
ERROR:  relation "users_display_name_idx" already exists
ERROR:  relation "users_display_name_lower_idx" already exists
ERROR:  relation "users_email_idx" already exists
ERROR:  relation "users_email_lower_idx" already exists
ERROR:  relation "users_home_idx" already exists
ERROR:  relation "way_nodes_node_idx" already exists
ERROR:  relation "ways_changeset_id_idx" already exists
ERROR:  relation "ways_timestamp_idx" already exists
ERROR:  constraint "changeset_comments_author_id_fkey" for relation "changeset_comments" already exists
ERROR:  constraint "changeset_comments_changeset_id_fkey" for relation "changeset_comments" already exists
ERROR:  constraint "changeset_tags_id_fkey" for relation "changeset_tags" already exists
ERROR:  constraint "changesets_subscribers_changeset_id_fkey" for relation "changesets_subscribers" already exists
ERROR:  constraint "changesets_subscribers_subscriber_id_fkey" for relation "changesets_subscribers" already exists
ERROR:  constraint "changesets_user_id_fkey" for relation "changesets" already exists
ERROR:  constraint "client_applications_user_id_fkey" for relation "client_applications" already exists
ERROR:  constraint "current_node_tags_id_fkey" for relation "current_node_tags" already exists
ERROR:  constraint "current_nodes_changeset_id_fkey" for relation "current_nodes" already exists
ERROR:  constraint "current_relation_members_id_fkey" for relation "current_relation_members" already exists
ERROR:  constraint "current_relation_tags_id_fkey" for relation "current_relation_tags" already exists
ERROR:  constraint "current_relations_changeset_id_fkey" for relation "current_relations" already exists
ERROR:  constraint "current_way_nodes_id_fkey" for relation "current_way_nodes" already exists
ERROR:  constraint "current_way_nodes_node_id_fkey" for relation "current_way_nodes" already exists
ERROR:  constraint "current_way_tags_id_fkey" for relation "current_way_tags" already exists
ERROR:  constraint "current_ways_changeset_id_fkey" for relation "current_ways" already exists
ERROR:  constraint "diary_comments_diary_entry_id_fkey" for relation "diary_comments" already exists
ERROR:  constraint "diary_comments_user_id_fkey" for relation "diary_comments" already exists
ERROR:  constraint "diary_entries_language_code_fkey" for relation "diary_entries" already exists
ERROR:  constraint "diary_entries_user_id_fkey" for relation "diary_entries" already exists
ERROR:  constraint "diary_entry_subscriptions_diary_entry_id_fkey" for relation "diary_entry_subscriptions" already exists
ERROR:  constraint "diary_entry_subscriptions_user_id_fkey" for relation "diary_entry_subscriptions" already exists
ERROR:  constraint "friends_friend_user_id_fkey" for relation "friends" already exists
ERROR:  constraint "friends_user_id_fkey" for relation "friends" already exists
ERROR:  constraint "gps_points_gpx_id_fkey" for relation "gps_points" already exists
ERROR:  constraint "gpx_file_tags_gpx_id_fkey" for relation "gpx_file_tags" already exists
ERROR:  constraint "gpx_files_user_id_fkey" for relation "gpx_files" already exists
ERROR:  constraint "issue_comments_issue_id_fkey" for relation "issue_comments" already exists
ERROR:  constraint "issue_comments_user_id_fkey" for relation "issue_comments" already exists
ERROR:  constraint "issues_reported_user_id_fkey" for relation "issues" already exists
ERROR:  constraint "issues_resolved_by_fkey" for relation "issues" already exists
ERROR:  constraint "issues_updated_by_fkey" for relation "issues" already exists
ERROR:  constraint "messages_from_user_id_fkey" for relation "messages" already exists
ERROR:  constraint "messages_to_user_id_fkey" for relation "messages" already exists
ERROR:  constraint "node_tags_id_fkey" for relation "node_tags" already exists
ERROR:  constraint "nodes_changeset_id_fkey" for relation "nodes" already exists
ERROR:  constraint "nodes_redaction_id_fkey" for relation "nodes" already exists
ERROR:  constraint "note_comments_author_id_fkey" for relation "note_comments" already exists
ERROR:  constraint "note_comments_note_id_fkey" for relation "note_comments" already exists
ERROR:  constraint "oauth_tokens_client_application_id_fkey" for relation "oauth_tokens" already exists
ERROR:  constraint "oauth_tokens_user_id_fkey" for relation "oauth_tokens" already exists
ERROR:  constraint "redactions_user_id_fkey" for relation "redactions" already exists
ERROR:  constraint "relation_members_id_fkey" for relation "relation_members" already exists
ERROR:  constraint "relation_tags_id_fkey" for relation "relation_tags" already exists
ERROR:  constraint "relations_changeset_id_fkey" for relation "relations" already exists
ERROR:  constraint "relations_redaction_id_fkey" for relation "relations" already exists
ERROR:  constraint "reports_issue_id_fkey" for relation "reports" already exists
ERROR:  constraint "reports_user_id_fkey" for relation "reports" already exists
ERROR:  constraint "user_blocks_moderator_id_fkey" for relation "user_blocks" already exists
ERROR:  constraint "user_blocks_revoker_id_fkey" for relation "user_blocks" already exists
ERROR:  constraint "user_blocks_user_id_fkey" for relation "user_blocks" already exists
ERROR:  constraint "user_preferences_user_id_fkey" for relation "user_preferences" already exists
ERROR:  constraint "user_roles_granter_id_fkey" for relation "user_roles" already exists
ERROR:  constraint "user_roles_user_id_fkey" for relation "user_roles" already exists
ERROR:  constraint "user_tokens_user_id_fkey" for relation "user_tokens" already exists
ERROR:  constraint "way_nodes_id_fkey" for relation "way_nodes" already exists
ERROR:  constraint "way_tags_id_fkey" for relation "way_tags" already exists
ERROR:  constraint "ways_changeset_id_fkey" for relation "ways" already exists
ERROR:  constraint "ways_redaction_id_fkey" for relation "ways" already exists
root@e3596eb4a6fe:/app#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment