<p></p>
<blockquote>
<blockquote>
<p dir="auto">Okay thanks, let me try this.</p>
</blockquote>
<p dir="auto">You should try with an empty database, otherwise there might be duplicate objects from your previous osmosis import attempt. Osmosis doesn't properly set the maximum object id for PostgreSQL sequences, which is causing all sorts of weird issues.</p>
<p dir="auto">We should also update the documentation to only use PBF extracts with metadata from <a href="https://osm-internal.download.geofabrik.de" rel="nofollow">https://osm-internal.download.geofabrik.de</a></p>
<p dir="auto">For "non-public PBF extracts" osmosis will create huge changesets with id = 0 (!)</p>
</blockquote>
<p dir="auto">Thanks a lot, turned out you are right about the data, the import process malformed the id of the changeset and also most of the primary_key, then if I restore that db backup it was working as expected.</p>
<p dir="auto">Thanks for the support! ðŸš€</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/5167#issuecomment-2336631548">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLORJRVDNV6TIVMG6GLZVQRC3AVCNFSM6AAAAABN2W3HSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWGYZTCNJUHA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLJZYTGVL2FZ2USNONLZVQRC3A5CNFSM6AAAAABN2W3HSGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTULIYVPY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/5167/2336631548</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/5167#issuecomment-2336631548",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/5167#issuecomment-2336631548",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>