Skip to content

docker: show smp-server init errors#1824

Open
Ap4sh wants to merge 1 commit into
simplex-chat:stablefrom
Ap4sh:smp-docker-init-errors
Open

docker: show smp-server init errors#1824
Ap4sh wants to merge 1 commit into
simplex-chat:stablefrom
Ap4sh:smp-docker-init-errors

Conversation

@Ap4sh

@Ap4sh Ap4sh commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Addresses #1781

entrypoint-smp-server was redirecting both stdout and stderr from smp-server init, so Docker init failures could make the container exit without any useful logs

This keeps normal init output quiet while leaving stderr visible in container logs. It also documents the existing PASS constraints from BasicAuth and aligns the interactive init error message with the same rule

Tests:

  • sh -n scripts/docker/entrypoint-smp-server
  • git diff --check
  • cabal build exe:smp-server --ghc-options -O0 -j1
  • local entrypoint smoke check with a failing smp-server init stub
  • smp-server init --yes --ip 127.0.0.1 --password 'passw@rd' rejects the password on stderr

@Ap4sh Ap4sh marked this pull request as ready for review July 3, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant