I've set my database collation to utf8mb4_bin which is supported by the latest version of JIRA:but I still can't pass the health check:
What might be the problem here?
The database does not appear to be set to utf8mb4_bin - in the result line, it is reporting what the database has told it the collation on the Jira database is.
You'll need to change the collation of the data, as well as the database setting.
@Nic Brough -Adaptavist- I did everything from here:
https://confluence.atlassian.com/kb/how-to-fix-the-collation-and-character-set-of-a-mysql-database-744326173.html
and I did this as well:
To fix this, the database collation needs to be corrected. The best and recommended way to achieve this is:
but I still can't pass the health check.
Losing data for me is not an option.
Here's the screenshot from my MySQL server:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem with this is that whatever database you are connecting to is telling Jira that it is set to utf8, not utf8mb4. Why is it reporting it like that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist- I've no idea. I didn't have this problem when I was using Jira 8.6.x and MySQL 5.6.47. I did everything from the documentation but it didn't solve my problem :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The database itself (not the service, the individual database within it) is reporting that you created the database with utf8_bin, so I suspect you used the old collation again and missed creating the new database with utf8mb4_bin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist- I created my new database like this:
CREATE DATABASE <dbname> CHARACTER SET utf8mb4 COLLATE utf8mb4_bin
and then I used mysqldump to transfer the old database to the new one.
Here's the screenshot:
As you can see everything is set correctly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I assumed you did, but we need to find out why your database is telling Jira that it is utf8 rather than utf8mb4. Are you sure Jira is looking at the right database?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. I'm sure. Here are the screenshots of Jira Configuration Tool and dbconfig.xml file:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There's one last long-shot - could you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@JConstantine - I wish other people would answer my debugging questions as clearly and consistently as you have.
Annoyingly, despite the info being absolutely what I asked for, it does not help. You have done everything absolutely right, and you've shown us what you've done which rules out everything I can think of that might cause this warning to be thrown.
All I have left to offer is:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist-Got it. Do I have to create that bug report or will the Atlassian support team do that for me?
And one more thing. Even though those health checks have been successfully passed, JIRA keeps showing these warnings:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You'll need to raise it as a support request (I'm not an Atlassian, and there's no point me raising it when I won't be able to get into your systems to find answers to questions they may ask)
The application link failure means you've got one or more application links configured to systems that are no longer responding when Jira pings them. It won't do any harm, but you may want to delete the broken links if you don't need them any more, or recreate them if you do.
Gadget feed problem usually means your base url is set incorrectly, or that the current server cannot reach itself (the base url) over your network. Again, won't do any harm to your data, but some things won't work properly until it is corrected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist-The thing is that I have recreated the links and the Base URL and as a result of that JIRA has passed the health check on those problems, but those notifications are still showing up. Anyways, I got your point.
When I'm trying to request support:II get this message showing up:
Is there another way to raise the request?
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.