-
-
Notifications
You must be signed in to change notification settings - Fork 563
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
New collation (en_US.UTF-8) is incompatible with the collation of the template database (en_US.utf8) #555
Comments
Hey! thanks for opening this issue, this actually looks like you've found the fun difference between platforms and who thinks In this case this isn't a bug of the cookbook, I'm glad you found the fix for locale's being created in the wrong language easily though. Thanks, |
Great to know, but cookbooks aren't supposed to handle even idiosyncrasies between different platforms? This needs at least a note in the README to avoid confusing people and losing their time. |
I've just had the same problem with CI actually
It looks like postgresql takes the system DB locale as a default (which is what we often key off), we've chosen UTF8 rather than utf-8 as it was what our systems were reporting as correct. If this isn't correct the user will need to fix this (as I've just done in tests) That all being said, yes some guidance on this would be helpful. If you want to make a PR for we'd really appreciate the README update! I've opened a tracking issue for a README update (#560) |
This raised something in my past memories, probably this bug was present also on the early versions of the cookbook and a fix was buried on my wrapper cookbook. Now that I switched to v7 the bug is kicking back again.
Will do |
Known issue: https://github.com/sous-chefs/postgresql See: sous-chefs/postgresql#555 target_locale = 'en_US.UTF-8'
I am still having this issue. Can someone post a working version for Ubuntu 16.04
|
Not sure if this is what you're looking to do, but for my setup, I set the template to
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Cookbook version
7.1.0
Chef-client version
13.10.4
Platform Details
Ubuntu 18.04
Scenario:
Create a database
Steps to Reproduce:
Actual Result:
workaround
The text was updated successfully, but these errors were encountered: