Make sure that there is enough disk space on the node.
Download the full offline bundle (sf.tar.gz) on the chosen server.
Download and unzip the new installer (installer.zip) on the primary server.
Note: Give proper permissions to the folder by running sudo chmod 755 -R <installer-folder>.
Make the original cluster_config.json file available on the server.
Generate the new cluster_config.json file as follows:
If you have the old cluster_config.json , use the following command to generate the configuration file from the cluster.
cd /path/to/new-installer ./configureUiPathAS.sh config get -i /path/to/old/cluster_config.json -o /path/to/store/generated/cluster_config.jsoncd /path/to/new-installer ./configureUiPathAS.sh config get -i /path/to/old/cluster_config.json -o /path/to/store/generated/cluster_config.json
If you do not have the old configuration file, run the following command:
cd /path/to/new-installer ./configureUiPathAS.sh config get -o /path/to/store/generated/cluster_config.jsoncd /path/to/new-installer ./configureUiPathAS.sh config get -o /path/to/store/generated/cluster_config.json
Note: This command disables the maintenance mode that you enabled before the upgrade because all services are required to be up
during the upgrade. Note that this command also creates a backup of the cluster state and pauses all other scheduled backups.
After the successful upgrade and verification, resume the backup scheduling on the node by running the following command:
Verify that the etcd backup data is present on the primary server at the following location: /mnt/backup/backup/<etcdBackupPath>/<node-name>/snapshots.
etcdBackupPath - this is the same as the one specified in backup.json while enabling the backup's node-name;
node-name - the hostname of the primary server VM.
Cluster Cleanup
Copy and run the dedicated script to uninstall everything from that node. For details, see Troubleshooting.
Restore all UiPath databases to the older backup created before the upgrade.
Note: The previous infra restore commands were executed using the old installer, and the following commands are executed using
the new installer bundle.
Disable the maintenance mode on the cluster by running the following command: