Trying to migrate from Confluence 5.10.9 with the embedded database to a Confluence 5.10.9 with a mysql 5.6 database. At 90% I get the following error during a restore:
Import failed. Check your server logs for more information. java.lang.RuntimeException: Could not read fields for table AO_187CCC_SIDEBAR_LINK
searching the atlassian-confluence.log I found
com.atlassian.confluence.importexport.ImportExportException: java.lang.RuntimeException: Could not read fields for table AO_187CCC_SIDEBAR_LINK
Other things to note, the confluence that I am restoring to is in a separate install and home directory and is a clean install. This is happening during the restore during the setup wizard.
Hi there,
I’ve seen this issue occur when using an unsupported database or a database that isn’t configured according to the guidelines. I suggest confirming the following:
I hope that information helps!
Rachel,
Thanks for the response. I am using MySQL 5.6 and was using the latest connector/j which I think is 8.0. I rolled back to an older version (5 something) and it worked fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@R. Fuerst, can you confirm if MySQL 5.7 is supported for confluence/jira/crowd?
We need to resolve this badly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@brbojorqueI know MySql 5.7 works for newer versions of Confluence/Jira as our corporate Jira/Confluence is running on MySQL 5.7 but they are up to date with the latest versions. The customer I am supporting is on 5.10.9 and we are trying to do an upgrade to the latest.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@brbojorque - MySQL 5.7 is not supported for Confluence 5.10.x and is not supported until Confluence 6.3.x.
I'm not sure which versions of Crowd or Jira you are running, but it looks like MySQL 5.7 is supported for Crowd as far back as Crowd 2.12. For Jira, MySQL 5.7 is supported after Jira 7.3.
If you're trying to import the backup into an instance running MySQL 5.7 and encountering these errors, I suggest setting up an instance that uses a supported database (MySQL 5.5 and 5.6). The errors you've shared indicate something is misconfigured with the database.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's true but I guess using the latest driver of MySQL is the culprit why the import is not working. I downgraded the mysql driver from 8.x.x to 5.x.x and it is successful. My current instance is 5.8.x just like @Flatirons Project did.
As long as it is completed the import I can safely upgrade the confluence to the latest version.
About the database error, its true again. I failed to follow the my.cnf in the MySQL server.
https://confluence.atlassian.com/conf64/database-setup-for-mysql-936511512.html
Thanks guys. Cheers
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.