launchroom
Troubleshooting

Troubleshooting

Where to look first when something goes wrong, how to collect what a bug report needs, and the guides for each kind of problem.

The dashboard explains most problems before you need a terminal:

  • A failed deployment names the failed step and shows the lines around the first error.
  • A server lists its health checks.
  • Activity records what changed and who changed it.

Start there, then use the guides below for the symptom you see. When the dashboard itself doesn't open, or a server misbehaves, run the doctor on the server first:

On the control-plane server, in the launchroom folder
./launchroom doctor

On any other server, run docker compose run --rm launchroomd doctor in its launchroomd folder. See When the dashboard is down.

Where to look first

The deployment page

Open the failed deployment from the canvas (click the service, then its latest deployment) or from the project's Deployments tab. The page shows:

  • An explanation card first, above the overview, for example "Build failed: pnpm-lock.yaml is out of date", with the error line quoted next to its neighbours, the cause, the fix and often a one-click action such as Use port 5173 and redeploy or Add NODE_OPTIONS. When the previous version is still live, the card says so: "Your site is still serving 3b7d5e1."
  • The overview with a bar of the steps and how long each took.
  • The step list (Plan, Build, Release command, Roll out, Health check, Switch traffic). The failed step opens on the lines around its first error, with Show all and Jump to line to see more. Errors and Warnings narrow the steps to those lines.
  • The full log, searchable, with links to individual lines.

The card's copy button copies the failure class (build_error, health_timeout, config_error and so on) with the raw error message. The guides below are organised around these classes.

Failed deployment 'chore: bump next to 16.1': a card explains the build failed because pnpm-lock.yaml is out of date, the site still serves the previous commit, and the build step shows the log excerpt with the ERR_PNPM_OUTDATED_LOCKFILE line highlighted.Failed deployment 'chore: bump next to 16.1': a card explains the build failed because pnpm-lock.yaml is out of date, the site still serves the previous commit, and the build step shows the log excerpt with the ERR_PNPM_OUTDATED_LOCKFILE line highlighted.
When a build fails, you get the cause, the fix and the exact log line. Your site keeps serving the last good version.

Logs

The project's Logs tab searches build lines and runtime lines of every service in the environment, with a histogram that marks errors and deploys. Live follows the output of running replicas. Owners and admins can search every project at once from Logs in the sidebar. See Logs for the query syntax.

The server page

When a whole server misbehaves, open it under Servers. Notices at the top say when it can't reach Docker, why the dashboard refuses it, or that launchroom restarted on it. The Overview tab has a Health section with one line per check: Health report, Docker, Disk, Memory, Load, File watch limits, Docker networks, Clock, Build cache, Disk cleanup and Desired state. Anything not green carries a sentence that says what to do. The Disk section shows what takes the space, with Free space now. The Network tab shows the private network, its path to other servers and what the server can do.

Activity

Activity in the sidebar lists deploys, promotions, configuration changes, team changes and alerts in order. When something worked yesterday and fails today, use Activity to find what changed in between.

Error pages in the dashboard

A link to a project, environment, service or server that no longer exists opens No project at this address (or environment, service, server) with Did you mean: the projects, environments or services nearby that you can open. The page looks the same whether the item was deleted or belongs to a team you're not in. You don't have access to this page means your role in the team doesn't include it; a team owner or admin can change your role under Settings → Team. Your session expired appears when a form is sent after the session ended: Reload goes back to the page you were on, and you sign in again if needed.

Something went wrong means launchroom itself ran into an error. The page shows a reference, and the dashboard's log entry for the error carries the same id, so an instance owner can find it (the command follows the log; stop it with Ctrl+C):

On the control-plane server
./launchroom logs dashboard --tail=all | grep <reference>

Collecting information for a bug report

If the guides don't solve the problem, open a bug report. Include:

  1. Versions. Settings → Updates shows the launchroom version and the version of every server (instance owners). A server's page also shows its version in the at-a-glance summary.

  2. What you did and what you saw. The exact status word (Failed, Offline, Last deploy failed), the explanation card's title and the failure class.

  3. The relevant log lines. Copy the excerpt from the deployment page, not the whole log. launchroom masks secret values in build and deploy logs, but check what you paste: your own app may print tokens or connection strings.

  4. A support bundle, when the problem is with launchroom itself. ./launchroom doctor --bundle on the control-plane server writes data/doctor/launchroom-support-<time>.tar.gz with the doctor's report, container states and recent logs of launchroom's own services. Passwords, keys and .env are left out and secrets in logs are replaced, but look through it before you share it.

  5. Server-side logs, when the problem is with a server rather than an app. On the control-plane server, from the install folder (default ./launchroom):

    On the control-plane server
    ./launchroom status
    ./launchroom logs dashboard
    ./launchroom logs launchroomd

    On any other server, from its install folder (default ./launchroomd):

    On another server
    docker compose logs --tail=200 launchroomd

    The containers launchroomd starts for its roles are named lr-system-caddy (serving traffic), lr-system-buildkit (builds), lr-system-tailscale (private network) and lr-system-ambassador (connections to services on other servers). docker logs --tail=200 lr-system-caddy shows one of them.

Never share these files

.env and data/keys/ in the install folder decrypt every secret launchroom stores. Don't attach them, the recovery kit or your recovery passphrase to an issue. Nobody needs them to debug a problem.

Guides by topic

Getting help

launchroom is open source. Search the GitHub issues of vantezzen/launchroom for your error text first. If nobody has reported it, open a new issue with the information above. Don't post security problems in a public issue. Contact the maintainer privately through GitHub instead.

On this page