mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
Update nextcloud_update.sh
This commit is contained in:
parent
0b1aa48b5b
commit
824a61b569
@ -477,6 +477,10 @@ then
|
||||
print_text_in_color "$ICyan" "Optimizing Nextcloud..."
|
||||
yes | occ_command db:convert-filecache-bigint
|
||||
occ_command db:add-missing-indices
|
||||
while [ -z "$CURRENTVERSION" ]
|
||||
do
|
||||
CURRENTVERSION=$(sudo -u www-data php $NCPATH/occ status | grep "versionstring" | awk '{print $3}')
|
||||
done
|
||||
if [ "${CURRENTVERSION%%.*}" -ge "19" ]
|
||||
then
|
||||
check_php
|
||||
|
||||
Loading…
Reference in New Issue
Block a user