From af5e35d00cfd3b43a6a6ed70bbe19f4e3417b6c6 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Wed, 13 Feb 2019 17:32:01 -0700 Subject: ncp-update-nc: BTRFS basedir not supported --- bin/ncp-update-nc | 1 + changelog.md | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/ncp-update-nc b/bin/ncp-update-nc index 944b80dc..7c44e6b4 100755 --- a/bin/ncp-update-nc +++ b/bin/ncp-update-nc @@ -29,6 +29,7 @@ DATADIR="$( grep datadirectory nextcloud/config/config.php | awk '{ print $3 }' [[ -d /var/www/nextcloud-old ]] && { echo "Nextcloud backup directory found. Interrupted installation?"; exit 1; } [[ -d /var/www/nextcloud ]] || { echo "Nextcloud directory not found" ; exit 1; } [[ -d "$DATADIR" ]] || { echo "Nextcloud data directory not found" ; exit 1; } +[[ "$(stat -fc%T "$BASEDIR")" == "btrfs" ]] && { echo "BTRFS not supported" ; exit 1; } # check version #################### diff --git a/changelog.md b/changelog.md index a7f3b822..57037c6a 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v1.6.2](https://github.com/nextcloud/nextcloudpi/commit/39966c8) (2019-02-13) nc-datadir: lift mountpoint restriction +[v1.6.3](https://github.com/nextcloud/nextcloudpi/commit/a4f39c3) (2019-02-13) ncp-update-nc: BTRFS basedir not supported + +[v1.6.2](https://github.com/nextcloud/nextcloudpi/commit/b070387) (2019-02-13) nc-datadir: lift mountpoint restriction [v1.6.1 ](https://github.com/nextcloud/nextcloudpi/commit/3e566f5) (2019-02-10) nc-nextcloud: add a warning -- cgit v1.2.3