mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
add a check if the mastercontainer volume is really connected to the mastercontainer
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
c54395aa4c
commit
1e96eed341
1 changed files with 4 additions and 0 deletions
|
|
@ -85,6 +85,10 @@ elif ! sudo -u www-data docker volume ls --format "{{.Name}}" | grep -q "^nextcl
|
||||||
echo "It seems like you did not give the mastercontainer volume the correct name?
|
echo "It seems like you did not give the mastercontainer volume the correct name?
|
||||||
Using a different name is not supported!"
|
Using a different name is not supported!"
|
||||||
exit 1
|
exit 1
|
||||||
|
elif ! sudo -u www-data docker inspect nextcloud-aio-mastercontainer | grep -q "nextcloud_aio_mastercontainer"; then
|
||||||
|
echo "It seems like you did not attach the nextcloud_aio_mastercontainer volume to the mastercontainer?
|
||||||
|
This is not supported!"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for other options
|
# Check for other options
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue