Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collation/character set must be setup to utf-8 due to https://jira.atlassian.com/browse/CONFSERVER-54305 #49

Open
gkowalc opened this issue May 10, 2018 · 5 comments

Comments

@gkowalc
Copy link

gkowalc commented May 10, 2018

For JIRA postgres database collation/character set "C" is OK. However Confluence requires utf-8 otherwise you will experience problems with saving/opening attachment with upper-case special character in attachment filename (see https://jira.atlassian.com/browse/CONFSERVER-54305 for more details)

@blacklabelops
Copy link
Member

That's very confusing. I find different solutions everywhere. "utf-8", "utf8", "UTF-8". It would be really nice if someone can contribute the correct create table statement for postgres.

@rwarren
Copy link
Contributor

rwarren commented Aug 28, 2019

See this for more info (instructions how to convert):

https://confluence.atlassian.com/confkb/how-to-fix-the-collation-of-a-postgres-confluence-database-966676071.html

Also: Confluence now warns you at boot (in the web UI) if your database is using anything other than the "UTF-8" collation.

Note that it is not a create table thing, but a database level thing.

@rwarren
Copy link
Contributor

rwarren commented Aug 28, 2019

Also note that setup instructions in the README.md need to change to stop saying POSTGRES_COLLATE=C and POSTGRES_COLLATE_TYPE=C

@jhult
Copy link
Member

jhult commented Aug 30, 2019

@rwarren, can you submit a pull request?

@gkowalc
Copy link
Author

gkowalc commented Feb 16, 2021

I have updated docs in pull request updated postgres readme docs #78 once PR is approved we can close this issue,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants