Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence upgrade 6.13.0 to 6.15.2: Db collation 'C' is not supported


Updating confluence after email: Confluence Security Advisory - 2019-04-17

Pre-production test.
Upgrade from 6.13.0 --> 6.15.3 (atlassian-confluence-6.15.2-x64.bin)
Debian 8 with PostgreSQL 9.6.10

Upgrade proceeded without error. Upon loading browser for first time:


Preparing to start Confluence
This page is for Confluence administrators. If you're seeing this page, your Confluence administrator is probably working to restore the service.
We discovered a problem while preparing to start Confluence. If you're a Confluence admin, you can either fix this problem now or ignore it, and start Confluence anyway.
Database: The database collation 'C' is not supported by Confluence. You need to use 'utf-8'.


I selected 'ignore it'.
I need to resolve prior to production upgrade. Please advise :-)

1 answer

1 accepted

Thanks and I choose 'method 2'.
If it should help anyone, the following worked for me. Debian 9, Postgreaql 9.6, Confluence 6.13.

From command line.

1) $ sudo systemctl stop confluence
2) Backup - as owner user ie '<myUser>':
      $ pg_dump confluencedb > dumpfile1
3) Delete original db via psql: DROP DATABASE confluencedb;
4) Make new databse via psql:
      CREATE DATABASE confluencedb WITH OWNER <myUser> ENCODING 'UTF-8' LC_COLLATE 'en_GB.UTF-8' LC_CTYPE 'en_GB.UTF-8' TEMPLATE template0;
      GRANT ALL PRIVILEGES ON DATABASE confluencedb to <myUser>;
5) Restore:
      $psql confluencedb < dumpfile1
6) $ systemctl start confluence

I was then able to update to 6.15.2 without error.

Like # people like this
Deleted user May 28, 2019

Yes, this work also in my instances, but after that, now I have a lot of 400 Errors like:


java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986

In the version before, I did not have this problems, but after changing collation, I have. Any ideas how to fix confluence?

Thanks @Steve Allen this is the sort of simple, accurate information that makes community forums so worthwhile :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

163 views 1 5
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you