Hi
Please remove and restore a fresh backup of the project, remove/restore the project in ALM, then set the SA logs in debug mode, and re-run the verify , repair and upgrade. when the error appears, get the time shown in the upgrade console, and review the SA logs at the same time to find the error.
When an upgrade failes, the project become corrupted, and a fresh backup of the database needs to be resotred. Please pay attention to the upgrade info . The Maiteinance information is in <ALM repository>\Sa\ManteinanceData\out\{Domain}\{Project name}\.
Cordially