add note about SELinux and Docker Desktop

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-06-05 11:08:13 +02:00
parent 07faad0ab2
commit aac2ad10ff
2 changed files with 5 additions and 0 deletions

View file

@ -61,6 +61,8 @@ fi
# Check if api version is supported
if ! sudo -u www-data docker info &>/dev/null; then
print_red "Cannot connect to the docker socket. Cannot proceed."
echo "If you are on Docker Desktop v4.19 or higher, see https://github.com/nextcloud/all-in-one/issues/2450"
echo "If SELinux is enabled on your host, see https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir#are-there-known-problems-when-selinux-is-enabled"
exit 1
fi
API_VERSION_FILE="$(find ./ -name DockerActionManager.php | head -1)"