Upgrade Deployment
Upgrading your OpenReplay deployment to the latest version requires updating both your backend (instance) and tracker.
Upgrade Backend
Copy/backup the current openreplay folder to
_version-number
like below:mv openreplay openreplay_v1.7.0Clone the new OpenReplay version. In this example we're upgrading to the latest available version:
git clone https://github.com/openreplay/openreplayUpgrade 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.yamlwget https://github.com/mikefarah/yq/releases/download/v4.24.4/yq_linux_amd64 -O yqchmod +x ./yq./yq '. *= load("old_vars.yaml")' vars.yaml > new_vars.yamlmv new_vars.yaml vars.yaml# Cleanup depricated resourcekubectl delete ing -n db minio-frontend# Upgrade openreplayhelm upgrade --install openreplay ./openreplay -n app --wait -f ./vars.yaml --atomicIf you're not using a load balancer and have generated your SSL certificate via the
certmanager.sh
script:cd openreplay/scripts/helmcharts && bash certmanager.shUpdate
fromVersion
variable in/openreplay/scripts/helmcharts/vars.yaml
to reflect the new version. As an example if you're moving fromv1.7.0
tov1.8.1
then update thefromVersion
like below:fromVersion: "v1.8.1"
Upgrade Tracker
Ensure your tracker (and tracker-assist plugin if you do use the Assist plugin) is compatible with the new backend version by checking the below compatibility table:
Backend Version | Minimum Tracker Version |
---|---|
1.8.1 | 4.1.4 |
1.8.0 | 4.0.1 |
1.7.0 | 3.5.15 |
1.6.0 | 3.5.12 |
1.5.4 | 3.5.4 |
1.5.3 | 3.5.3 |
1.5.2 | 3.5.2 |
1.5.1 | 3.5.1 |
1.5.0 | 3.5.0 |
1.4.0 | 3.4.17 |
1.3.6 | 3.4.16 |
1.3.5 | 3.4.0 |
1.3.0 | 3.2.1 |
1.2.0 | 3.1.0 |
1.1.0 | 3.0.3 |
Troubleshooting
If you encounter any issue during the upgrade process, reach out on Slack and get help from our community.