53 views +0 -0

Setup OpenClaw on TrueNAS

openclaw setup --wizard

docker exec -it ix-openclaw-openclaw-1 node /app/openclaw.mjs setup --wizard

Use the Gateway Token from the TrueNAS app settings:

docker exec -it ix-openclaw-openclaw-1 sh -c 'node /app/openclaw.mjs config set gateway.auth.token "$OPENCLAW_GATEWAY_TOKEN"'
docker exec -it ix-openclaw-openclaw-1 sh -c 'node /app/openclaw.mjs config set gateway.remote.url ws://127.0.0.1:30262'
docker exec -it ix-openclaw-openclaw-1 sh -c 'node /app/openclaw.mjs config set gateway.remote.token "$OPENCLAW_GATEWAY_TOKEN"'
docker exec -it ix-openclaw-openclaw-1 sh -c 'node /app/openclaw.mjs config set gateway.mode remote'
docker restart ix-openclaw-openclaw-1

On https://truenas:30262/overview paste Gateway Token and Connect.

docker exec -it ix-openclaw-openclaw-1 sh -c 'node /app/openclaw.mjs devices list'

docker exec -it ix-openclaw-openclaw-1 sh -c 'node /app/openclaw.mjs devices approve Paste-Request-Number-Here'

openclaw doctor --fix

docker exec -it ix-openclaw-openclaw-1 sh -c 'node /app/openclaw.mjs doctor --fix'