NemoClaw icon indicating copy to clipboard operation
NemoClaw copied to clipboard

Win11 + WSL2 + Docker Desktop onboarding fails

Open vizo-git opened this issue 6 months ago • 1 comments

Description

Default onboarding fails upon 2. step

Reproduction Steps

./install.sh --fresh or nemoclaw onboard --fresh

Environment

Windows 11 + WSL2(Ubuntu 26.04 LTS) Nemoclaw v0.0.56 Docker Desktop + WSL2 integration

Debug Output

NemoClaw Onboarding
  ===================

  [1/8] Preflight checks
  ──────────────────────────────────────────────────
  ✓ Docker is running
  ✓ Docker can start bridge containers
  ✓ Container DNS resolution works
  ✓ Container runtime: docker-desktop
  ⓘ Running under WSL
  ✓ Container runtime resources: 20 vCPU / 14.6 GiB
  ✓ openshell CLI: openshell 0.0.44
  ⚠ Gateway will be recreated when sandbox creation starts — this will affect running sandboxes.
  ✓ Port 8080 available (OpenShell gateway)
  ✓ NVIDIA GPU detected (NVIDIA GeForce RTX 3070 Ti, 8192 MB)
  Docker Desktop WSL detected; using Docker --gpus compatibility path instead of CDI spec validation.
  ✓ Sandbox GPU: enabled (auto)
  ✓ Memory OK: 14983 MB RAM + 4096 MB swap
  NVIDIA GPU detected; enabling OpenShell GPU passthrough. Use --no-gpu to opt out.
  Replacing legacy OpenShell gateway metadata with Docker-driver gateway.
! No active forward found for port 18789

  [2/8] Starting OpenShell gateway
  ──────────────────────────────────────────────────
  Starting OpenShell Docker-driver gateway...
  Gateway log: /home/xxxx/.local/state/nemoclaw/openshell-docker-gateway/openshell-gateway.log
  Docker-driver gateway failed to start.
  Gateway process exited with code 1 before becoming ready.
  Gateway log tail:
    2026-05-27T01:21:50.929917Z  WARN openshell_server::cli: TLS disabled — listening on plaintext HTTP
    2026-05-27T01:21:50.929958Z  WARN openshell_server::cli: Neither mTLS (--tls-client-ca) nor OIDC (--oidc-issuer) is configured — the gateway has no authentication mechanism
    2026-05-27T01:21:50.929961Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
    2026-05-27T01:21:50.933921Z  INFO openshell_server: Using compute driver driver=docker
    2026-05-27T01:21:50.965815Z  INFO openshell_server::provider_refresh: provider credential refresh worker started interval_seconds=60
    2026-05-27T01:21:50.965871Z  INFO openshell_server: Server listening address=0.0.0.0:8080
    2026-05-27T01:21:50.965877Z  INFO openshell_server: Health server disabled
    2026-05-27T01:21:50.965879Z  INFO openshell_server: Metrics server disabled
    2026-05-27T01:21:50.965880Z  INFO openshell_server: TLS disabled — accepting plaintext connections
    2026-05-27T01:21:50.967535Z  INFO openshell_server::provider_refresh: provider credential refresh worker sweep watched_count=0 due_count=0 rotation_requested_count=0
    2026-06-01T22:39:54.089594Z  WARN openshell_server::cli: TLS disabled — listening on plaintext HTTP
    2026-06-01T22:39:54.089998Z  WARN openshell_server::cli: Neither mTLS (--tls-client-ca) nor OIDC (--oidc-issuer) is configured — the gateway has no authentication mechanism
    2026-06-01T22:39:54.090006Z  INFO openshell_server::cli: Starting OpenShell server bind=127.0.0.1:8080
    Error:   × execution error: database error: error returned from database: (code: 14)
      │ unable to open database file
    2026-06-01T22:45:04.810937Z  WARN openshell_server::cli: TLS disabled — listening on plaintext HTTP
    2026-06-01T22:45:04.810961Z  WARN openshell_server::cli: Neither mTLS (--tls-client-ca) nor OIDC (--oidc-issuer) is configured — the gateway has no authentication mechanism
    2026-06-01T22:45:04.810964Z  INFO openshell_server::cli: Starting OpenShell server bind=127.0.0.1:8080
    Error:   × execution error: database error: error returned from database: (code: 14)
      │ unable to open database file
  Troubleshooting:
    tail -100 /home/xxxx/.local/state/nemoclaw/openshell-docker-gateway/openshell-gateway.log
    docker info --format '{{json .CDISpecDirs}}'

Logs

Logs are the same like in debug output

Checklist

  • [x] I confirmed this bug is reproducible
  • [x] I searched existing issues and this is not a duplicate

vizo-git avatar Jun 01 '26 22:06 vizo-git

Closing.

Solved by: rm -rf ~/.local/state/nemoclaw/openshell-docker-gateway

vizo-git avatar Jun 01 '26 22:06 vizo-git