Orchestrator upgrade failed from 2022.4.x version to 2023.4 version.
Error Reproduction Steps:
- Use the parameter to generate log file while running the installer for upgrade
- - /l*vx.
Example:
UiPathOrchestrator.msi PARAMETERS_FILE=install.json SECONDARY_NODE=1 /l*vx log.txt /passive
Error:
Closing MSIHANDLE (17) of type 790531 for thread 10936
- Review the following Orchestrator Standalone Installation Guide - Before you upgrade : Prerequisites before selecting "OK":
- Job executions in classic folders are blocked
- Pre-upgrade database maintenance
- If required to abort the process, select "Cancel".
MSI (s) (34:2C) [22:12:07:623]: Closing MSIHANDLE (11) of type 790542 for thread 3264
CustomAction CheckOrchestratorPrerequisitesQuiet returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 22:12:07: CheckOrchestratorPrerequisitesQuiet. Return value 3.
Action ended 22:12:07: INSTALL. Return value 3.
Root Cause: Whenever upgrade from any version that supports classic folder executions, to the 2023.4 version which does not support it, generally on the first node it gives a pop up to accept the same.
In case this pop up does not come up or in case the upgrade is getting stuck with this error (-Job executions in classic folders are blocked) on the second node, then this parameter needs to be passed, which works as acceptance of no execution of classic processes.
Resolution:
When upgrading from the command line, add the following parameter to confirm that all restrictions around classic folders are known:
- For standalone Orchestrator: add CONFIRM_BLOCK_CLASSIC_EXECUTIONS and set it to 1
CONFIRM_BLOCK_CLASSIC_EXECUTIONS=1
Ex: UiPathOrchestrator.msi SECONDARY_NODE=1 PARAMETERS_FILE=install.json CONFIRM_BLOCK_CLASSIC_EXECUTIONS=1 /Q