Agent upgrade fails

Started by Egert143, February 27, 2020, 09:20:25 AM

Previous topic - Next topic

Egert143

Hello

Where could i find information about failed package deployment. When new version came out, most of the agents upgraded fine, but 5 did not. I get error "File transfer failed" or "Unable to start upgrade process"

Egert

Victor Kirhenshtein

Hi,

you can check log file on those agents - it may have indication on why incoming file transfer failed.

Best regards,
Victor

Egert143

#2
It seems that "nxagent-3.2.350-x64.exe" is uploaded to "var" but after that error "File transfer failed" is received.

Level 6 debug:
2020.02.28 08:23:55.327 *D* [comm.cs.2          ] Requesting parameter "System.PlatformName"
2020.02.28 08:23:55.327 *D* [comm.cs.2          ] Sending message CMD_REQUEST_COMPLETED (ID 3; size 56; uncompressed)
2020.02.28 08:23:55.329 *D* [comm.cs.2          ] Received message CMD_TRANSFER_FILE (4)
2020.02.28 08:23:55.329 *D* [comm.cs.2          ] CommSession::recvFile(): Preparing for receiving file "nxagent-3.2.350-x64.exe"
2020.02.28 08:23:55.329 *D* [comm.cs.2          ] CommSession::recvFile(): Writing to local file "C:\NetXMS\var\nxagent-3.2.350-x64.exe"
2020.02.28 08:23:55.332 *D* [comm.cs.2          ] Sending message CMD_REQUEST_COMPLETED (ID 4; size 32; uncompressed)
2020.02.28 08:23:55.339 *D* [comm.cs.2          ] Received raw message CMD_FILE_DATA
  [Repeats alot]
2020.02.28 08:23:55.341 *D* [comm.cs.2          ] Received raw message CMD_FILE_DATA
2020.02.28 08:24:01.203 *D* [comm.cs.2          ] Sending message CMD_REQUEST_COMPLETED (ID 4; size 32; uncompressed)
2020.02.28 08:24:01.203 *D* [comm.cs.2          ] Communication channel closed by peer
2020.02.28 08:24:01.204 *D* [comm.cs.2          ] Session with [NetXmsIP] closed
2020.02.28 08:24:01.204 *D* [comm.cs.2          ] Session unregistered
2020.02.28 08:24:01.204 *D* [comm.cs.2          ] Receiver thread stopped


i have lvl 9 debug also but thats litle big for posting :)


Victor Kirhenshtein

Can you check actual file presence there and compare MD5 hashes for original and transferred files?

Best regards,
Victor

Egert143

File is present and md5 hash is same.