Troubleshooting
Start with the facts: the run ID, the step, the time, the HTTP status or the exact message. Share short, cleaned excerpts — never cookies, tokens, private keys, state files or Vault values.
The controller does not start
| Message in the controller log |
Cause |
Fix |
Set RUNWAY_DATABASE_URL to a PostgreSQL connection URL |
Missing or non-PostgreSQL URL |
Check database.existingSecret / secretKey |
Set RUNWAY_ADMIN_PASSWORD to a unique 12–256 character initial password |
Bootstrap password missing, too short or admin |
Fix the runway-admin Secret |
Set RUNWAY_API_TOKEN to a random value of at least 24 characters |
Token mode with a short token |
Longer token, or password mode |
Disabled authentication requires RUNWAY_ENV=development |
authMode: disabled outside development |
Use password |
OIDC requires password sessions, HTTPS issuer and JWKS URLs, and a client ID |
Incomplete SSO variables |
Set all three, HTTPS, password mode |
HA requires PostgreSQL and Kubernetes |
ha: true with local backend |
Use the chart's Kubernetes backend |
Pod stays in init container wait-postgres |
Database unreachable for 2 minutes |
URL, CA, SAN host name, user rights, NetworkPolicy/egress to 5432 |
Helm: stage requires … |
A strict-mode check failed |
See Helm values → Strict mode |
Helm: Multiple replicas require ha=true |
replicas > 1 without HA |
Set ha: true |
Sign-in
| Symptom |
Cause |
Fix |
Login succeeds, next request is 401 |
Secure cookie over HTTP, or host mismatch |
Use the HTTPS URL; check the gateway passes the host |
403 Cross-origin request rejected on every change |
Controller sees http:// behind a TLS gateway |
Set forwardedAllowIps; check X-Forwarded-Proto |
429 Too many attempts |
5 failed sign-ins from this address |
Wait 5 minutes |
403 Permission denied |
The user's roles lack this operation or scope |
Roles and permissions |
SSO: 401 Invalid identity assertion |
Wrong issuer or audience, expired token, not RS256, JWKS unreachable |
Compare token claims with the RUNWAY_OIDC_* values |
SSO: 403 SSO identity has no active account binding |
Subject not bound, or user inactive |
Bind the sub under Administration → Users → Single sign-on |
SSO: 401 Sign in through the identity gateway |
/api/auth/sso reached Liftway without the gateway |
Route that path through the identity gateway |
Git and Vault
| Symptom |
Fix |
Sync: Credential lookup failed: Vault HTTP 403 |
Reader policy must cover the credential path; controller bound to the reader role |
Sync: cannot reach Vault |
Address, DNS, TLS CA, egress |
| Sync: authentication failed |
Token scope read_repository; GitLab Deploy Token needs its own username, not oauth2 |
| Sync: host key verification failed |
Add the Git server's verified line to the credential's known_hosts |
| A playbook is missing in the template's list |
File not tracked, > 1 MB, not a list of plays, or more than 500 files catalogued |
Saving a credential: Could not store secret in Vault |
Writer role and policy; mount and prefix in Vault configuration match the policy; audience vault |
Launch errors
| Message |
Meaning |
Sync the project and select a discovered playbook |
The project is not synced or the playbook disappeared |
Project must have a successful sync before launching |
Last sync failed or never ran |
Template playbook is missing from the synced project |
The playbook was removed in the synced commit |
Select an inventory at launch |
No inventory anywhere in the chain |
Sync this Git inventory successfully before launching |
The Git inventory's last sync failed |
These template fields cannot be overridden at launch |
The template does not allow that launch option |
Terraform runs require Kubernetes execution environments |
Pick a Kubernetes environment |
HA mode supports only Kubernetes execution environments |
Local and SSH are off in HA |
Execution environments require Kubernetes |
Local controller with a Kubernetes environment |
Workflow jobs require runtime credentials |
A Git credential was attached to a job |
… requires environment credentials |
Bash/Terraform with an extra-var or SSH credential |
Build inventory requires a managed-state Terraform plan/apply template |
Fix the source step's template |
503 Database busy; retry shortly |
Pool or lock wait exceeded; retry, then check database load |
During a run
| Symptom |
Where to look |
Step stuck in pending |
All maxParallel slots busy (dashboard), or waiting on dependencies |
ImagePullBackOff |
Image name, tag, architecture, pull secret in Liftway's namespace; Never only for images loaded into kind/k3d |
| Step fails after timeout + 60 s with no output |
Pod never started: image pull, quota, admission policy, node capacity — check kubectl get events |
| No hosts matched |
Inventory ∩ play hosts: ∩ Limit is empty |
UNREACHABLE |
Route from the runner pod, ansible_host, SSH user, key, known_hosts, egress policy |
| Galaxy install failed |
Runner egress to Galaxy or your mirror; versions in collections/requirements.yml |
Runner logs temporarily unavailable (503) |
Legacy run without captured output and the pod is gone or the API unreachable |
| Output ends with a truncated marker |
One record exceeded 256 KiB |
| Job preparation failed after sync |
After a sync step, the template, project, inventory or credentials no longer resolve |
| Symptom |
Fix |
Remote backend required for plan/apply |
Add backend "http" {} (managed) or configure your remote backend |
Runway state requires terraform { backend "http" {} } |
Managed state chosen but the code has another backend |
A comment is required for the Terraform decision |
Approvals of plans need a comment |
Approval has expired |
More than 24 hours passed; launch a new plan |
Saved plan is unavailable; create a new plan |
Plan deleted by retention, or never saved |
| Apply fails as stale |
Another apply changed the state; launch a new plan |
| State locked |
Make sure no apply is still running before any manual unlock |
| Plans or state cannot be decrypted |
Controllers use a different encryption-key than when they were written |
Kubernetes commands that do not expose secrets
kubectl -n runway-prod get pods,jobs
kubectl -n runway-prod get events --sort-by=.lastTimestamp | tail -30
kubectl -n runway-prod describe pod <runner-pod>
kubectl -n runway-prod logs deploy/runway --tail=200
Do not use kubectl get secret -o yaml in shared diagnostics. Do not delete active runner Jobs or ConfigMaps by hand — Liftway treats a vanished Job as failed and does not replay it.
The documentation link on the site returns 404
The site expects the documentation under /docs/. Copy the built documentation into the site's dist/docs, or set docsUrl in the site's src/config.js to where the documentation is hosted.