diff --git a/templates/nextcloud-config.yaml b/templates/nextcloud-config.yaml
index dd143590d3463ff819221cd84c43f2dbe18421a1..2872413aa7060016a6af970dcadde986ddccdf6b 100644
--- a/templates/nextcloud-config.yaml
+++ b/templates/nextcloud-config.yaml
@@ -50,6 +50,7 @@ data:
     fi
     {{- if .enabled }}
     # Enable {{ .name }} app
+    cd /var/www/html
     php occ app:enable {{ .name }}
     {{ end }} # -- end {{ .name }}
     {{ end }} # end range {{ .Values.apps }}