-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Database is not created with --custom-env=LC_ALL=C #239
Comments
Can you show the output of Additionally, the log output of |
I've updated it. |
When creating that test db via trace, can you try for a name that doesn't exist? Use the same name when fetching logs please. |
//edited: this comment is probably useless, it shows the happy path (everything works here)
|
Okay I'm assuming this one created the database properly. Mind checking on that? Also, if you can repeat the above (with a new name of course, or you can destroy that service and reuse the name) but this time include the |
Sorry, I was confused what you meant with if test-db-1 doesn't exist because the table doesn't exist but the service does ^^ Okay now hopefully the final correct run:
|
I would expect the database created to be I see the following output:
Did the |
I wonder if this is failing due to the |
It's not related to underscores in the name, it's related to //edit: I found out that And there is also a difference between an invalid Locale, like
|
What happens if you try to start the database manually with the upstream image? Here is the command that gets run:
You could change the |
I did now carefully ready the logs, this line is important (to me):
That is actually not what I wanted. I found out that I need to set @josegonzalez thanks for your help! |
The context is: I want to deploy matrix (synapse backend) via dokku.
There is a strict check in codebase that ctype and collation must be The problem now is that:
I wonder how it's possible that the encoding is set to SQL_ASCII, because of this line: Line 97 in f1d60d6
The encoding is hardcoded! To me this is the problem. |
Description of problem
Database is not created
How reproducible
always with
--custom-env "LC_ALL=C
argsSteps to Reproduce
dokku postgres:create test-db-2 --custom-env "LC_ALL=C
dokku postgres:info test-db-2
and look database which is shown in the Dsn:/test-db-2
dokku postgres:enter test-db-2
psql -U postgres
\l
The output is different compared when
--custom-env
is not passed, the database test-db-2 is missingActual Results
Expected Results
Environment Information
N/A
dokku report APP_NAME
outputN/A
How (deb/make/rpm) and where (AWS, VirtualBox, physical, etc.) was Dokku installed?:
vServer / Debian Buster / installed via
wget https://raw.githubusercontent.com/dokku/dokku/v0.25.5/bootstrap.sh;
Additional information
dokku version 0.25.4
postgres 1.14.1 enabled dokku postgres service plugin
dokku report
docker logs dokku.postgres.test-db-2
The text was updated successfully, but these errors were encountered: