Centralized Agent Upgrade Fails
-
I have followed the instructions here:
https://www.netxms.org/documentation/adminguide/upgrade.html?highlight=upgrade agent#centralized-agent-upgrade, but when I try and deploy the agent, none of them work, and I get the message "Agent's version doesn't match package version after upgrade"
I am running NetXMS Server 3.9.298, and am trying to install the agent 3.9.334 and will upgrade the server soon afterwards.
I have never tried this before.Looking at the agent logs, it seems to be receiving the file in chunks, which are then merged back into the original .exe.
I see this in the log also:2021.10.29 11:33:38.769 *D* [procexec ] ProcessExecutor::execute(): process "CMD.EXE /C "C:\NetXMS\var\nxagent-3.9.334-x64.exe" /VERYSILENT /SUPPRESSMSGBOXES /LOG /FORCECLOSEAPPLICATIONS /NORESTART" startedwhich I guess is good news, but I can't see anything obvious after this.
All agents I am trying to upgrade are on the same LAN, so I doubt it's a network problem.
I ran the above command manually on one of the failing servers, and it worked. -
There was a bug recently that upgrade command was actually not executed.
The upgrade however is uploaded.
You can create agent action that executes CMD.EXE /C "C:\NetXMS\var\nxagent-3.9.334-x64.exe" /VERYSILENT /SUPPRESSMSGBOXES /LOG /FORCECLOSEAPPLICATIONS /NORESTART
and it should do the job.
You can create agent configuration policy in a template and apply this template to your nodes - this way you can distribute this action to your agents. -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login