Upgrade
Upgrade
Preparation
Before starting system upgrade perform backup of all required data.
Temporary disable any schedulers and wait all processes to complete. Or stop running processes manually.
Administrator account
The update procedure uses the default installation user account (admin user) to perform the tasks, so make sure that the user is active and its secret token is actual in the following files:
- .env - CS_ADMIN_TOKEN
- install.properties - PASSWORD_ADMIN_TOKEN
To check the admin token login as admin user and click on User→API Secret
Download EasyRPA migration package
You should download two files: <name of self-extracting archive>.sh and <name of self-extracting archive>.sh.sha256 from distribution server. Copy these files into EasyRPA installation directory on the EasyRPA server and run <name of self-extracting archive>.sh.
Please contact to your IBAGroup contact person to obtain distribution server name. Use the provided address for the scripts below:
Download installation package
$ curl http://<distribution server address>/releases/easyrpa-migrate[-ml]-<version>.sh --output easyrpa-migrate[-ml]-<version>.sh && \ curl http://<distribution server address>/releases/easyrpa-migrate[-ml]-<version>.sh.sha256 --output easyrpa-migrate[-ml]-<version>.sh.sha256
Upgrade
Start upgrade script on the EasyRpa server. You should start script from installation folder or specify it using parameter '--install-dir'. Upgrade script will perform following operations:
- Upload new platform artifacts into nexus. Old platform artifacts are still there so you don't need to re-build existing automation processes.
- Upload new node package into server. So you'll need to re-create nodes after upgrade.
- Update internal database structure.
- Do additional required migrations.
$ bash -f ./easyrpa-migrate[-ml]-<version>.sh
This file will be extracted into /tmp/easyrpa-install-XXX folder and after it will automatically start setup of all necessary components.
easyrpa-migrate-withimages.sh: OK Extracting into /tmp/easyrpa-install-2Qlivp7McV
Post-upgrade
- Be sure platform is up and running by accessing web interface. Notice that platform version was updated.
- Be sure all processes and data are there.
- Re-create nodes with new package as per installation documentation.