Merge pull request #6644 from nextcloud/enh/noid/add-further-hint

mastercontainer: add advice to `/var/www/docker-aio/php/containers.json` mountpoint warning
This commit is contained in:
Simon L. 2025-07-17 11:42:34 +02:00 committed by GitHub
commit 2b3eec3c10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,6 +47,8 @@ elif mountpoint -q /var/www/docker-aio/php/containers.json; then
print_red "/var/www/docker-aio/php/containers.json is a mountpoint. Cannot proceed!" print_red "/var/www/docker-aio/php/containers.json is a mountpoint. Cannot proceed!"
echo "This is a not-supported customization of the mastercontainer!" echo "This is a not-supported customization of the mastercontainer!"
echo "Please remove this bind-mount from the mastercontainer." echo "Please remove this bind-mount from the mastercontainer."
echo "If you need to customize things, feel free to use https://github.com/nextcloud/all-in-one/tree/main/manual-install"
echo "See https://github.com/nextcloud/all-in-one/blob/main/manual-install/latest.yml"
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..."