Skip to content

[NemoClaw][all platform] [GitHub Issue #1309]nemoclaw status and nemoclaw stop do not pass SANDBOX_NAME to start-services.sh #1375

@zNeill

Description

@zNeill

Description

Description

nemoclaw start passes SANDBOX_NAME= to start-services.sh, which writes PID files under /tmp/nemoclaw-services-/. However, nemoclaw status and nemoclaw stop call the same script without SANDBOX_NAME, so the script falls back to default and looks in /tmp/nemoclaw-services-default/ — a different directory. As a result:

  • nemoclaw status always shows services as stopped, even when they are running.
  • nemoclaw stop cannot find or kill the running processes.

Environment

Item Version / detail
Device macos
Node.js (e.g. v20.x / v22.x — fill as on device)
OpenShell CLI 0.0.19 (or your version)
NemoClaw v0.0.3
OpenClaw 2026.3.11 (if relevant)

Steps to reproduce

  1. nemoclaw onboard — create a sandbox with any non-default name (e.g. test-slack1).
  2. export TELEGRAM_BOT_TOKEN=... && export NVIDIA_API_KEY=...
  3. nemoclaw start — output shows telegram-bridge started (PID …).
  4. nemoclaw status — output shows telegram-bridge (stopped).

Root cause

bin/nemoclaw.js:

  • start() (line ~780): reads registry.listSandboxes().defaultSandbox, passes SANDBOX_NAME=.
  • stop() (line ~788): runs bash start-services.sh --stop with no SANDBOX_NAME.
  • showStatus() (line ~863): runs bash start-services.sh --status with no SANDBOX_NAME.

Expected behavior

start, stop, and status should all resolve and pass the same SANDBOX_NAME so PID file paths are consistent.

Suggested fix

Extract a shared helper (e.g. servicesSandboxEnvPrefix()) that reads defaultSandbox from the registry once, and use it in all three call sites (start, stop, showStatus).


[NVB# 6041564]

[NVB#6041564]

Metadata

Metadata

Assignees

No one assigned

    Labels

    NV QABugs found by the NVIDIA QA TeamNemoClaw CLIUse this label to identify issues with the NemoClaw command-line interface (CLI).Platform: MacOSSupport for MacOSbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions