I discovered problem with upgrade to version 5.1.1. I finished some tests and I found that if in the EPO server is installed extension (MEG_____7620 - 188.8.131.523) then problem appears. Problem will show error:
FAILURE: In XCopyFile to copy files with return code [-2147024893]. The system cannot find the path specified. Source = [C:\Program Files (x86)\McAfee\Backup of ePolicy Orchestrator\server\extensions\*.*] Target = [C:\Program Files (x86)\McAfee\ePolicy Orchestrator\server\extensions] CustomAction: MerMod_MigratePreviousFolder 1.
Thanks for sharing this. We ran in to the same issue trying to go from 4.6.9 to 5.1.2.