<p></p>
<p>Was trying to setup API DB using regional extract (and running into import issues such as  <a href="https://lists.openstreetmap.org/pipermail/osmosis-dev/2011-March/000949.html" rel="nofollow">https://lists.openstreetmap.org/pipermail/osmosis-dev/2011-March/000949.html</a>). <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/caduguedess/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/caduguedess">@caduguedess</a>'s issue might be a case of not having the schema in place - the steps up till <code>bundle exec rake db:migrate</code> are necessary. On my end, still trying to resolve:</p>
<blockquote>
<p>ERROR: duplicate key value violates unique constraint "users_display_name_idx"</p>
</blockquote>
<p>It is unfortunate that a lot of guides on OSM data imports (even the official docs <a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/CONFIGURE.md">https://github.com/openstreetmap/openstreetmap-website/blob/master/CONFIGURE.md</a>) still reference the use of osmosis (for lack of a better alternative). This poses a challenge for those hoping to leverage OSM dev stack and understand its actual workings.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2449#issuecomment-645918864">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKT66WBGA43TB4KZMTRXHRCBANCNFSM4JVAZWAA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLO334QMHZUCNVLUJX3RXHRCBA5CNFSM4JVAZWAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEZ77BEA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2449#issuecomment-645918864",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2449#issuecomment-645918864",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>