From 7c3ceb124064cd642c67e491c8941b88851d97db Mon Sep 17 00:00:00 2001 From: James Manuel Date: Wed, 8 Jul 2026 17:15:59 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix(nextcloud):=20drop=20interna?= =?UTF-8?q?l=20URL=20overrides=20for=20EuroOffice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the public NC_DOMAIN/eurooffice pattern instead of injecting DocumentServerInternalUrl / StorageUrl for the internal host. Signed-off-by: James Manuel --- Containers/nextcloud/entrypoint.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index 15e1756f..04f7bbde 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -903,13 +903,6 @@ if [ "$EUROOFFICE_ENABLED" = 'yes' ]; then # Adjust the EuroOffice host if using internal pattern if echo "$EUROOFFICE_HOST" | grep -q "nextcloud-.*-eurooffice"; then - # Set internal URLs for server-to-server calls via Docker network, - # bypassing the public domain which may not resolve inside containers. - # DocumentServerInternalUrl: NC -> EuroOffice (direct container port) - # StorageUrl: EuroOffice -> NC (via port 23973 which has a matching Caddy server-block) - APACHE_CONTAINER_HOST="${EUROOFFICE_HOST%-eurooffice}-apache" - php /var/www/html/occ config:app:set eurooffice DocumentServerInternalUrl --value="http://$EUROOFFICE_HOST:80/" - php /var/www/html/occ config:app:set eurooffice StorageUrl --value="http://$APACHE_CONTAINER_HOST.nextcloud-aio:23973/" EUROOFFICE_HOST="$NC_DOMAIN/eurooffice" export EUROOFFICE_HOST fi