Upgrade Deployment

Upgrading your OpenReplay deployment to the latest version requires updating both your backend (instance) and tracker.

Upgrade Backend (from v1.4.0 or higher)

Section titled Upgrade Backend (from v1.4.0 or higher)

Note: If your OpenReplay version is prior to v1.4.0 then read this first before continuing with the below instructions.

  1. Copy/backup the current openreplay folder to _version-number like below:
mv openreplay openreplay_v1.4.0
  1. Clone the new OpenReplay version. In this example we’re upgrading to the latest available version:
git clone https://github.com/openreplay/openreplay
  1. Upgrade OpenReplay:
cd openreplay/scripts/helmcharts

# Merge previous vars.yaml with current var.yaml (using yq for yaml parsing)
cp ~/openreplay_v1.4.0/scripts/helmcharts/vars.yaml old_vars.yaml
wget https://github.com/mikefarah/yq/releases/download/v4.24.4/yq_linux_amd64 -O yq
chmod +x ./yq
./yq '. *= load("old_vars.yaml")' vars.yaml > new_vars.yaml
mv new_vars.yaml vars.yaml

# Cleanup depricated resource
kubectl delete ing -n db minio-frontend

# Setting proper permisson
/bin/bash -c '[[ -d /openreplay ]] && sudo chown -R 1001:1001 /openreplay'

# Upgrade openreplay
helm upgrade --install openreplay ./openreplay -n app --wait -f ./vars.yaml --atomic
  1. If you’re not using a load balancer and have generated your SSL certificate via the certmanager.sh script:
cd openreplay/scripts/helmcharts && bash certmanager.sh
  1. Update fromVersion variable in /openreplay/scripts/helmcharts/vars.yaml to reflect the new version. As an example if you’re moving from v1.4.0 to v1.8.0 then update the fromVersion like below:
fromVersion: "v1.8.0"
Backend VersionTracker VersionAssist Version
1.21.015.x.x10.x.x
1.20.014.x.x10.x.x
1.19.014.x.x9.x.x
1.18.013.x.x9.x.x
1.17.012.x.x8.x.x
1.16.011.x.x7.x.x
1.15.010.x.x6.x.x
1.14.09.x.x6.x.x
1.13.08.x.x6.x.x
1.12.07.x.x5.x.x
1.11.06.x.x5.x.x
1.10.05.x.x5.x.x
1.9.04.x.x4.x.x
1.8.04.0.04.0.0
1.7.03.5.153.5.14
1.6.03.5.123.5.11
1.5.43.5.43.5.7
1.5.33.5.33.5.5
1.5.23.5.23.5.4
1.5.13.5.13.5.3
1.5.03.5.03.5.0
1.4.03.4.173.4.16
1.3.63.4.163.4.15
1.3.53.4.03.4.13
1.3.03.2.13.4.12
1.2.03.1.0N/A
1.1.03.0.3N/A

Ensure your tracker (and tracker-assist plugin if you do use the Assist plugin) is compatible with the new backend version by checking the above compatibility table.

If you encounter any issue during the upgrade process, reach out on Slack or check out our Forum and get help from our community.