Description
[Description]
[tag v0.0.3]
nemoclaw deploy fails on existing Brev instance — hardcoded /home/ubuntu path not valid for all cloud providers
[Environment]
Item | Version / detail
Device | macOS 26.1 (Apple M4, arm64) → Brev L40S (shadecloud)
NemoClaw | v0.0.3 (git tag)
Brev VM | nemoclaw-v002-0401 (massedcompute_L40S, user: shadeform)
[Steps to Reproduce]
- Have an existing Brev instance with non-ubuntu user (e.g., shadecloud provider uses
shadeform)
- Run: nemoclaw deploy nemoclaw-v002-0401
- Observe error
[Expected Result]
NemoClaw synced and deployed to existing Brev instance
[Actual Result]
$ nemoclaw deploy nemoclaw-v002-0401
Deploying NemoClaw to Brev instance: nemoclaw-v002-0401
Brev instance 'nemoclaw-v002-0401' already exists.
Waiting for SSH ✓
Syncing NemoClaw to VM...
mkdir: cannot create directory '/home/ubuntu': Permission denied
Command failed (exit 1): ssh ... 'mkdir -p /home/ubuntu/nemoclaw'
[Root Cause]
nemoclaw.js lines 721-744 hardcode `/home/ubuntu/nemoclaw` as the target directory:
run(`ssh ... ${qname} 'mkdir -p /home/ubuntu/nemoclaw'`);
run(`rsync ... ${qname}:/home/ubuntu/nemoclaw/`);
run(`scp ... ${qname}:/home/ubuntu/nemoclaw/.env`);
Different Brev cloud providers use different usernames:
- shadecloud: shadeform
- AWS: ubuntu
- GCP: varies
Bug Details
| Field |
Value |
| Priority |
Unprioritized |
| Action |
Dev - Open - To fix |
| Disposition |
Open issue |
| Module |
Machine Learning - NemoClaw |
| Keyword |
NemoClaw, NEMOCLAW_GH_SYNC_APPROVAL |
[NVB# 6042137]
[NVB#6042137]
Description
[Description]
[tag v0.0.3]
nemoclaw deployfails on existing Brev instance — hardcoded/home/ubuntupath not valid for all cloud providers[Environment]
Item | Version / detail
Device | macOS 26.1 (Apple M4, arm64) → Brev L40S (shadecloud)
NemoClaw | v0.0.3 (git tag)
Brev VM | nemoclaw-v002-0401 (massedcompute_L40S, user: shadeform)
[Steps to Reproduce]
shadeform)[Expected Result]
NemoClaw synced and deployed to existing Brev instance
[Actual Result]
[Root Cause]
nemoclaw.js lines 721-744 hardcode `/home/ubuntu/nemoclaw` as the target directory: run(`ssh ... ${qname} 'mkdir -p /home/ubuntu/nemoclaw'`); run(`rsync ... ${qname}:/home/ubuntu/nemoclaw/`); run(`scp ... ${qname}:/home/ubuntu/nemoclaw/.env`);Different Brev cloud providers use different usernames:
Bug Details
[NVB# 6042137]
[NVB#6042137]