<?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 Postgres database is down - index &amp;quot;fk_alf_nasp_n&amp;quot; is not a btree in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/postgres-database-is-down-index-quot-fk-alf-nasp-n-quot-is-not-a/m-p/144149#M38259</link>
    <description>&lt;P&gt;All of a sudden, Alfresco server is down and would not start back again.&lt;/P&gt;&lt;PRE&gt;### Error querying database. Cause: org.postgresql.util.PSQLException: ERROR: index "fk_alf_nasp_n" is not a btree
### The error may exist in alfresco/ibatis/#resource.dialect#/node-common-SqlMap.xml
### The error may involve alfresco.node.select_NodeAspects-Inline
### The error occurred while setting parameters
### SQL: select node.id as node_id, node.version as node_version, aspects.qname_id as qname_id from alf_node node join alf_node_aspects aspects on (aspects.node_id = node.id) WHERE aspects.node_id in ( ? )
### Cause: org.postgresql.util.PSQLException: ERROR: index "fk_alf_nasp_n" is not a btree&lt;/PRE&gt;&lt;P&gt;Also, when we login to postgres and execute the following query&lt;BR /&gt;Select * from alf_node_aspects&lt;/P&gt;&lt;P&gt;Executing this query also gives the same error.&lt;/P&gt;&lt;P&gt;At this point, I have no clue on how to solve this.&lt;BR /&gt;In the postgres log, this error occurs immediately after this query:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;select node.id as node_id,
node.version as node_version,
aspects.qname_id as qname_id
from
alf_node node join alf_node_aspects aspects
on (aspects.node_id = node.id)
WHERE aspects.node_id in ($1)&lt;/PRE&gt;</description>
    <pubDate>Tue, 06 Jul 2021 20:08:40 GMT</pubDate>
    <dc:creator>sepgs2004</dc:creator>
    <dc:date>2021-07-06T20:08:40Z</dc:date>
    <item>
      <title>Postgres database is down - index "fk_alf_nasp_n" is not a btree</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/postgres-database-is-down-index-quot-fk-alf-nasp-n-quot-is-not-a/m-p/144149#M38259</link>
      <description>&lt;P&gt;All of a sudden, Alfresco server is down and would not start back again.&lt;/P&gt;&lt;PRE&gt;### Error querying database. Cause: org.postgresql.util.PSQLException: ERROR: index "fk_alf_nasp_n" is not a btree
### The error may exist in alfresco/ibatis/#resource.dialect#/node-common-SqlMap.xml
### The error may involve alfresco.node.select_NodeAspects-Inline
### The error occurred while setting parameters
### SQL: select node.id as node_id, node.version as node_version, aspects.qname_id as qname_id from alf_node node join alf_node_aspects aspects on (aspects.node_id = node.id) WHERE aspects.node_id in ( ? )
### Cause: org.postgresql.util.PSQLException: ERROR: index "fk_alf_nasp_n" is not a btree&lt;/PRE&gt;&lt;P&gt;Also, when we login to postgres and execute the following query&lt;BR /&gt;Select * from alf_node_aspects&lt;/P&gt;&lt;P&gt;Executing this query also gives the same error.&lt;/P&gt;&lt;P&gt;At this point, I have no clue on how to solve this.&lt;BR /&gt;In the postgres log, this error occurs immediately after this query:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;select node.id as node_id,
node.version as node_version,
aspects.qname_id as qname_id
from
alf_node node join alf_node_aspects aspects
on (aspects.node_id = node.id)
WHERE aspects.node_id in ($1)&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Jul 2021 20:08:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/postgres-database-is-down-index-quot-fk-alf-nasp-n-quot-is-not-a/m-p/144149#M38259</guid>
      <dc:creator>sepgs2004</dc:creator>
      <dc:date>2021-07-06T20:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Postgres database is down - index "fk_alf_nasp_n" is not a btree</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/postgres-database-is-down-index-quot-fk-alf-nasp-n-quot-is-not-a/m-p/144150#M38260</link>
      <description>&lt;P&gt;Recreating the index fixed the issue. I wonder why and how this issue could have happened, so it does not repeat more.&lt;/P&gt;&lt;PRE&gt;reindex index fk_alf_nasp_n;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Jul 2021 20:50:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/postgres-database-is-down-index-quot-fk-alf-nasp-n-quot-is-not-a/m-p/144150#M38260</guid>
      <dc:creator>sepgs2004</dc:creator>
      <dc:date>2021-07-06T20:50:42Z</dc:date>
    </item>
  </channel>
</rss>

