setup needs root or passwordless sudo | use -u root, or give your user passwordless sudo |
… no root key login works / fail2ban answers root only | add a Host with User root (or a sudo user) for the same machine to ~/.ssh/config, or name one: lf server config <name> --root-login <ssh-alias> |
| certificate warning in the browser | you used --staging: lf setup <name> --no-staging |
| no certificate at all | DNS must point at the server and 80/443 must be open; see lf traefik logs |
| TLS handshake fails | no site serves the domain (lf domains --add …), or its certificate isn't issued yet: lf traefik logs |
| site container keeps restarting | lf logs; for apps check --port / x-landfall.port and env |
… publishes 5432 on the server, past Traefik and the firewall | lf init moves ports: to compose.override.yaml; or allow it with x-landfall: { publish: true } |
sites need docker compose 2.24 or newer | lf update --compose |
Docker on … does not answer / permission denied … docker.sock | the login user may not use Docker: add it to the group (sudo usermod -aG docker <user>), or let setup create the deploy user. landfall logs in anew by itself after the change |
required variable … is missing / compose.yaml needs … | set it on the server: lf env KEY=… or lf deploy -e KEY=… |
… was edited by hand (traefik setup) | move your change to dynamic/ or flags, or lf traefik setup --force |
skipping firewall/ssh hardening: … | setup protected something running there. Fix it, or re-run with --force |
skipping traefik: port 80 is in use by … | free the port, then lf traefik setup. If it's a Traefik, lf traefik use |
… blocks ssh port 22 … (--force to do it anyway) | lf firewall allow 22/tcp first, or force if you have another way in |
ssh cannot resolve <name> | not in your ssh config: lf server add <name> --host … |
… Pass -y to confirm (no terminal to ask) | non-interactive run of a command that asks: add -y |
local config is locked: … | another writer has up to 5 seconds to finish. Check that no landfall writer is active before removing only the reported abandoned .lock directory; never delete the config directory |
local configuration … changed during this command | another command changed the same settings. Review local config before retrying; completed remote work was not reverted |