You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The wiki.js container image doesn't seem to tolerate database passwords that have two exclamation points. It seems to generate a config.yml file that is not valid YAML. Here's an example error message:
undeclared tag handle "!rE!" at line 8, column 25:
pass: !rE!z-pzjvFKuVOu
^
>>> Unable to read configuration file! Did you create the config.yml file?
To Reproduce
Start a Docker container using the requarks/wiki image and specifying the environment variable DB_PASS with value that includes two exclamation points. You may or may not need to specify other database connection environment variables.
Observe error in container logs.
Expected behavior
I expected the container to establish a database connection after constructing a valid config.yml file.
Host Info (please complete the following information):
OS: Google Kubernetes Engine, Rapid Release Channel, probably 1.17.8-gke.17
Wiki.js version: Probably Docker tag canary-2.5.90
Database engine: Postgres 9 or 11, not sure
Additional context
Maybe just putting quotes around this value (and all others from environment variables!) within the YAML would fix this?
The text was updated successfully, but these errors were encountered:
I'm pretty sure the issue is the leading! and not the fact that it contains two !. Take a look at the YAML specification about node tags. Either quoting the password or not leading with an ! should work.
Describe the bug
The
wiki.js
container image doesn't seem to tolerate database passwords that have two exclamation points. It seems to generate aconfig.yml
file that is not valid YAML. Here's an example error message:To Reproduce
requarks/wiki
image and specifying the environment variableDB_PASS
with value that includes two exclamation points. You may or may not need to specify other database connection environment variables.Expected behavior
I expected the container to establish a database connection after constructing a valid
config.yml
file.Host Info (please complete the following information):
1.17.8-gke.17
canary-2.5.90
Additional context
Maybe just putting quotes around this value (and all others from environment variables!) within the YAML would fix this?
The text was updated successfully, but these errors were encountered: