add optimization commands

This commit is contained in:
Daniel Hansson 2018-08-05 15:33:18 +02:00 committed by GitHub
parent aac71a6960
commit 08a02d6cf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -275,6 +275,10 @@ then
bash $SECURE & spinner_loading
occ_command maintenance:mode --off
occ_command upgrade --no-app-disable
# Optimize
echo "Optimizing Nextcloud..."
yes | occ_command db:convert-filecache-bigint
occ_command db:add-missing-indices
else
msg_box "Something went wrong with backing up your old nextcloud instance
Please check in $BACKUP if the folders exist."