When attempting an upgrade from 5.0.3 to 5.10.8 or to 6.x the upgrade stalls without error and never continues. The step it stalls on is 'Updating CONTENT table'. I've been updating a 3.2.1 environment and it's been somewhat smooth so far.
Environment: RHEL 6.7, Java 1.8.0_144, ORACLE 12C, all custom user plugins disabled and uninstalled, plugin cache deleted.
For the life of me I can't identify why the upgrade simply stops. Our DBA investigated the instance and there are no running queries found shortly after the upgrade stalls.
2017-10-25 16:46:56,495 INFO [ftbgwiiewiki301-dev01.ent.tds.net-startStop-1] [confluence.upgrade.upgradetask.UserKeyReferenceUpgradeTask] updateUsernameReferences Updating logininfo table
2017-10-25 16:46:56,552 INFO [ftbgwiiewiki301-dev01.ent.tds.net-startStop-1] [confluence.upgrade.upgradetask.UserKeyReferenceUpgradeTask] updateUsernameReferences Updated 730 rows in logininfo table
2017-10-25 16:46:56,552 INFO [ftbgwiiewiki301-dev01.ent.tds.net-startStop-1] [confluence.upgrade.upgradetask.UserKeyReferenceUpgradeTask] updateUsernameReferences Updating LABEL table
2017-10-25 16:46:56,706 INFO [ftbgwiiewiki301-dev01.ent.tds.net-startStop-1] [confluence.upgrade.upgradetask.UserKeyReferenceUpgradeTask] updateUsernameReferences Updated 5559 rows in LABEL table
2017-10-25 16:46:56,706 INFO [ftbgwiiewiki301-dev01.ent.tds.net-startStop-1] [confluence.upgrade.upgradetask.UserKeyReferenceUpgradeTask] updateUsernameReferences Updating CONTENT table