Upgrade from 10.2.7 to 10.2.7.1
The guide describes upgrading to the 10.2.7.1 version of WorkFusion Intelligent Automation Cloud Enterprise. Note that you need to upgrade the Analytics components only.
Upgrade Analytics server
Before upgrading the Analytics components, connect to the Analytics (BI) server via RDP as a Windows Administrator user and save all your custom workbooks and data sources to a predefined location on a local disk.
Back up site configuration
important
Download custom workbooks and datasources to separate directories, for example, c:\10_2_7_backup\workbooks\ and c:\patch_10_2_7_backup\datasources\.
Don't save backup files in the Analytics server installation directory, for example, c:\workfusion\, as it gets deleted during the upgrade.
To download the custom workbooks from the Analytics server interface:
Go to a particular site. On the Content tab, click Workbooks. Look for the
_custompostfix in their names to identify custom workbooks.In the right corner of the Name column, click More (...), click Download, and save the file as a Tableau workbook.


To download the custom data sources from the Analytics server interface:
Go to a particular site. On the Content tab, click Datasources.
In the right corner of the Name column, click More (...), click Download, and save the file as a Tableau datasource.


Remember to rename the custom dashboards by replacing all occurrences of the underscore character ("_") with the plus symbol ("+") in the titles, except for the first and last two underscores.
Follow the instructions in the Backup and restore custom Analytics dashboards section to restore custom dashboards.
Upgrade Analytics
To upgrade the Analytics Server:
On the Master server, run the following command:
$ cd /opt/workfusion/wf_installer_new
$ ./install.sh uninstall biRestart the Analytics server to apply changes.
On the Master server, run the following command:
$ ./install.sh preinstall bi
$ ./install.sh install bi
$ ./install.sh check bi
On the Analytics server, launch the New PowerShell ISE.
Launch PowerShell ISE as Administrator and copy the following script and execute it in PowerShell on the relevant Analytics server:
# UNINSTALL TABLEAU SERVER
# FILL IN THE PARAMETERS BELOW
$install_dir = "c:\workfusion" # The value of "install_dir" you've set in config.yml during Linux servers installation.
$env:win_user="username" # The value of "bi_user" you've set in config.yml during Linux servers installation.
$env:win_pass='"password"' # Leave single and double quotes in place. Replace only word password. You've set the value of "bi_pass" in config.yml during Linux server installation.
# =========================================
$package_dir = "${install_dir}\WorkFusionAnalyticsServer"
Write-Host "Uninstalling filebeat"
$service = Get-WmiObject -Class Win32_Service -Filter "name='filebeat'"
if ($service) {
$service.StopService()
Start-Sleep -s 1
$service.delete()
}
Write-Host "Uninstalling metricbeat"
$service = Get-WmiObject -Class Win32_Service -Filter "name='metricbeat'"
if ($service) {
$service.StopService()
Start-Sleep -s 1
$service.delete()
}
Write-Host "Stop PostgreSQL process"
$proceses = "postgress"
Get-Process | Where-Object {$proceses.Contains($_.Name)} | Stop-Process -Force
Write-Host "Uninstall WorkFusion Analytics Server"
$path = Get-ChildItem -Path $install_dir\WorkFusionAnalyticsServer\packages -Recurse tableau-server-obliterate.cmd
if ($path) {
&$path.FullName -y -y -y
}
Write-Host "Uninstall PostgreSQL Server"
$app = Get-WmiObject -Class Win32_Product | Where-Object {$_.Name -match "psql"}
if ($app) {$app.Uninstall()}
Write-Host "Remove installation directory"
If (Test-Path $install_dir){
Get-ChildItem -Path $install_dir -Recurse | Remove-Item -force -recurse
Remove-Item $install_dir -Force
}Restart the Analytics server to apply changes.
Install server components by following the instructions in the Install Analytics Server section.