mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
add optimization commands
This commit is contained in:
parent
aac71a6960
commit
08a02d6cf2
@ -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."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user