From d34ed3110d0b78a228f2d1e7b1f34f32ce7dd416 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Fri, 21 Jul 2023 23:15:19 +0200 Subject: [PATCH] updated nextcloud state --- states/nextcloud/config.sls | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/states/nextcloud/config.sls b/states/nextcloud/config.sls index 7a6e9ac..1ae101c 100644 --- a/states/nextcloud/config.sls +++ b/states/nextcloud/config.sls @@ -17,3 +17,10 @@ nextcloud-upgrade: - runas: {{ nextcloud.user }} - onchanges: - archive: nextcloud-archive + +nextcloud-add-missing-indices: + cmd.run: + - name: php {{ nextcloud.install_dir }}/nextcloud/occ db:add-missing-indices + - runas: {{ nextcloud.user }} + - onchanges: + - archive: nextcloud-archive