Open SquirrelDeveloper opened 4 months ago
Added in doc
Has this been implemented?
I installed the agent on a few hosts connected by Tailscale network, which worked fine, but then it defaulted to local ip instead of Tailscale IP and now can't manage the host. I assume resinstalling the agent works but to what extent until I have to do the same again.
Hi @chrisbehectik . It has been implemented on the agent , you can see here https://squirrelserversmanager.io/docs/technical-guide/troubleshoot#the-device-s-ip-has-automatically-changed-to-its-lan-ip-the-ip-changed-to-vlan-s-one how to do it. It will be possible to do it from the UI directly in a future release
Thanks @SquirrelDeveloper, got it working after following your instructions! Is there a way to restart the agent manually? I rebooted which worked but only after running 'restart.sh' didn't work. I got the following error:
internet-lab-01:/opt/squirrelserversmanager $ sudo ./restart.sh
########################################
#### SQUIRREL SERVERS MANAGER AGENT ####
########################################
##### Clean PM2
./restart.sh: line 14: pm2: command not found
./restart.sh: line 15: pm2: command not found
##### Start agent...
./restart.sh: line 18: pm2: command not found
##### PM2 startup...
./restart.sh: line 20: pm2: command not found
##### PM2 save...
./restart.sh: line 22: pm2: command not found
./restart.sh: line 23: pm2: command not found`
@chrisbehectik Thanks for the update, Do you have the same result from the UI in inventory , bottom facing arrow, restart agent
?
Trigger when installing / reinstalling agent to force device IP on agent