Repository navigation
Troubleshooting
- Is the API up?
systemctl status roomcad→systemctl restart roomcad. - It binds
127.0.0.1:8078only, so the proxy must forward/api/*to it. - Running locally? The API is a separate process — start
server.pyas well asserve.sh.
The password comes from ROOMCAD_PASSWORD in /var/roomcad/roomcad.env
(mode 600, loaded by the systemd unit). If the file is missing the service
still starts but logins fail closed:
printf 'ROOMCAD_PASSWORD=your-password\n' > /var/roomcad/roomcad.env
chmod 600 /var/roomcad/roomcad.env
systemctl restart roomcadjournalctl -u roomcad prints a warning at boot when it is unset.
Something is buffering the event stream.
-
Caddy: the
reverse_proxyblock needsflush_interval -1. -
nginx:
location /api/watch/needsproxy_buffering off. -
Check it directly — this should print an event immediately, not on close:
curl -sN -b jar.txt https://your-host/api/watch/ternak_room1
It needs both: another browser session active in the last 30 seconds, and a design that came from the server. Save first, then wait ~3 s for the next presence poll. See Live Collaboration.
Fixed in v2.9. If you see it again on an older build, the cause is one of
two things, both covered by tests/plan-seal.test.mjs:
- a negative shadow bias (
POINT_SHADOW_BIAS/sun.shadow.bias) — it makes every surface test as closer to the light than it is, and the error grows with the square of the distance; - a wall join seal shorter than half the wall thickness, which leaves a real full-height notch of open air at each corner.
Run node tests/plan-seal.test.mjs; it fails on both.
scp uploads with mode 600. The Caddyfile must be 644, owned by
root:caddy:
chmod 644 /etc/caddy/Caddyfile && chown root:caddy /etc/caddy/Caddyfile
systemctl reload caddyDoors are open by default; a closed one blocks the gap. Double-click it in 2D, or right-click it in 3D.
It may sit flush against a wall (0 cm) but never overlap a wall or another
item. Green means it fits, red means it does not — rotate with R or nudge
with the arrow keys.
- It needs WebGPU. Use a current Chrome, Edge or Safari Technology
Preview; check
chrome://gpu. - Black but working? You may be in placed-lights-only mode at night. Press
Lfor daylight, or set Time of day to around12.
Each ceiling light that casts shadows costs a full cube shadow map, and only the first 16 get one. Remove a few lights, or drop the browser zoom.
The deploy uses rsync --delete, so the server is correct — it is the browser
cache. Hard-reload (⇧⌘R). The footer shows the running version; compare it
with roomcad/web/version.js.