nextcloud - add post upgrade step

This commit is contained in:
2022-05-29 21:27:39 +02:00
parent e014397076
commit 11d9fd9e22

View File

@@ -45,6 +45,16 @@ step_20() {
} }
ncInstaller="updater/updater.phar" ncInstaller="updater/updater.phar"
step_21_info() { echo "Running recommended post upgrade procedure"; }
step_21_alias() { echo "postupgrade"; }
step_21() {
step occ db:convert-filecache-bigint
step occ db:add-missing-indices
step occ db:add-missing-columns
step occ db:add-missing-primary-keys
step occ app:update --all
}
step_102_info() { echoinfoArgs "<NC DATABASE> <IPV4 ADDRESS>"; echo "Delete IP from bruteforce table"; } step_102_info() { echoinfoArgs "<NC DATABASE> <IPV4 ADDRESS>"; echo "Delete IP from bruteforce table"; }
step_102_alias() { echo "bruteforceRemoveIP"; } step_102_alias() { echo "bruteforceRemoveIP"; }
step_102() { step_102() {