<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Migrating fails]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">Any tips how to solve following error message, i get it when trying to migrate from MSSQL to Postgresql?</p>
<p dir="auto">Migrating table snmp_ports<br />
SQL query failed (23505 ERROR:  duplicate key value violates unique constraint "<br />
snmp_ports_pkey"<br />
DETAIL:  Key (id)=(1) already exists.):<br />
INSERT INTO snmp_ports (id,port,zone) VALUES (?,?,?)<br />
Failed input record:<br />
   id = "1"<br />
   port = "161"<br />
   zone = "0"<br />
Database migration failed.</p>
]]></description><link>https://forum.netxms.org/topic/6610/migrating-fails</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:08:25 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6610.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Jul 2020 06:49:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Migrating fails on Wed, 29 Jul 2020 11:36:32 GMT]]></title><description><![CDATA[<p dir="auto">It was caused by a bug in DB init script (wrong primary key). We have fixed it, fix will be included into next patch release.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/28298</link><guid isPermaLink="true">https://forum.netxms.org/post/28298</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 29 Jul 2020 11:36:32 GMT</pubDate></item><item><title><![CDATA[Reply to Migrating fails on Wed, 22 Jul 2020 10:28:55 GMT]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">Version is latest. I got it fixed by removing records from snmp_ports tabel. There were two records, both with id 1. After migration completed i re added settings with netxms.</p>
<p dir="auto">Egert</p>
]]></description><link>https://forum.netxms.org/post/28270</link><guid isPermaLink="true">https://forum.netxms.org/post/28270</guid><dc:creator><![CDATA[Egert143]]></dc:creator><pubDate>Wed, 22 Jul 2020 10:28:55 GMT</pubDate></item><item><title><![CDATA[Reply to Migrating fails on Wed, 22 Jul 2020 09:34:36 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">looks like wrong primary key was set during PostgreSQL DB init. What NetXMS version you are using?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/28268</link><guid isPermaLink="true">https://forum.netxms.org/post/28268</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 22 Jul 2020 09:34:36 GMT</pubDate></item></channel></rss>