Cowork: Session provisioning fails with 'useradd: cannot create directory /sessions'
Resolved 💬 1 comment Opened Apr 16, 2026 by gagan114662 Closed May 25, 2026
Bug Report
Service: Cowork (Claude's online agent workspace)
Error:
RPC error: ensure user: useradd failed: exit status 12: user add: cannot create directory /sessions/amazing-youthful-hopper
Symptoms
- Every new Cowork session fails immediately after sending any message
- Error appears consistently across multiple attempts
- The Cowork service shows as "up" (HTTP responding) but session provisioning fails
- Multiple consecutive "Initial greeting and session start" tasks all fail with the same error
Root Cause (likely)
useradd exit code 12 indicates the server cannot create the user home directory under /sessions/. This is typically caused by:
- Full disk on the
/sessionsfilesystem /sessionsdirectory not mounted or mounted read-only- Permission issue on the session provisioner
Impact
Cowork is completely unusable — no sessions can be started.
Reported by
User via Claude Code CLI on 2026-04-16.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗