mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
check if vfs or fuse-overlayfs is used
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
413633cfea
commit
b86c1f490a
1 changed files with 11 additions and 0 deletions
|
|
@ -65,6 +65,17 @@ else
|
||||||
sleep 10
|
sleep 10
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check Storage drivers
|
||||||
|
STORAGE_DRIVER="$(docker info | grep "Storage Driver")"
|
||||||
|
# Check if vfs is used: https://github.com/nextcloud/all-in-one/discussions/1467
|
||||||
|
if echo "$STORAGE_DRIVER" | grep -q vfs; then
|
||||||
|
echo "$STORAGE_DRIVER"
|
||||||
|
echo "Warning: It seems like the storage driver vfs is used. This will lead to problems with disk space and performance and is disrecommended!"
|
||||||
|
elif echo "$STORAGE_DRIVER" | grep -q fuse-overlayfs; then
|
||||||
|
echo "$STORAGE_DRIVER"
|
||||||
|
echo "Warning: It seems like the storage driver fuse-overlayfs is used. Please check if you can switch to overlay2 instead."
|
||||||
|
fi
|
||||||
|
|
||||||
# Check if startup command was executed correctly
|
# Check if startup command was executed correctly
|
||||||
if ! sudo -u www-data docker ps | grep -q "nextcloud-aio-mastercontainer"; then
|
if ! sudo -u www-data docker ps | grep -q "nextcloud-aio-mastercontainer"; then
|
||||||
echo "It seems like you did not give the mastercontainer the correct name?
|
echo "It seems like you did not give the mastercontainer the correct name?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue