gunicorn: since the first deploy on 2026-11-26, every start of thor has logged [ERROR] Control server error: [Errno 30] Read-only file system: '/var/lib/thor/.gunicorn'.
gunicorn 27 opens a control socket under $HOME by default, and the unit's ProtectSystem=strict makes that path read-only.
Thor doesn't use the socket, so the unit now passes --no-control-socket.
requirements.txt now needs gunicorn>=27, because older versions reject the flag. Prod runs 27.0.1.
thor_deploy.sh already installs changed units and reloads systemd.
docs/contract.md: it said every check is in shadow "(all of phase 1)". It now says checks are set per check, and that memory has been live since 2026-11-27 while reboots, fencing and Ceph stay in shadow.
Local: flake8 and ruff are clean, and 147 passed, 7 skipped (MariaDB, run in CI). After the deploy I'll check that thor starts without the ERROR line.
Two small follow-ups from #12. No UI change.
- **gunicorn:** since the first deploy on 2026-11-26, every start of `thor` has logged `[ERROR] Control server error: [Errno 30] Read-only file system: '/var/lib/thor/.gunicorn'`.
- gunicorn 27 opens a control socket under `$HOME` by default, and the unit's `ProtectSystem=strict` makes that path read-only.
- Thor doesn't use the socket, so the unit now passes `--no-control-socket`.
- `requirements.txt` now needs `gunicorn>=27`, because older versions reject the flag. Prod runs 27.0.1.
- `thor_deploy.sh` already installs changed units and reloads systemd.
- **docs/contract.md:** it said every check is in shadow "(all of phase 1)". It now says checks are set per check, and that memory has been live since 2026-11-27 while reboots, fencing and Ceph stay in shadow.
Local: flake8 and ruff are clean, and 147 passed, 7 skipped (MariaDB, run in CI). After the deploy I'll check that `thor` starts without the ERROR line.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
gunicorn 27 opens a control socket under $HOME by default, which the unit's
ProtectSystem=strict makes read-only, so every start logged "Control server
error: Read-only file system". Thor doesn't use it: --no-control-socket, and
gunicorn>=27 since older versions don't know the flag.
docs/contract.md said every check is in shadow; memory went live 2026-11-27.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
jared
scheduled this pull request to auto merge when all checks succeed 2026-11-27 11:51:35 -05:00
jared
merged commit 50f6782087 into main2026-11-27 11:55:59 -05:00
jared
deleted branch quiet-gunicorn-docs2026-11-27 11:56:00 -05:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Two small follow-ups from #12. No UI change.
thorhas logged[ERROR] Control server error: [Errno 30] Read-only file system: '/var/lib/thor/.gunicorn'.$HOMEby default, and the unit'sProtectSystem=strictmakes that path read-only.--no-control-socket.requirements.txtnow needsgunicorn>=27, because older versions reject the flag. Prod runs 27.0.1.thor_deploy.shalready installs changed units and reloads systemd.Local: flake8 and ruff are clean, and 147 passed, 7 skipped (MariaDB, run in CI). After the deploy I'll check that
thorstarts without the ERROR line.🤖 Generated with Claude Code