Files
nextcloud/Containers
James Manuel f3abe7bc21 🔧 fix(nextcloud): configure EuroOffice internal URLs and preview provider
Three fixes applied when \$EUROOFFICE_HOST matches the default AIO
container naming pattern (nextcloud-*-eurooffice):

1. DocumentServerInternalUrl → http://\$EUROOFFICE_HOST:80/
   Bypasses the public domain for NC→EuroOffice converter calls.
   Trailing slash required; DocumentService.php concatenates the raw
   value with "converter" with no separator.

2. StorageUrl → http://\$APACHE_CONTAINER_HOST.nextcloud-aio:23973/
   Bypasses the public domain for EuroOffice→NC file fetch calls.
   Port 23973 is the Collabora WOPI ingress; port 11000 rejects
   requests where Host doesn't match the nextcloud.test binding.
   Trailing slash required to avoid malformed replacement URLs.

3. enabledPreviewProviders index 50 → OCA\Eurooffice\Preview
   NC's allowlist is explicit; registerPreviewProvider() alone is
   insufficient. Fixed index 50 avoids collision with AIO's seeded
   range (1–7, 23).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
2026-06-09 16:19:46 +02:00
..
2026-04-20 11:32:33 +02:00
2026-06-04 12:42:02 +02:00