Skip to content
All guides: Troubleshooting

Troubleshooting

Use the symptom that matches what you see.

You need#

  • Access to your server's .env file.
  • Docker Compose v2.24 or later.

Step 1 Check startup and readiness#

Check the API logs first:

docker compose logs api

Then run this after changing .env or a Compose command, with the same -f files you normally use:

docker compose up -d
curl http://127.0.0.1:7000/readyz
Compose refuses to start

Install Docker Compose v2.24 or later. Set every required variable in .env. Database passwords may use only A-Z, a-z, 0-9, ., _, ~, and -; do not percent-encode them.

Step 2 Match the symptom#

Scroll sideways
What you see Cause What to do
/readyz returns 503 The readiness check could not query PostgreSQL, find the migration schema marker, or probe storage. Check the API logs and the service named by its error.
Compose prints database passwords must use only URI-unreserved characters: A-Z a-z 0-9 . _ ~ - A database password is empty or has an unsupported character. Replace it with a password using only those characters; do not percent-encode it.
The API reports setup token must be at least 32 bytes PEPPY_SETUP_TOKEN is too short. Set it to at least 32 UTF-8 bytes, then start the server again.
The API reports PUBLIC_API_URL must use HTTPS when PEPPY_ENV=production A production public URL uses HTTP. Set PUBLIC_API_URL to an HTTPS URL; see Put your server online with HTTPS.
A desktop app rejects a plain HTTP server address The desktop app accepts plain HTTP only for localhost, 127.*.*.*, or [::1]. Use HTTPS for another computer, home-network, or VPN address. The phone needs HTTPS.
/readyz fails just after startup Compose is still starting PostgreSQL, storage, migrations, or the API. Wait for Docker Compose to finish starting, then try /readyz again.
The setup window closed An open first claim lasts 60 minutes after the server process starts. Restart the unclaimed server, or configure a PEPPY_SETUP_TOKEN with at least 32 UTF-8 bytes.
The administrator view does not update The proxy buffers /v1/instance/events. Configure the proxy to pass /v1/instance/events as an unbuffered SSE response; see Put your server online with HTTPS.
A request returns a 403 with no body A bodiless 403 comes from the proxy or network path; Peppy server rejections include a JSON code. Check the reverse proxy; see Put your server online with HTTPS.
You changed the local port API_HOST_PORT changed. Keep PUBLIC_API_URL aligned with the address devices use.

Good to know#

  • The default local listener is 127.0.0.1:7000.
  • For remote devices, use HTTPS through a reverse proxy rather than exposing the local HTTP port.