<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: duplicate key value violates unique constraint &amp;quot;idx_alf_conturl_cr&amp;quot; in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/duplicate-key-value-violates-unique-constraint-quot-idx-alf/m-p/64434#M21949</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the same issue with duplicate key error on postgres DB, on each document creation.&lt;/P&gt;&lt;P&gt;As the ticket is not accessible anymore, how can we solved this problem?&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;UTC [962] ERROR: duplicate key value violates unique constraint "idx_alf_conturl_cr"

CDT STATEMENT: insert into alf_content_url (id, content_url, content_url_short, content_url_crc, content_size, orphan_time) values ($1, $2, $3, $4, $5, $6)
select * from alf_content_url order by id desc;&lt;/PRE&gt;&lt;P&gt;We are running Alfresco on docker with this versions from docker-compose :&lt;/P&gt;&lt;PRE&gt;postgres:13.3
alfresco/alfresco-acs-nginx:3.1.1
alfresco/alfresco-content-repository-community:7.1.1
alfresco/alfresco-search-services:2.0.2.1
alfresco/alfresco-transform-core-aio:2.5.6
alfresco/alfresco-share:7.1.1
alfresco/alfresco-activemq:5.16.1&lt;/PRE&gt;&lt;P&gt;Thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cordially&lt;/P&gt;&lt;P&gt;Franck&lt;/P&gt;</description>
    <pubDate>Fri, 14 Oct 2022 15:49:45 GMT</pubDate>
    <dc:creator>franck1436</dc:creator>
    <dc:date>2022-10-14T15:49:45Z</dc:date>
    <item>
      <title>duplicate key value violates unique constraint "idx_alf_conturl_cr"</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/duplicate-key-value-violates-unique-constraint-quot-idx-alf/m-p/64432#M21947</link>
      <description>Hi All,i am getting following error while uploading document to alfresco.2018-06-05 11:00:11 IST [alfresco alfresco] 10.10.104.43ERROR: duplicate key value violates unique constraint "idx_alf_conturl_cr"2018-06-05 11:00:11 IST [alfresco alfresco] 10.10.104.43DETAIL: Key (content_url_short, content_u</description>
      <pubDate>Tue, 05 Jun 2018 15:22:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/duplicate-key-value-violates-unique-constraint-quot-idx-alf/m-p/64432#M21947</guid>
      <dc:creator>anuj</dc:creator>
      <dc:date>2018-06-05T15:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate key value violates unique constraint "idx_alf_conturl_cr"</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/duplicate-key-value-violates-unique-constraint-quot-idx-alf/m-p/64433#M21948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This behaviour has been classified by Alfresco as "Not a bug".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, refer&amp;nbsp;&lt;A href="https://issues.alfresco.com/jira/browse/MNT-17060" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/MNT-17060&lt;/A&gt;&amp;nbsp;for details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 13:46:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/duplicate-key-value-violates-unique-constraint-quot-idx-alf/m-p/64433#M21948</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-06-06T13:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate key value violates unique constraint "idx_alf_conturl_cr"</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/duplicate-key-value-violates-unique-constraint-quot-idx-alf/m-p/64434#M21949</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the same issue with duplicate key error on postgres DB, on each document creation.&lt;/P&gt;&lt;P&gt;As the ticket is not accessible anymore, how can we solved this problem?&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;UTC [962] ERROR: duplicate key value violates unique constraint "idx_alf_conturl_cr"

CDT STATEMENT: insert into alf_content_url (id, content_url, content_url_short, content_url_crc, content_size, orphan_time) values ($1, $2, $3, $4, $5, $6)
select * from alf_content_url order by id desc;&lt;/PRE&gt;&lt;P&gt;We are running Alfresco on docker with this versions from docker-compose :&lt;/P&gt;&lt;PRE&gt;postgres:13.3
alfresco/alfresco-acs-nginx:3.1.1
alfresco/alfresco-content-repository-community:7.1.1
alfresco/alfresco-search-services:2.0.2.1
alfresco/alfresco-transform-core-aio:2.5.6
alfresco/alfresco-share:7.1.1
alfresco/alfresco-activemq:5.16.1&lt;/PRE&gt;&lt;P&gt;Thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cordially&lt;/P&gt;&lt;P&gt;Franck&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 15:49:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/duplicate-key-value-violates-unique-constraint-quot-idx-alf/m-p/64434#M21949</guid>
      <dc:creator>franck1436</dc:creator>
      <dc:date>2022-10-14T15:49:45Z</dc:date>
    </item>
  </channel>
</rss>

