From e231cb2ac8076e253a7fb1447223d2beb1e31e02 Mon Sep 17 00:00:00 2001 From: szaimen Date: Sun, 23 May 2021 12:00:21 +0200 Subject: [PATCH] update mimetype list (#1987) Signed-off-by: szaimen Co-authored-by: Daniel Hansson --- nextcloud_update.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nextcloud_update.sh b/nextcloud_update.sh index d4d69eda..42846d57 100644 --- a/nextcloud_update.sh +++ b/nextcloud_update.sh @@ -819,6 +819,8 @@ then nextcloud_occ upgrade # Optimize print_text_in_color "$ICyan" "Optimizing Nextcloud..." + nextcloud_occ maintenance:mimetype:update-js + nextcloud_occ maintenance:mimetype:update-db yes | nextcloud_occ db:convert-filecache-bigint nextcloud_occ db:add-missing-indices CURRENTVERSION=$(sudo -u www-data php $NCPATH/occ status | grep "versionstring" | awk '{print $3}')