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] [net.java.ao.sql] 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(QueryExecutorImpl.java:2102)

at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)

at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)

at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)

at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374)at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:302)at com.mchange.v2.c3p0.impl.NewProxyStatement.executeUpdate(NewProxyStatement.java:64)at net.java.ao.DatabaseProvider.executeUpdate(DatabaseProvider.java:2294)at net.java.ao.DatabaseProvider.executeUpdateForAction(DatabaseProvider.java:2364)

at net.java.ao.DatabaseProvider.executeUpdatesForActions(DatabaseProvider.java:2327)at net.java.ao.schema.SchemaGenerator.migrate(SchemaGenerator.java:94)

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,
John

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,047 views 2 13
Read article

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