Upgrade from v9.2.2 to v9.2.3
The guide describes the steps to upgrade SPA from v9.2.2 to v9.2.3.
Prerequisites
- You have WorkFusion SPA 9.2.2 installed.
- All actions for upgrade form 9.2.2 to 9.2.3 must be performed as <WF_USER>. The Root user is not required.
Upgrade procedure
Upgrade APP server
Adjust the INSTALL_DIR variable according to your environment and run as <WF_USER> on APP server.
To upgrade the APP server:
On the APP server, stop the workfusion service:
$ export INSTALL_DIR=/opt/workfusion ## the value of "install_dir" setting from config.yml used in 9.2.2 installation $ wfmanager stop workfusionCreate a backup directory and copy the Control Tower application to it:
$ mkdir $INSTALL_DIR/backup $ cp $INSTALL_DIR/workfusion/webapps/workfusion.war $INSTALL_DIR/backup/workfusion.warRemove the previous version of the application from the
INSTALL_DIRdirectory:$ rm -rf $INSTALL_DIR/workfusion/webapps/workfusion.warDownload the updated application to the
INSTALL_DIRdirectory:$ curl -o $INSTALL_DIR/workfusion/webapps/workfusion.war 'https://spa-releases-private.s3.amazonaws.com:443/9.2/9.2.3/workfusion-9.2.0.8.war?AWSAccessKeyId=AKIAJHTOQY76PX3MIXPQ&Expires=1596121915&Signature=7v%2FXBvleYpI9AQy8HrZnkeWyHEc%3D'
Upgrade DB server
Adjust the INSTALL_DIR variable according to your environment and run as <WF_USER> on DB server.
To upgrade the DB server:
On the DB server, create a backup directory and copy the Nexus artifacts to it:
$ export INSTALL_DIR=/opt/workfusion ## the value of "install_dir" setting from config.yml used in 9.2.2 installation $ mkdir $INSTALL_DIR/backup $ mv $INSTALL_DIR/nexus/sonatype-work/nexus/storage/wf-archetypes-releases $INSTALL_DIR/backup/wf-archetypes-releases $ mv $INSTALL_DIR/nexus/sonatype-work/nexus/storage/local-mcb-repo $INSTALL_DIR/backup/local-mcb-repoDownload the updated Nexus artefacts:
$ wget -O /tmp/wf-archetypes-releases-9.2.0.8.zip 'https://workfusion-installer.s3.amazonaws.com:443/blobs/artifacts/wf-archetypes-releases/wf-archetypes-releases-9.2.0.8.zip?AWSAccessKeyId=AKIAJHTOQY76PX3MIXPQ&Expires=1596121987&Signature=XiAKo9pbHPCeIFuwOYayAo0j8Ns%3D' $ wget -O /tmp/mcb-deps-9.2.0.8.zip 'https://workfusion-installer.s3.amazonaws.com:443/blobs/artifacts/mcb-deps/mcb-deps-9.2.0.8.zip?AWSAccessKeyId=AKIAJHTOQY76PX3MIXPQ&Expires=1596122033&Signature=uKtFZDW10NtrxzkKgIGY%2BZ7K6WU%3D'Unzip the downloaded artifacts to the
INSTALL_DIRdirectory:$ unzip /tmp/wf-archetypes-releases-9.2.0.8.zip -d $INSTALL_DIR/nexus/sonatype-work/nexus/storage/ $ unzip /tmp/mcb-deps-9.2.0.8.zip -d $INSTALL_DIR/nexus/sonatype-work/nexus/storage/
Start workfusion service on APP server
On the APP server, run the following command as <WF_USER>.
$ wfmanager start workfusion
Post-upgrade steps
You can check a business process on the APP server as <WF_USER>:
$ cd /tmp/workfusion-full-package-9.2.2.0-x/
$ ./install.sh check_raw app -e @/tmp/config_overrides.yml -e test_rpa=true -e test_ocr=true -e test_ml=true