From 3cf269a305082fde9989df6c485132a2d5bb98e1 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Fri, 28 Aug 2020 18:23:23 -0600 Subject: upgrade to NC19.0.2 Signed-off-by: nachoparker --- bin/ncp-update-nc | 1 + bin/ncp/BACKUPS/nc-import-ncp.sh | 2 +- bin/ncp/CONFIG/nc-nextcloud.sh | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/ncp-update-nc b/bin/ncp-update-nc index de09bd39..1e88428f 100755 --- a/bin/ncp-update-nc +++ b/bin/ncp-update-nc @@ -181,6 +181,7 @@ find nextcloud/ -type f -exec chmod 640 {} \; echo "Upgrade..." sudo -u www-data php nextcloud/occ upgrade # && false # test point sudo -u www-data php nextcloud/occ db:add-missing-indices +sudo -u www-data php nextcloud/occ db:add-missing-columns # done #################### diff --git a/bin/ncp/BACKUPS/nc-import-ncp.sh b/bin/ncp/BACKUPS/nc-import-ncp.sh index 7c83da24..823e2703 100644 --- a/bin/ncp/BACKUPS/nc-import-ncp.sh +++ b/bin/ncp/BACKUPS/nc-import-ncp.sh @@ -11,7 +11,7 @@ CFGDIR="/usr/local/etc/ncp-config.d" -configure() +configure() { [[ -f "$FILE" ]] || { echo "export file $FILE does not exist"; return 1; } diff --git a/bin/ncp/CONFIG/nc-nextcloud.sh b/bin/ncp/CONFIG/nc-nextcloud.sh index c572498f..fb1205bb 100644 --- a/bin/ncp/CONFIG/nc-nextcloud.sh +++ b/bin/ncp/CONFIG/nc-nextcloud.sh @@ -27,6 +27,7 @@ install() $APTINSTALL -t $RELEASE php-smbclient exfat-fuse exfat-utils # for external storage $APTINSTALL -t $RELEASE php${PHPVER}-exif # for gallery $APTINSTALL -t $RELEASE php${PHPVER}-gmp # for bookmarks + $APTINSTALL -t $RELEASE php-bcmath # for LDAP #$APTINSTALL -t imagemagick php${PHPVER}-imagick ghostscript # for gallery -- cgit v1.2.3