Database Collation and Isolation level not updated after changing database Edited

After changing the database to fix the collation and isolation level settings the admin interface still shows errors for both.

If i check them on the Database itself with the commands from the troubleshooting pages, both are set to the supported settings.

SELECT is_read_committed_snapshot_on FROM sys.databases WHERE name = 'jira';

Returns:
1

SELECT DISTINCT C.collation_name
FROM   sys.tables AS T
       INNER JOIN sys.columns C
               ON T.object_id = C.object_id
WHERE  collation_name IS NOT NULL;

Returns:
Latin1_General_CI_AI

But the JIRA Adminpage still says the settings are wrong.

1 answer

0 votes
Gaston Valente Community Champion Sep 04, 2017

Sebastian,

The settings are wrong even after a restart of jira?

You can change the transation isolation level easily but for the collation change atlassian recommends to create a new database with the right collation.

Thanks for your suggestions. Even after a restart both settings are marked as wrong.

I already created a new database with the right collation settings. I am sure its connected to the right database cause the old one is deleted and the sql querries above return the right values.

Is the result somehow chached in jira?

Gaston Valente Community Champion Sep 04, 2017

When i had this problem, after changing the database parameters it was reflected correctly in jira.

Maybe you can check the following using some db frontend, i'm on a mac so i'm using dbeaver, but you can use enterprise manager as well

1. copy the jdbc connection string and connect to the same server, db, user and password from the frontend

2. execute the query inside that connection

3. check the collation of the objects

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

392 views 1 13
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot