OpenClaw auto-update bug leaves orphaned preflight directories filling /tmp

Auto-update bug causes disk space issues
The OpenClaw auto-update mechanism creates a preflight copy of the repository in /tmp before applying changes. When an update fails—for example, due to local changes in extension files blocking checkout—the preflight directory remains in /tmp indefinitely.
One user discovered 9 orphaned preflight directories totaling 6.5GB on a 38GB Hetzner VPS, causing disk usage to reach 100%. This blocked updates and created a failure loop: the update process itself requires disk space to run, so each failed attempt left more orphaned directories behind.
Diagnosis and immediate fix
The issue was resolved by running:
rm -rf /tmp/openclaw-update-preflight-*However, the user noted that finding the root cause took longer than it should have, highlighting that self-hosting AI agents requires sysadmin attention. The bug would have "bricked" non-technical users' agents without any ability for them to diagnose it themselves.
Recommendations for small VPS deployments
- Monitor
/tmpsize regularly—OpenClaw isn't the only application that uses this directory, but it was the "biggest offender" on a dedicated instance - Use at least 4GB RAM and 40GB disk as a "comfortable minimum" specification
- Add a disk space check to your agent's heartbeat configuration to catch issues before they escalate
The user runs a managed OpenClaw hosting service (clawrapid) and maintains instances for non-technical users, noting this experience reinforced the value of managed services for those without technical expertise.
📖 Read the full source: r/openclaw
👀 See Also

Six Research-Backed Parallels Between LLM Failure Modes and ADHD Cognition
A developer with ADHD identifies six parallels between LLM failure patterns and ADHD cognitive science, backed by independent research on associative processing, confabulation, working memory limitations, pattern completion, structure dependence, and thread continuity.

Solo Dev Builds 35-Module Household SaaS with Claude — Workflow Deep Dive
A senior engineer with 25 years experience built a full household-management SaaS (35 modules, Vite + Netlify + Supabase) solo using Claude and Claude Code. Key pattern: investigate-then-fix, not code-first.

Vibe Coding vs. Production Reality: The Undiscussed Liabilities
Reddit user External_Bobcat8183 highlights the gap between fast PoCs with vibe coding and real production issues: auth, secrets, GDPR, rate limiting, multi-tenancy.

Coding Agents Supersede Human Code Review: Paper Argues Traditional Review Is Dead
arXiv paper argues coding agents have crossed the threshold to replace human code review, offering lower cost and higher throughput.