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

This widget could not be displayed.
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 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
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,073 views 5 11
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