|
@@ -28,6 +28,12 @@ if [ $? -ne 0 ]; then
|
|
|
exit;
|
|
|
fi
|
|
|
|
|
|
+# check if configured basepath exists
|
|
|
+if [ ! -d "$BASEPATH" ]; then
|
|
|
+ echo "2 \"NextCloud\" - NextCloud localcheck could not find configured basepath"
|
|
|
+ echo "2 \"NextCloud Apps\" - NextCloud localcheck could not find configured basepath"
|
|
|
+ exit;
|
|
|
+fi
|
|
|
# Get current installed Nextcloud version-information
|
|
|
# in v29.x.x version gives more detail, which is not given by the check on installed version, so switched to versionstring instead.
|
|
|
|