You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"normal" agent install via powershell or exe baked in does not show the error - but running the command manually on administrative command prompt shows:
"C:\Program Files\TacticalAgent\tacticalrmm.exe" -m install --api "https://api.NOTREALDOMAIN.co.uk" --client-id 1 --site-id 2 --agent-type "server" --auth "50d8818cd794NOTREALAUTHd27fde5f"
Downloading salt minion
Found existing Mesh Agent. Removing...
Installing mesh agent
Adding agent to dashboard
Found existing salt-minion. Removing
Stopping salt-minion service
Uninstalling existing salt-minion
Salt was removed
Installing the salt-minion, this might take a while...
2020-09-29 10:35:27,303 - installer - install - 297 - ERROR - Command '['salt-minion-setup.exe', '/S', '/custom-config=saltcustom', '/master=api.NOTREALDOMAIN.co.uk', '/minion-name=SLOWSERVER-2019-8', '/start-minion=1']' timed out after 300.0 seconds
Yes - this server is a bit slow (<20mb/sec disks with other tasks to do too) but is there a way to adjust the timeout?
It looks like it's using a packaged version of python so is doing a lot of file reading and 300 seconds is not long enough. Possibly a flag for "allow X seconds for installer" we could edit in the ps1 script? I don't know what's cutting the install process off at the 300 second mark so I don't know how to adjust this timeout.
The text was updated successfully, but these errors were encountered:
😂 wow, I got some pretty slow machines too but it's never taken more than 2 minutes. I'll release a new agent shortly with a higher default timeout and an optional flag to specify a custom timeout.
I think it's a combination of conventional hard disks and other VMs meaning high io latency - the salt-minion seems to involve a lot of small files and that's disproportionately slow on busy conventional arrays.
That sounds like an excellent fix, thank you.
wh1te909
added a commit
to wh1te909/winagent
that referenced
this issue
Sep 30, 2020
new agent v0.11.2 is out, changed default timeout to 900 seconds and you can also pass --timeout 5000 or whatever number to the installer to override. Can pass it as well to the baked EXE, not just the manual command. Update RMM first using update.sh script if want to use the baked exe.
"normal" agent install via powershell or exe baked in does not show the error - but running the command manually on administrative command prompt shows:
"C:\Program Files\TacticalAgent\tacticalrmm.exe" -m install --api "https://api.NOTREALDOMAIN.co.uk" --client-id 1 --site-id 2 --agent-type "server" --auth "50d8818cd794NOTREALAUTHd27fde5f"
Downloading salt minion
Found existing Mesh Agent. Removing...
Installing mesh agent
Adding agent to dashboard
Found existing salt-minion. Removing
Stopping salt-minion service
Uninstalling existing salt-minion
Salt was removed
Installing the salt-minion, this might take a while...
2020-09-29 10:35:27,303 - installer - install - 297 - ERROR - Command '['salt-minion-setup.exe', '/S', '/custom-config=saltcustom', '/master=api.NOTREALDOMAIN.co.uk', '/minion-name=SLOWSERVER-2019-8', '/start-minion=1']' timed out after 300.0 seconds
Yes - this server is a bit slow (<20mb/sec disks with other tasks to do too) but is there a way to adjust the timeout?
It looks like it's using a packaged version of python so is doing a lot of file reading and 300 seconds is not long enough. Possibly a flag for "allow X seconds for installer" we could edit in the ps1 script? I don't know what's cutting the install process off at the 300 second mark so I don't know how to adjust this timeout.
The text was updated successfully, but these errors were encountered: