[Tile-serving] [openstreetmap/osm2pgsql] failed: ERROR: duplicate key value violates unique constraint "planet_osm_nodes_pkey" (#1272)

pcarabasu notifications at github.com
Fri Sep 4 11:12:00 UTC 2020


I appended a new country map after I removed the links from the previously added maps so it would not give me this error.
It all ran well until the end when I got a database connection error due to too many connections. I was running the append with 16 processes. I ran the command again with 8 processes and I ran into this current error.
What should I do now?

Error details:

Reading in file: /home/maprenderer/data/turkey-latest-cleaned.osm.pbf
Processing: Node(48730k 870.2k/s) Way(26k 8.67k/s) Relation(0 0.00/s)COPY_END for COPY planet_osm_nodes FROM STDIN;
 failed: ERROR:  duplicate key value violates unique constraint "planet_osm_nodes_pkey"
DETAIL:  Key (id)=(14455442) already exists.
CONTEXT:  COPY planet_osm_nodes, line 1

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1272
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200904/24090dba/attachment.htm>


More information about the Tile-serving mailing list