Damus
redshift · 1w
yes, it does. The agent itself has an LNVPS script inside it. It can topup itself.
Jack⚡️ profile picture
I'm having this issue now:

ubuntu@VM981:~$ ./routstr-setup.sh
=== LNVPS VPS Deployment Script ===

Detected OS: linux

Found existing nostr.config.json file...
Using private key from nostr.config.json
Authenticated as: @npub1jhj9f...

Checking for existing VMs...

=== Existing VMs ===

[1] VM 982 | running | 185.18.221.57/26 | 27 days
[2] VM 986 | stopped | pending | 0 days

[3] Create a new VM

Enter your choice [1-3] (enter = default 1): 1
Fetching details for VM 982...
Selected VM 982
VM is already running.

To configure this VM, we need the local SSH private key.

Fetching your SSH keys from LNVPS...

=== SSH Key Selection ===

Already uploaded to LNVPS:
[1] id_rsa (ID: 722)

Local SSH keys (~/.ssh/):
[2] id_rsa (rsa) - id_rsa@lnvps

Enter your choice [1-2] (enter = default 1): 1
Using existing SSH key ID: 722
Found local key: /home/ubuntu/.ssh/id_rsa
Using private key: /home/ubuntu/.ssh/id_rsa

Fetching existing VM details...

========================================
VM READY!
========================================
VM ID: 982
IP Address: 185.18.221.57
Username: debian

Command to SSH into VPS:
ssh -i /home/ubuntu/.ssh/id_rsa [email protected]

VM info saved to: ./vm-info.txt

Checking VM state...
VM state: running

Installing OpenClaw on VPS, this will take a solid 5 mins...
Applying network fix...
Done. Verify:
resolvectl query github.com
curl -I https://raw.githubusercontent.com
curl -fsSL https://opencode.ai/install | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22017 100 22017 0 0 143k 0 --:--:-- --:--:-- --:--:-- 144k
Detected OS: linux

installing nak (linux-amd64) to /home/debian/.local/bin...
installed nak v0.18.3 to /home/debian/.local/bin/nak
note: add /home/debian/.local/bin to your PATH
Running OpenClaw install script...

🦞 OpenClaw Installer
We ship features faster than Apple ships calculator updates.

✓ Detected: linux
✓ Node.js v22.22.0 found
✓ Git already installed
→ Installing OpenClaw 2026.2.6-3...
main: line 141: 24663 Killed SHARP_IGNORE_GLOBAL_LIBVIPS="$SHARP_IGNORE_GLOBAL_LIBVIPS" npm --loglevel "$NPM_LOGLEVEL" ${NPM_SILENT_FLAG:+$NPM_SILENT_FLAG} --no-fund --no-audit install -g "$spec" 2>&1
24664 Done | tee "$log"
→ npm install failed; cleaning up and retrying...
main: line 141: 24743 Killed SHARP_IGNORE_GLOBAL_LIBVIPS="$SHARP_IGNORE_GLOBAL_LIBVIPS" npm --loglevel "$NPM_LOGLEVEL" ${NPM_SILENT_FLAG:+$NPM_SILENT_FLAG} --no-fund --no-audit install -g "$spec" 2>&1
24744 Done | tee "$log"

Error: Failed to configure Routstr on VPS.

This is usually caused by SSH connection timeout while the VPS is still booting.
Please wait a minute and run this script again - it will detect your existing VPS.
redshift · 1w
Hmm. Are you running this script again to topup? Or is this a fresh install?