claude-code - 💡(How to fix) Fix Cowork Cloud: persistent useradd failed exit status 12 — cannot create sessions for days [3 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46939Fetched 2026-04-12 13:29:11
View on GitHub
Comments
3
Participants
2
Timeline
7
Reactions
0
Author
Timeline (top)
commented ×3labeled ×3closed ×1

Error Message

RPC error: ensure user: useradd failed: exit status 12: useradd: cannot create directory /sessions/happy-friendly-clarke

Root Cause

Exit code 12 from useradd means "cannot create home directory." This suggests a server-side disk space or filesystem issue on the node(s) assigned to my account. The session name format (happy-friendly-clarke) indicates randomized container/sandbox allocation that consistently fails at the directory creation step.

Fix Action

Fix / Workaround

Critical blocker — I rely on Cowork Cloud for 28 automated business tasks (CRM monitoring, email triage, daily reports, data backups) that have all been down for multiple days with no workaround available.

Code Example

RPC error: ensure user: useradd failed: exit status 12: useradd: cannot create directory /sessions/happy-friendly-clarke
RAW_BUFFERClick to expand / collapse

Environment

  • Claude Code version: 2.1.92
  • Platform: macOS (Darwin 25.4.0, ARM64)
  • Plan: Max (Pro)
  • Entrypoint: Claude Desktop
  • Account: [email protected]

Problem

Cowork Cloud scheduled tasks have been completely non-functional for several days (since approximately April 9-10, 2026).

Error

RPC error: ensure user: useradd failed: exit status 12: useradd: cannot create directory /sessions/happy-friendly-clarke

Impact

  1. All 28 previously created scheduled tasks have disappearedlist_scheduled_tasks returns empty
  2. Cannot create new scheduled tasks — same RPC error on any attempt
  3. Local Cowork sessions also affected — the error now occurs when trying to run any Cowork operation that requires a cloud session

What I've tried

  • Waiting several days — the issue persists and has not self-resolved
  • Retrying at different times of day — same error consistently
  • The error is 100% reproducible on every attempt

Expected behavior

Cowork Cloud should be able to create session directories and execute scheduled tasks normally.

Analysis

Exit code 12 from useradd means "cannot create home directory." This suggests a server-side disk space or filesystem issue on the node(s) assigned to my account. The session name format (happy-friendly-clarke) indicates randomized container/sandbox allocation that consistently fails at the directory creation step.

Severity

Critical blocker — I rely on Cowork Cloud for 28 automated business tasks (CRM monitoring, email triage, daily reports, data backups) that have all been down for multiple days with no workaround available.

extent analysis

TL;DR

The issue can likely be resolved by investigating and addressing the server-side disk space or filesystem issue on the node(s) assigned to the account, which is preventing the creation of session directories.

Guidance

  • Verify the available disk space on the server-side node(s) to confirm if it's the root cause of the issue.
  • Check the filesystem permissions and configuration to ensure that the useradd process has the necessary rights to create directories.
  • Investigate the possibility of a quota limit being reached or a misconfiguration in the container/sandbox allocation process.
  • Consider reaching out to the Cowork Cloud support team for further assistance, as the issue seems to be related to their infrastructure.

Example

No code snippet is provided as the issue seems to be related to the server-side infrastructure and configuration.

Notes

The issue is critical and has a significant impact on the user's business operations. The provided error message and analysis suggest a server-side issue, but without direct access to the infrastructure, it's challenging to provide a more detailed solution.

Recommendation

Apply workaround: Reach out to the Cowork Cloud support team to report the issue and request their assistance in resolving the server-side disk space or filesystem issue, as it's likely a problem with their infrastructure.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Cowork Cloud should be able to create session directories and execute scheduled tasks normally.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING