mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
add further hints for other options
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
3dec47dc04
commit
373f9e3c24
1 changed files with 3 additions and 0 deletions
|
|
@ -29,10 +29,13 @@ fi
|
||||||
# Check if socket is available and readable
|
# Check if socket is available and readable
|
||||||
if ! [ -a "/var/run/docker.sock" ]; then
|
if ! [ -a "/var/run/docker.sock" ]; then
|
||||||
print_red "Docker socket is not available. Cannot continue."
|
print_red "Docker socket is not available. Cannot continue."
|
||||||
|
echo "Please make sure to mount the docker socket into /var/run/docker.sock inside the container!"
|
||||||
echo "If you did this by purpose because you don't want the container to have access to the docker socket, see https://github.com/nextcloud/all-in-one/tree/main/manual-install."
|
echo "If you did this by purpose because you don't want the container to have access to the docker socket, see https://github.com/nextcloud/all-in-one/tree/main/manual-install."
|
||||||
exit 1
|
exit 1
|
||||||
elif ! mountpoint -q "/mnt/docker-aio-config"; then
|
elif ! mountpoint -q "/mnt/docker-aio-config"; then
|
||||||
print_red "/mnt/docker-aio-config is not a mountpoint. Cannot proceed!"
|
print_red "/mnt/docker-aio-config is not a mountpoint. Cannot proceed!"
|
||||||
|
echo "Please make sure to mount the nextcloud_aio_mastercontainer docker volume into /mnt/docker-aio-config inside the container!"
|
||||||
|
echo "If you are on TrueNas SCALE, see https://github.com/nextcloud/all-in-one#can-i-run-aio-on-truenas-scale"
|
||||||
exit 1
|
exit 1
|
||||||
elif ! sudo -u www-data test -r /var/run/docker.sock; then
|
elif ! sudo -u www-data test -r /var/run/docker.sock; then
|
||||||
echo "Trying to fix docker.sock permissions internally..."
|
echo "Trying to fix docker.sock permissions internally..."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue