greenseeker
greenseeker3mo ago

Windmill is a blank white screen

I've just set up Windmill in my lab using docker on Almalinux 9. When I point a browser at the VM, I just get a white screen. I've turned off firewalld and selinux for now, just to eliminate them as possibilities. I'm not seeing any errors in the windmill_windmill_server_1 or windmill_caddy_1 logs. How can I troubleshoot this?
6 Replies
rubenf
rubenf2mo ago
Hi, 1. Did you use the stock docker compose 2. Do you have logs about the server responding to requests ? If not then most likely the ingress is not setup properly and your requests are not reaching the server
greenseeker
greenseekerOP2mo ago
1. I've tried both docker-compose and podman-compose now. 2. docker logs windmill_windmill_server_1 is just the following over and over again:
2025-06-23T13:21:55.825083Z INFO src/main.rs:1070: monitor task started
2025-06-23T13:21:55.833199Z INFO src/main.rs:1084: monitor task finished
2025-06-23T13:22:08.978181Z INFO src/monitor.rs:503: 175.9504165649414 mb allocated/183.40234375 mb resident
2025-06-23T13:22:25.834724Z INFO src/main.rs:1070: monitor task started
2025-06-23T13:22:25.859732Z INFO src/main.rs:1084: monitor task finished
2025-06-23T13:22:38.980693Z INFO src/monitor.rs:503: 175.95282745361328 mb allocated/183.4140625 mb resident
2025-06-23T13:21:55.825083Z INFO src/main.rs:1070: monitor task started
2025-06-23T13:21:55.833199Z INFO src/main.rs:1084: monitor task finished
2025-06-23T13:22:08.978181Z INFO src/monitor.rs:503: 175.9504165649414 mb allocated/183.40234375 mb resident
2025-06-23T13:22:25.834724Z INFO src/main.rs:1070: monitor task started
2025-06-23T13:22:25.859732Z INFO src/main.rs:1084: monitor task finished
2025-06-23T13:22:38.980693Z INFO src/monitor.rs:503: 175.95282745361328 mb allocated/183.4140625 mb resident
I did notice one additional thing that I missed previously. The caddy container keeps exiting. Its log looks like this:
Error: reading config from file: open /etc/caddy/Caddyfile: permission denied
Error: reading config from file: open /etc/caddy/Caddyfile: permission denied
Error: reading config from file: open /etc/caddy/Caddyfile: permission denied
Error: reading config from file: open /etc/caddy/Caddyfile: permission denied
Error: reading config from file: open /etc/caddy/Caddyfile: permission denied
Error: reading config from file: open /etc/caddy/Caddyfile: permission denied
Error: reading config from file: open /etc/caddy/Caddyfile: permission denied
Error: reading config from file: open /etc/caddy/Caddyfile: permission denied
I can't tell where on the local system the Caddyfile should be and the self-hosting instructions don't specify anything beyond downloading it. I've put docker-compose.yml, Caddyfile, and .env in /opt/windmill at the moment. All are world-readable.
rubenf
rubenf2mo ago
The server is not receiving any request and your issue come from Caddy and related to this Caddyfile which should be mounted and readable to caddy at that location
greenseeker
greenseekerOP2mo ago
Resolved the permissions issue (selinux-related) and now have windmill_caddy_1 running normally. Unfortunately, windmill is still a blank white page.
# docker logs windmill_windmill_server_1
...
2025-06-24T02:50:10.556134Z INFO src/main.rs:1229: config: MODE: server, GO_PATH: /usr/local/go/bin/go, PATH: /usr/local/bin:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin, HOME: /root
2025-06-24T02:50:10.558276Z WARN windmill-api/src/oauth2_ee.rs:181: oauth.json not found, no OAuth clients loaded
2025-06-24T02:50:10.567229Z INFO windmill-common/src/worker.rs:473: Loaded setting custom_tags, common: ["chromium"], per-workspace: {}
2025-06-24T02:50:10.570753Z WARN windmill-common/src/server.rs:81: SMTP not configured
2025-06-24T02:50:10.570848Z INFO src/monitor.rs:1531: Reloading smtp config...
2025-06-24T02:50:10.571447Z INFO src/monitor.rs:1263: Loaded saml_metadata setting to None
2025-06-24T02:50:10.571829Z INFO src/monitor.rs:1263: Loaded scim_token setting to None
2025-06-24T02:50:10.574706Z INFO src/monitor.rs:503: 6.5283050537109375 mb allocated/9.81640625 mb resident
2025-06-24T02:50:10.636969Z INFO src/main.rs:1222: Successfully connected to pg listen
2025-06-24T02:50:10.637247Z INFO windmill-api/src/embeddings.rs:223: Loading embedding model...
2025-06-24T02:50:10.637953Z INFO windmill-api/src/embeddings.rs:197: Found embedding model in cache
2025-06-24T02:50:10.643815Z INFO windmill-api/src/lib.rs:343: SMTP server not started because email domain is not set
2025-06-24T02:50:10.664562Z INFO windmill-api/src/http_triggers.rs:919: Loaded HTTP routers
...
# docker logs windmill_windmill_server_1
...
2025-06-24T02:50:10.556134Z INFO src/main.rs:1229: config: MODE: server, GO_PATH: /usr/local/go/bin/go, PATH: /usr/local/bin:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin, HOME: /root
2025-06-24T02:50:10.558276Z WARN windmill-api/src/oauth2_ee.rs:181: oauth.json not found, no OAuth clients loaded
2025-06-24T02:50:10.567229Z INFO windmill-common/src/worker.rs:473: Loaded setting custom_tags, common: ["chromium"], per-workspace: {}
2025-06-24T02:50:10.570753Z WARN windmill-common/src/server.rs:81: SMTP not configured
2025-06-24T02:50:10.570848Z INFO src/monitor.rs:1531: Reloading smtp config...
2025-06-24T02:50:10.571447Z INFO src/monitor.rs:1263: Loaded saml_metadata setting to None
2025-06-24T02:50:10.571829Z INFO src/monitor.rs:1263: Loaded scim_token setting to None
2025-06-24T02:50:10.574706Z INFO src/monitor.rs:503: 6.5283050537109375 mb allocated/9.81640625 mb resident
2025-06-24T02:50:10.636969Z INFO src/main.rs:1222: Successfully connected to pg listen
2025-06-24T02:50:10.637247Z INFO windmill-api/src/embeddings.rs:223: Loading embedding model...
2025-06-24T02:50:10.637953Z INFO windmill-api/src/embeddings.rs:197: Found embedding model in cache
2025-06-24T02:50:10.643815Z INFO windmill-api/src/lib.rs:343: SMTP server not started because email domain is not set
2025-06-24T02:50:10.664562Z INFO windmill-api/src/http_triggers.rs:919: Loaded HTTP routers
...
...
2025-06-24T02:50:10.664914Z INFO windmill-api/src/agent_workers_ee.rs:118: recv parallelism: 3
2025-06-24T02:50:10.679881Z INFO windmill-api/src/lib.rs:802: server started on port=8000 and addr=0.0.0.0 instance=Rn09J
2025-06-24T02:50:10.876511Z INFO windmill-api/src/embeddings.rs:239: Loaded embedding model
2025-06-24T02:50:10.876670Z INFO windmill-api/src/embeddings.rs:629: Creating embeddings DB...
2025-06-24T02:50:20.294097Z INFO windmill-api/src/embeddings.rs:636: Created embeddings DB
2025-06-24T02:50:40.576409Z INFO src/monitor.rs:503: 175.60433959960938 mb allocated/244.625 mb resident
2025-06-24T02:50:40.638154Z INFO src/main.rs:1070: monitor task started
2025-06-24T02:50:40.689100Z INFO src/main.rs:1084: monitor task finished
...
2025-06-24T02:57:10.597012Z INFO src/monitor.rs:503: 176.13587188720703 mb allocated/182.9453125 mb resident
2025-06-24T02:57:10.849548Z INFO src/main.rs:1070: monitor task started
2025-06-24T02:57:10.859960Z INFO src/main.rs:1084: monitor task finished
...
2025-06-24T02:50:10.664914Z INFO windmill-api/src/agent_workers_ee.rs:118: recv parallelism: 3
2025-06-24T02:50:10.679881Z INFO windmill-api/src/lib.rs:802: server started on port=8000 and addr=0.0.0.0 instance=Rn09J
2025-06-24T02:50:10.876511Z INFO windmill-api/src/embeddings.rs:239: Loaded embedding model
2025-06-24T02:50:10.876670Z INFO windmill-api/src/embeddings.rs:629: Creating embeddings DB...
2025-06-24T02:50:20.294097Z INFO windmill-api/src/embeddings.rs:636: Created embeddings DB
2025-06-24T02:50:40.576409Z INFO src/monitor.rs:503: 175.60433959960938 mb allocated/244.625 mb resident
2025-06-24T02:50:40.638154Z INFO src/main.rs:1070: monitor task started
2025-06-24T02:50:40.689100Z INFO src/main.rs:1084: monitor task finished
...
2025-06-24T02:57:10.597012Z INFO src/monitor.rs:503: 176.13587188720703 mb allocated/182.9453125 mb resident
2025-06-24T02:57:10.849548Z INFO src/main.rs:1070: monitor task started
2025-06-24T02:57:10.859960Z INFO src/main.rs:1084: monitor task finished
rubenf
rubenf2mo ago
your server are not receiving the requests, likely still a caddy configuration issue
greenseeker
greenseekerOP2mo ago
Finally figured this out. The variables in the included Caddyfile (BASE_URL and ADDRESS) weren't functional. I replaced them with the actual values and I'm up and running now.

Did you find this page helpful?