Upgrade from v9.3.2 to v9.3.3
9.3.x Upgrade Guide from 9.3.2 to 9.3.3
The guide describes upgrade from 9.3.2 to 9.3.3 version of WorkFusion SPA.
Prerequisites
- You have WorkFusion SPA 9.3.2 up and running.
- No Business Processes are running.
Download and extract patch
Connect to the APP server via SSH and run the following commands as runtime user (wf_user):
Change the directory, create the
patchesdirectory, and download the patch.If the Internet access is available on the server:
$ export INSTALL_DIR=/opt/workfusion $ cd $INSTALL_DIR $ mkdir patches $ cd patches/ $ curl -o 'patch_9.3.2-9.3.3.tar.gz' 'https://spa-releases.s3.amazonaws.com:443/9.3/9.3.3/patch_9.3.2-9.3.3.tar.gz?AWSAccessKeyId=AKIAIYJMMPKAN2MQSJWA&Expires=1603301014&Signature=XrpqMl8N4lprjlz7Y6efdOZy68w%3D'If the Internet access is not available on the APP server, download the patch to
patchesdirectory with any available method.Extract the patch:
$ tar xzf patch_9.3.2-9.3.3.tar.gzAfter the extraction, you'll see the
patch_9.3.2-9.3.3directory with two files inside:$ ls -la drwxrwxr-x. 2 wfuser wfuser 58 Oct 21 17:06 patch_9.3.2-9.3.3 -rw-rw-r--. 1 wfuser wfuser 247901699 Oct 21 17:06 patch_9.3.2-9.3.3.tar.gz $ ls -la patch_9.3.2-9.3.3/ -rwxrwxr-x. 1 wfuser wfuser 2496 Oct 21 17:06 patch_9.3.3.sh -rw-r--r--. 1 wfuser wfuser 248528730 Oct 21 14:57 workfusion-9.3.0.3.war
Apply patch 9.3.3
To apply the patch, go to the patch_9.3.2-9.3.3 directory and run the following command:
$ ./patch_9.3.3.sh apply
## You will see the similar output:
Mon Oct 21 17:37:56 UTC 2019 Updating to version: 9.3.3
Mon Oct 21 17:37:59 UTC 2019 Ensure Control Tower is stopped...
workfusion: stopped
Mon Oct 21 17:38:12 UTC 2019 Backup current Control Tower binaries...
mkdir: created directory ‘./backup’
Mon Oct 21 17:38:16 UTC 2019 Updating Control Tower binaries...
Mon Oct 21 17:38:20 UTC 2019 Cleanup Control Tower Tomcat context directory...
Mon Oct 21 17:38:23 UTC 2019 Ensure Control Tower is up and running...
workfusion: started
Mon Oct 21 17:38:28 UTC 2019 Patch complete. It might take Control Tower about 5 minutes for startup.
Roll back to 9.3.2
To roll back to a previous version, go to the patch_9.3.2-9.3.3 directory and run the command:
$ ./patch_9.3.3.sh rollback
## You will see the similar output:
Mon Oct 21 17:39:06 UTC 2019 Rollback to version: 9.3.2
Mon Oct 21 17:39:09 UTC 2019 Ensure Control Tower is stopped...
workfusion: stopped
Mon Oct 21 17:39:12 UTC 2019 Restore Control Tower binaries from backup...
Mon Oct 21 17:39:13 UTC 2019 Cleanup Control Tower Tomcat context directory...
Mon Oct 21 17:39:17 UTC 2019 Ensure Control Tower is up and running...