Upgrading from Confluence 6.15.2 to 7.10 and getting an error on update of index

Marcus Moreno
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 23, 2020

I am upgrading Confluence version 6.15.2 which is hosted on CentOS and has a backend database running MySQL 5.6. We attempted upgrading from Confluence 6.15.2 to 7.10.0.  We ran into an issue updating the index.

Here are the related log entries:

 

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.SplitIndexUpgradeTask@1ad30825 failed during the UPGRADE phase due to: Failed to read id for journal 'main_index': null; nested exception is java.lang.NumberFormatException: null

 

2020-12-23 02:51:28,751 ERROR [Catalina-utility-1] [atlassian.confluence.plugin.PluginFrameworkContextListener] launchUpgrades Upgrade failed, application will not start: Upgrade task com.atlassian.confluence.upgrade.upgradetask.SplitIndexUpgradeTask@7e273617 failed during the UPGRADE phase due to: Failed to read id for journal 'main_index': null; nested exception is java.lang.NumberFormatException: null

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 23, 2020

I think your index is corrupt, and the only fix I know of for that is to throw it away and rebuild it from scratch.

I would

  • Go to the original 6.15.2 install
  • Shut it down
  • Move all the files and directories from <confluence home>/journal/ to a backup location
  • Start Confluence
  • Ignore that your home page looks forlorn and wrong
  • Go to Admin -> Index and rebuild the index
  • Now re-try the upgrade

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events