Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

78 views 0 3
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you