PSM Upgrade via Connector Management fails with Timeout
Symptom
When attempting to upgrade the PSM via Connector Management the installations failed after approximately 30 minutes with a Timeout message:
The PSMInstall.log ends as follows:
28/01/2026, 18:47:15 Found existing service CyberArk Privileged Session Manager
28/01/2026, 18:47:15 Setup has detected an active service on your computer
28/01/2026, 18:47:15 Stopping service CyberArk Privileged Session Manager
28/01/2026, 18:47:21 Start archiving logs...
In the Management Agent 'client_log.txt you may see an entry similar to the below approximately 30 minutes after the above:
{"level":"info","time":"2026-01-28T19:15:12.169+1100","logger":"client-engine.tasks-manager","msg":"timeout reached – aborting handler","appName":"management-agent","ConnectorId":"ManagementAgent_0ba4f42f-ce71-4b68-8bea-e6817440a2ad","taskId":"upgrade-0a788b96-5a58-4786-8506-db6318e9a5bb"}
Also in the 'operation_handler_upgrade_<upgradeid_no>.log' you will see a notable time gap between consecutive entries in the log:
{"level":"info","time":"2026-01-28T18:46:24.485+1100","logger":"operation-task-handler","msg":"executing command","TaskId":"upgrade-0a788b96-5a58-4786-8506-db6318e9a5bb","CorrelationId":"2d90797e-5feb-4a82-9e15-aa649f2c3e90","workspace dir":"E:\\Program Files (x86)\\CyberArk\\Management Agent\\workspace\\psm-upgrade-0a788b96-5a58-4786-8506-db6318e9a5bb","command":".\\pCloudInstallation\\ManifestInstallationTool\\ManifestInstallationTool.exe","args":["/includestages","installation","/Company","c60ca25f-2e4b-4a05-b330-45871011cb7a","/avoidrestarts","yes","/domainuserpassword","ENC_7vi7WXooDy1sCJcbtwEvMPfCUiN/znt5tcqP4ntY9UI=","/domainuser","","/domain",""]}
{"level":"info","time":"2026-01-28T19:15:12.169+1100","logger":"operation-task-handler","msg":"handling abort request","TaskId":"upgrade-0a788b96-5a58-4786-8506-db6318e9a5bb","CorrelationId":"2d90797e-5feb-4a82-9e15-aa649f2c3e90","type":"E_TASK_004"}
Environment
12.6;14.0;14.2;14.6;15.0 Privilege Cloud Privilege Cloud PSM Privilege Cloud PSM Install/Upgrade via CM
Cause
There are a large number of logs within the PSM\Logs folder, typically PSM\Logs\Components folder.
Resolution
Move older logs, for example, older than 1-7 days, to a location outside of the PSM installation folder, i.e. 'C:\OldPMSlogs' and restart the PSM service or preferably reboot the PSM server.