Unable to restore Customer notifications

Hi community,

I got errors in my Jira project with JSD :

"Customer notifications missing

We can't find your customer email notification rules. To fix this, restore your email rules"

But when I clic on Restore Email Rules I got :

"An error occurred while trying to restore the email notification rules. Please try again."

In Catalina.out the error is :

/rest/servicedesk/notifications/1/misconfiguration/SUP/fix [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Failed to insert rule component configuration data

 

According to the folowing link the error is related to the database collation:

https://confluence.atlassian.com/jirakb/after-upgrading-service-desk-seeing-error-customer-notifications-missing-874754406.html

But when I test it seems to be OK:

SELECT C.collation_name, T.table_name FROM information_schema.tables AS T,information_schema.`collation_character_set_applicability` AS C WHERE  C.collation_name = T.table_collation AND T.table_schema = 'jira-desk' AND C.collation_name != 'utf8_bin';
Empty set (0,01 sec)

 

SELECT default_collation_name
    -> FROM   information_schema.schemata S
    -> WHERE  schema_name = (SELECT 'jira-desk'
    ->                       FROM   DUAL);
+------------------------+
| default_collation_name |
+------------------------+
| utf8_bin               |
+------------------------+
1 row in set (0,00 sec)

 

My config is : JSD 3.5.0, Jira Core 7.3.6 and Mysql 5.7.18

Can someone help me please ?

Thank you very much.

Baptiste

 

2 answers

This widget could not be displayed.

Hi Baptiste,

Can you also provide us the result of this query run against your database:

select table_schema, table_name, column_name, character_set_name, collation_name from information_schema.COLUMNS where collation_name != 'utf8_bin';

If this shows that some columns are not set to the correct collation, short of migrating the entire database, I believe you should be able to update these by using the Changing Column Collation section of How to Fix the Collation and Character Set of a MySQL Database.

Cheers,

Branden

This widget could not be displayed.

Worked for me !

Thank you very much !

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

71 views 1 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you