Skip to content
landfall

Troubleshooting

symptomfix
setup needs root or passwordless sudouse -u root, or give your user passwordless sudo
… no root key login works / fail2ban answers root onlyadd 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 browseryou used --staging: lf setup <name> --no-staging
no certificate at allDNS must point at the server and 80/443 must be open; see lf traefik logs
TLS handshake failsno site serves the domain (lf domains --add …), or its certificate isn't issued yet: lf traefik logs
site container keeps restartinglf logs; for apps check --port / x-landfall.port and env
… publishes 5432 on the server, past Traefik and the firewalllf init moves ports: to compose.override.yaml; or allow it with x-landfall: { publish: true }
sites need docker compose 2.24 or newerlf update --compose
Docker on … does not answer / permission denied … docker.sockthe 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 commandanother command changed the same settings. Review local config before retrying; completed remote work was not reverted