Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crashclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Description
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
I installed Node.js via mise and want OpenClaw to use it, install script detected node from mise, but generated systemd Gateway Service is using apt installed node.
Steps to reproduce
- Install node via mise and nodesource(apt)
- Install (upgrade) from install.sh one-liner with --no-onboard
- read ~/.config/systemd/user/openclaw-gateway.service
Expected behavior
systemd Gateway Service let use node installed by mise
Actual behavior
systemd Gateway Service using node installed by nodesource(apt)
OpenClaw version
2026.5.28
Operating system
Ubuntu 24.04
Install method
npm global
Model
without calling LLMs
Provider / routing chain
openclaw
Additional provider/model setup details
No response
Logs, screenshots, and evidence
current openclaw-gateway.service
Wants=network-online.target
StartLimitBurst=5
StartLimitIntervalSec=60
[Service]
ExecStart=/usr/bin/node /home/openclaw/.npm-global/lib/node_modules/openclaw/dist/index.js gateway --port 18789
Restart=always
RestartSec=5
RestartPreventExitStatus=78
TimeoutStopSec=30
TimeoutStartSec=30
SuccessExitStatus=0 143
KillMode=control-group
EnvironmentFile=-/home/openclaw/.openclaw/gateway.systemd.env
Environment=OPENCLAW_SERVICE_MANAGED_ENV_KEYS=BRAVE_API_KEY,DISCORD_BOT_TOKEN,ELEVENLABS_API_KEY,GEMINI_API_KEY,MOONSHOT_API_KEY,OPENAI_API_KEY,OPENCLAW_GATEWAY_TOKEN,OPENCLAW_WEBHOOK_TOKEN,SAKURA_AI_API_KEY
Environment=HOME=/home/openclaw
Environment=TMPDIR=/tmp
Environment=PATH=/usr/bin:/home/openclaw/.npm-global/bin:/home/openclaw/.local/share/pnpm:/home/openclaw/.local/bin:/home/openclaw/bin:/home/openclaw/.nix-profile/bin:/usr/local/bin:/bin:/home/linuxbrew/.linuxbrew/opt/node@24/bin
Environment=OPENCLAW_GATEWAY_PORT=18789
Environment=OPENCLAW_SYSTEMD_UNIT=openclaw-gateway.service
Environment="OPENCLAW_WINDOWS_TASK_NAME=OpenClaw Gateway"
Environment=OPENCLAW_SERVICE_MARKER=openclaw
Environment=OPENCLAW_SERVICE_KIND=gateway
Environment=OPENCLAW_SERVICE_VERSION=2026.5.28
[Install]
WantedBy=default.targetImpact and severity
No response
Additional information
No response
Reacted by clawsweeper
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crashclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Type
Fields
Priority
None yet
Activity
clawsweeper commentedon Jun 2, 2026
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded.
Close as duplicate/superseded: current main and the latest release still intentionally prefer supported system Node for managed services, while the remaining version-manager runtime policy is already tracked by the broader open runtime-pin issue and PR.
Canonical path: Track the remaining daemon runtime policy in #60612 and the explicit runtime-pin implementation in #82290, with this Linux/mise report linked as supporting evidence.
So I’m closing this here and keeping the remaining discussion on #60612 and #82290.
Review details
Best possible solution:
Track the remaining daemon runtime policy in #60612 and the explicit runtime-pin implementation in #82290, with this Linux/mise report linked as supporting evidence.
Do we have a high-confidence way to reproduce the issue?
Yes. Source inspection shows a mise/version-manager Node execPath plus a supported /usr/bin/node still leads the service resolver to select the system Node; I did not run a live Ubuntu plus mise install in this read-only cleanup review.
Is this the best way to solve the issue?
Yes for cleanup. The narrow default-change PR is closed unmerged, and the durable solution is already being handled as a broader maintainer policy/API decision around explicit daemon runtime pins.
Security review:
Security review: No patch security review applies to this issue triage.
AGENTS.md: found and applied where relevant.
What I checked:
src/daemon/runtime-paths.ts:225, 44bf1c6d728a)src/daemon/runtime-paths.test.ts:74, 44bf1c6d728a)docs/gateway/doctor.md. (docs/gateway/doctor.md:557, 44bf1c6d728a)src/daemon/runtime-paths.ts:225, 8c802aa68351)Likely related people:
src/daemon/runtime-paths.ts,src/daemon/service-audit.ts,src/commands/daemon-install-plan.shared.ts)src/daemon/runtime-paths.ts,src/daemon/runtime-paths.test.ts,src/daemon/service-env.ts)src/daemon/runtime-paths.ts,src/daemon/runtime-paths.test.ts,src/infra/stable-node-path.ts)src/daemon/runtime-paths.ts,src/daemon/runtime-paths.test.ts,docs/gateway/doctor.md)Codex review notes: model internal, reasoning high; reviewed against 44bf1c6d728a.