Unsupported collation error thrown in Jira server using PostgreSQL can be resolved with Bobcares by your side.
At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Service.
Let’s take a look at how our Support Team recently helped a customer manage an unsupported collation error thrown in the JIRA server using PostgreSQL.
Dealing with unsupported collation error thrown in Jira server using PostgreSQL
Did you know that you can move a Postgres Database between servers while making sure the collation is correct? Our Support Team has come up with an innovative way to get this done.
In fact, you will come across the following in the atlassian-jira.log if you are facing this issue:
**************************************************************************************************** You are using an unsupported postgres72 collation: ja_JP.UTF-8. This may cause some functionality to not work. Please use POSIX.UTF-8 or C.UTF-8 or C or POSIX as the collation instead. ****************************************************************************************************
We can run the query below against the old database:
SELECT datcollate FROM pg_database WHERE datname='<Jira database name>';
If it returns anything other than “POSIX”, “POSIX.UTF-8”, or “C.UTF-8” we have to adjust the collation.
How to change the collation
Before we proceed it is always a good idea to back up our data before modifying the database and also make sure that we have enough disk space on the server.
- First, we have to create an XML backup.
- Next, we will stop JIRA.
- After that, we have to create a new database.
- Then, we will adjust the $JIRAHOME/dbconfig.xml file in order to change the Jira database connection and have it pointing towards the new database.
- Next, we have to either move or copy the backup .zip file from step 1 to the $JIRAHOME/import/ path location.
- Then, we will start JIRA aagian.
- After that, we will go ahead and choose Import existing data in the setup wizard.
- Next, we have to select the filename.zip. We can find it in $JIRAHOME/import/.
- Then, we will complete the import and make sure everything is working correctly.
- Finally, we will run the database integrity checker to verify the data.
[Scouring for a solution to another query? We are just a click away.]
Conclusion
To sum up, the skilled Support Engineers at Bobcares demonstrated how to deal with unsupported collation errors thrown in the JIRA server using PostgreSQL.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments