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

Anthropic Report on Global AI Adoption Intensity
Anthropic's latest data reveals uneven global AI adoption, measuring intensity of usage rather than total users. The report shows where AI is embedded into workflows like coding, research, and decision making across individuals and businesses.

Claude-Code v2.1.72: SSH improvements, permission prompt reductions, and bug fixes
Claude-Code v2.1.72 adds SSH-friendly file writing with /copy w key, reduces bash permission prompts by adding common tools to auto-approval allowlist, and fixes over 20 bugs including voice mode issues and plugin installation problems.
The Atlantic Reports Rising Anti-AI Violence and Political Backlash
Bernie Sanders and Steve Bannon both decry AI as a threat to workers. A Molotov cocktail attack on Sam Altman's home and an Indianapolis councilman's shooting show anti-data-center violence is rising.
Claude Code v2.1.207: Auto Mode GA, Terminal Freeze Fix, and Security Hardening
Auto mode is now stable without opt-in on Bedrock/Vertex/Foundry. Fixes terminal freezing on long outputs, shell injection in plugins, and more.