Confluence Indexing throw Error at restart.

Hi All,

recently moved confluence instance from Oracle to postgress.

Rebuild indexes search functionality work's without any issue At restart of confluence system

i have below error.

ERROR [scheduler_Worker-10] [] handleUpdateError Exception executing SQL update <CREATE INDEX "index_ao_9412a1_aotask_user" ON "AO_9412A1_AOTASK"("USER")>

org.postgresql.util.PSQLException: ERROR: relation "index_ao_9412a1_aotask_user" already exists at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(

at org.postgresql.core.v3.QueryExecutorImpl.processResults(

at org.postgresql.core.v3.QueryExecutorImpl.execute(

at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(

at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags( org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate( com.mchange.v2.c3p0.impl.NewProxyStatement.executeUpdate(


please let me know your suggection's.

1 answer

Hi Tousif,

from the look of the error message you're geting there it seems this is an issue with the database indexes and not with the Lucene index that is responsible for the search in Confluence, so I suspect the most likely cause of this issue is that the Confluence user may not have sufficient privileges over its database and that is why you are seeing these issues. So, please ensure that the Confluence user has full permissions over its database and then I'm hopeful that this issue will disappear for you.

All the best,

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

370 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you