Guide's password advice (openssl rand -base64) produces credentials that break DATABASE_URL #324
Labels
No Label
area:auth
area:docs
area:export
area:ops
area:storage
area:supply-chain
auth
backend
blocked
collab
deployment
docs
effort:L
effort:M
effort:S
frontend
plugins
qa
vs-nfd
vs-nfd:blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stwaidele/dorfteich#324
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reported by Stefan from a manual clean install per docs/self-hosting/README.md (v0.14.0, Docker CE / Compose v2, Debian 13).
The guide (docs/self-hosting/README.md, Install step 2) recommends
openssl rand -base64 32for POSTGRES_PASSWORD and COLLAB_TOKEN_SECRET. base64 output regularly contains/,+and=, but the compose file interpolates the password UNESCAPED into a connection URL:A
/(and depending on the parser+/=) makes the URL invalid.Symptom -- and why it misleads:
dbbecomes healthy (Postgres receives the password only as an env variable, no URL involved), while api, collab and backup exit 1 into a restart loop. A healthy database with all database clients dying points the diagnosis in the wrong direction first.Repro: fill .env per the guide until POSTGRES_PASSWORD contains a
/(with -base64 32 almost immediately),docker compose up -d,docker compose ps-> api/collab/backup restarting, db healthy.Fix outline (from the report):
openssl rand -hex 24) for POSTGRES_PASSWORD in README and .env.example. COLLAB_TOKEN_SECRET never enters a URL, but unify both recommendations for simplicity.