mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
fix CURRENTVERSION for NC 19 (#1273)
This commit is contained in:
parent
824a61b569
commit
8c47858905
@ -514,6 +514,10 @@ fi
|
||||
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
|
||||
occ_command db:add-missing-columns
|
||||
|
||||
Loading…
Reference in New Issue
Block a user