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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

397 views 17 9
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