After Update to 2.7.1 of the app : The database collation 'C' is not supported by Confluence.
-
I got a admin message after login:
Database: The database collation 'C' is not supported by Confluence. We recommend utf-8. On Windows you can also use the Windows-1252 collation for your locale.can this be ignored? Should i change this setting?
Regards Jens
-
Indeed, the default collation in the postgres addon is 'C'
db5b92d92c20f2448fa4a3388cd74ba0af=> select datname, datcollate from pg_database; datname | datcollate ------------------------------------+------------ postgres | C template1 | C template0 | C db5b92d92c20f2448fa4a3388cd74ba0af | C (4 rows)My understanding was that apps can set collation on a per table basis anyway and this is why it hasn't been a problem so far. I can switch the default collation to utf8, i guess. Or maybe we need this information in the manifest. I will check what is the best approach.
-
There's an even better command
\l.db5b92d92c20f2448fa4a3388cd74ba0af=> \l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges ------------------------------------+--------------------------------------+----------+---------+-------+------------------------------------------------------------------------------- db5b92d92c20f2448fa4a3388cd74ba0af | user5b92d92c20f2448fa4a3388cd74ba0af | UTF8 | C | C | user5b92d92c20f2448fa4a3388cd74ba0af=CTc/user5b92d92c20f2448fa4a3388cd74ba0af postgres | postgres | UTF8 | C | C | template0 | postgres | UTF8 | C | C | =c/postgres + | | | | | postgres=CTc/postgres template1 | postgres | UTF8 | C | C | postgres=CTc/postgres (4 rows) -
OK,
thanks for your Support. -
@jensbee4 In postgres, one cannot change the collation and ctype of an existing database. The change I have made changes the type for new installations. So, what you have to do after the next release is to make a backup of the confluence app and clone it to a new location (this will create a db with the correct collation) and move the clone back to the original location (after you confirm it's working).
-
@jensbee4 In postgres, one cannot change the collation and ctype of an existing database. The change I have made changes the type for new installations. So, what you have to do after the next release is to make a backup of the confluence app and clone it to a new location (this will create a db with the correct collation) and move the clone back to the original location (after you confirm it's working).
@girish
Hi, the next release is Confluence Package v2.8.0, App v7.8.0?
I will do the Backup and reinstall at Friday.Regards Jens
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login