All of a sudden, Alfresco server is down and would not start back again.
### 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
Also, when we login to postgres and execute the following query
Select * from alf_node_aspects
Executing this query also gives the same error.
At this point, I have no clue on how to solve this.
In the postgres log, this error occurs immediately after this query:
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)
Solved! Go to Solution.
Recreating the index fixed the issue. I wonder why and how this issue could have happened, so it does not repeat more.
reindex index fk_alf_nasp_n;
Recreating the index fixed the issue. I wonder why and how this issue could have happened, so it does not repeat more.
reindex index fk_alf_nasp_n;
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.