I'm upgrading our test environment from 3.5.13 to 4.3 and it fails on the following error.
ERROR main atlassian.confluence.upgrade.UpgradeLauncherServletContextListener contextInitialized Upgrade failed, application will not start: Upgrade task com.atlassian.confluence.upgrade.upgradetask.LikesSqlConstraintsUpgradeTask@1e8c998 failed during the UPGRADE phase due to: StatementCallback; bad SQL grammar create index like_cid_idx on LIKES (CONTENTID) ; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate key name 'like_cid_idx'
Hello Patches,
It looks like your question was asked and asnwered a few days later on the thread below.
The resolution there was to ensure that your database had been restored to your pre upgrade attempt state. After that, attempting the upgrade again seemed to resolve the issue.
Please let us know if this does not resolve your issue.
is there anyway to fix it without restore DB to the pre update state? I mean we can do something in mysql to fix it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You would have to have taken a dump of the database before you performed the upgrade. You would drop and recreate the database in question. To restore your data you would execute you dump on the recreated database. There is nothing inside the database server that provides automatic rollbock points
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.