update mimetype list (#1987)

Signed-off-by: szaimen <szaimen@e.mail.de>

Co-authored-by: Daniel Hansson <github@hanssonit.se>
This commit is contained in:
szaimen 2021-05-23 12:00:21 +02:00 committed by GitHub
parent 39e64fe079
commit e231cb2ac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}')