Skip to content

Troubleshooting

Where to look first, and the failures that are most often misread.

The Logs tab, streaming container output
Terminal window
sudo journalctl -u windlass -f
sudo journalctl -u windlass -n 200 --no-pager

For a deployment, the panel’s own log is more useful than the service log: every step is recorded and kept, including for deployments that failed.

Prepare reads .env and runs docker compose config. A failure here is usually Compose rejecting the file, and the message is Compose’s own, literal about the line. Nothing was stopped, because Prepare runs before any container is touched.

Reproduce it directly on the server for the full context:

Terminal window
cd /var/lib/windlass/projects/<name>
docker compose config

The containers started but did not become healthy within two minutes. The application is the suspect, not the panel. Check what the container is saying:

Terminal window
docker compose logs --tail=100

A crash-loop, a database that was not ready, or a windlass.health.url that Windlass cannot reach are the common three. Windlass requests that URL itself, not the container. On a systemd install that means from the host, so use a port the service publishes, such as http://127.0.0.1:3000/health. Under the container install it is the Windlass container asking, where 127.0.0.1 is Windlass’s own container.

Nearly always DNS. Let’s Encrypt validates by connecting to the hostname, so it must resolve to this server before a certificate can be issued. Start with Check domains on the Domains tab (Checking a domain): it says what DNS answers, whether 80 and 443 are open and what certificate Caddy serves. Caddy’s admin API does not give the issuance error, so for that look in Caddy’s log:

Terminal window
sudo journalctl -u caddy -n 100 --no-pager | grep -i -E "acme|certificate|tls"

Then check the record and that plain HTTP reaches this server:

Terminal window
dig +short your-domain.example
curl -I http://your-domain.example

If the record is right and recent, give it a few minutes. Behind a proxy such as Cloudflare, an orange-clouded record means the challenge reaches the proxy rather than your server, which is its own configuration question.

The panel is unreachable but the sites are fine

Section titled “The panel is unreachable but the sites are fine”

This is expected. The panel is one process. Your containers are ordinary Compose containers with a restart policy, and Caddy serves the routes it already has.

Terminal window
sudo systemctl status windlass
sudo systemctl restart windlass

The service talks to Docker through a restricted socket proxy on loopback, not through the Docker group. If the panel reports Docker unavailable, check the proxy first:

Terminal window
sudo systemctl status windlass-docker-proxy
docker -H tcp://127.0.0.1:2375 version

The fix is to get the proxy healthy. Adding the windlass user to the docker group would appear to work and would hand full daemon access to the panel process, which is the boundary the proxy exists to keep.

The panel does not know about a project that exists

Section titled “The panel does not know about a project that exists”

Use Scan directory on the Projects page. The SQLite index is rebuildable on purpose: it is derived from the filesystem, and the filesystem is authoritative.

A service with an env file never shows a config change

Section titled “A service with an env file never shows a config change”

From Compose v2.22.0 until v5.5.0, docker compose config --hash leaves env_file out while up includes it (docker/compose#14001), so the hash on such a container never matches the files. On those versions Windlass does not report a config change for a service with env_file, rather than show drift on every one of them. A new image, a missing container and a removed service are still reported. On Compose v2.22.0 to v2.34.x it cannot tell which services have an env file, so the false drift remains there. Compose v5.5.0 or later detects config changes for every service.

Containers keep running throughout. Put the project directories back under the projects directory, start Windlass, and scan. On a systemd install the panel runs as windlass, so the project directory, its compose file, .env and the Git checkout must be owned by it. The panel saves a file by writing a new one beside it and renaming it into place, which needs the directory as well as the file. Leave a container’s data directory, such as a Postgres one, owned by the container’s user: the installer does not take over ownership inside the projects directory. Accounts, audit and deployment history come from a platform backup, not from the project directories. See Backups and restore.

Server OS and version, Docker and Compose versions (shown in the Server card on Overview), what you did, what happened, and the relevant log lines. The compose file, with secrets removed, usually answers the first three follow-up questions: github.com/Sulaiman-Dauda/windlass/issues.