Upgrade error message

 Upgrade failed. Please consult the system logs for details. You will need to fix these problems, restore your database and confluence home directory to the pre upgrade state. Then retry the upgrade. Upgrade error message: Upgrade task com.atlassian.confluence.upgrade.upgradetask.PopulateLowerFieldsUpgradeTask@3dd836e2 failed during the SCHEMA_UPGRADE phase due to: StatementCallback; bad SQL grammar [drop index s_lspacekey_idx on SPACES]; nested exception is java.sql.SQLException: Cannot drop the index 'SPACES.s_lspacekey_idx', because it does not exist or you do not have permission.

Your server id is: B0B7-71VE-QNWZ-PLH0

I'm testing upgrading v5.9.14 to v6.4.1 to no avail. Any hints why the SQL error is triggered?

1 answer

0 vote
Boon Hui Tan Atlassian Team Oct 06, 2017

Hey Thomas,

 

The index s_lspacekey_idx is being introduced from Confluence 5.10 onwards so when the Confluence 6.4 upgrade trying to drop it, it will fail (as the index does not exist).

try this upgrade path: 5.9.14 > 5.10.8 > 6.4.1
this should be alright.


Note: You'll need to rollback to the working 5.9.14 first before upgrading again.

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
Published 14 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

99 views 2 4
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