<p>Hello everyone,</p>

<p>I had successfully installed openstreetmap-website on Ubuntu 14.04.<br>
Now I'am trying to import a pbf file into the "openstreetmap" database using the following command:</p>

<pre><code>osmosis --read-pbf /home/osm-data/my_citie.osm.pbf   --write-apidb host="localhost" database="openstreetmap"   user="postgres" password="*********" validateSchemaVersion="no"
</code></pre>

<p>but I still get this error:</p>

<pre><code>org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "current_nodes_pkey1"
</code></pre>

<p>Note: Osmosis Version is 0.40.1<br>
I installed it with "sudo apt-get install osmosis"<br>
PBF file downloded from Mapzen Metro Extracts</p>

<p>Someone has already encountered this problem?<br>
Thank you for your help</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1071">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLXUwhjH8JxsOjgqw2nUop7nK6Rdwks5o79CkgaJpZM4GPndc.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/1071"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>