Skip to content

Commit af5e35d

Browse files
committed
ncp-update-nc: BTRFS basedir not supported
1 parent b070387 commit af5e35d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

bin/ncp-update-nc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ DATADIR="$( grep datadirectory nextcloud/config/config.php | awk '{ print $3 }'
2929
[[ -d /var/www/nextcloud-old ]] && { echo "Nextcloud backup directory found. Interrupted installation?"; exit 1; }
3030
[[ -d /var/www/nextcloud ]] || { echo "Nextcloud directory not found" ; exit 1; }
3131
[[ -d "$DATADIR" ]] || { echo "Nextcloud data directory not found" ; exit 1; }
32+
[[ "$(stat -fc%T "$BASEDIR")" == "btrfs" ]] && { echo "BTRFS not supported" ; exit 1; }
3233

3334
# check version
3435
####################

changelog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11

2-
[v1.6.2](https://github.com/nextcloud/nextcloudpi/commit/39966c8) (2019-02-13) nc-datadir: lift mountpoint restriction
2+
[v1.6.3](https://github.com/nextcloud/nextcloudpi/commit/a4f39c3) (2019-02-13) ncp-update-nc: BTRFS basedir not supported
3+
4+
[v1.6.2](https://github.com/nextcloud/nextcloudpi/commit/b070387) (2019-02-13) nc-datadir: lift mountpoint restriction
35

46
[v1.6.1 ](https://github.com/nextcloud/nextcloudpi/commit/3e566f5) (2019-02-10) nc-nextcloud: add a warning
57

0 commit comments

Comments
 (0)