diff --git a/helmfiles/helmfile.d/20-nextcloud.yaml b/helmfiles/helmfile.d/20-nextcloud.yaml
index 0b7438bc9f03edebddcd7f6cbee2d32fae09bf2d..5efa40b8206aad199db1afca847f0bdcdeebae40 100644
--- a/helmfiles/helmfile.d/20-nextcloud.yaml
+++ b/helmfiles/helmfile.d/20-nextcloud.yaml
@@ -6,7 +6,7 @@ environments:
 # Note: needs helm-git plugin (https://github.com/aslafy-z/helm-git)
 repositories:
   - name: onlyoffice-documentserver
-    url: git+https://open.greenhost.net/openappstack/nextcloud@onlyoffice-documentserver?ref=master
+    url: git+https://open.greenhost.net/openappstack/nextcloud@onlyoffice-documentserver?ref=20-liveness-probe-terminates-onlyofficepod-after-version-update