-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
Installer hangs at [3/3] Finalizing setup when running npm prefix -g or openclaw daemon status --json #62509
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:current-main-reproClawSweeper found a high-confidence current-main issue reproduction.ClawSweeper found a high-confidence current-main issue reproduction.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.issue-rating: 🦀 challenger crabExceptional issue quality: high-confidence current-main reproduction and actionable evidence.Exceptional issue quality: high-confidence current-main reproduction and actionable evidence.
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:current-main-reproClawSweeper found a high-confidence current-main issue reproduction.ClawSweeper found a high-confidence current-main issue reproduction.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.issue-rating: 🦀 challenger crabExceptional issue quality: high-confidence current-main reproduction and actionable evidence.Exceptional issue quality: high-confidence current-main reproduction and actionable evidence.
Type
Fields
Give feedbackNo fields configured for issues without a type.
When installing OpenClaw with:
curl -fsSL https://openclaw.ai/install.sh | bash --verbosethe installer can hang indefinitely at:
It looks like the finalizing step runs several best-effort probes, but some of them may block for a long time or never return in certain environments.
In my case, the install appeared stuck even though the CLI was likely already installed.
Expected behavior
The installer should always finish, even if post-install verification probes fail or hang.
Actual behavior
The installer remains stuck at
[3/3] Finalizing setupand never exits.Why this is a problem
These commands appear to be non-essential and are already wrapped with
|| true, so failures are tolerated, but hangs are not. This makes the installer look broken even when installation may actually be complete.Suggested fix
Add short timeouts to the post-install probes in the finalizing stage, especially:
npm prefix -g "$claw" daemon status --jsonFor example:
npm prefix -gafter a few secondsopenclaw daemon status --jsonafter a few secondsSuggested outcome
The installer should:
Environment
curl -fsSL https://openclaw.ai/install.sh | bash --verbose