nextcloud-high-performance-backend-setup icon indicating copy to clipboard operation
nextcloud-high-performance-backend-setup copied to clipboard

Nextcloud 31 -> Administrative Settings Collabora Office -> Blank IFrame

Open Octopus2 opened this issue 8 months ago • 1 comments

I have a problem in Nextcloud version 31.0.2 and a server at Hetzner that I set up with the script.

In the personal and also in the administrative settings for Collabora Office, there is since this Nextcloud version an Iframe, which wants to display the page ‘https:///browser/dist/admin/adminIntegratorSettings.html’ on the server. But the only response from the server is:

<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

Does anyone have any ideas about this? I can provide further information to help isolate the error....

Octopus2 avatar Apr 09 '25 09:04 Octopus2

Nextcloud currently appears to ignore the fact that we are running Collabora under the subpath "/collabora", even though this is correctly specified in the Collabora Online server URL under Administrative Settings -> Office. The iframe should normally point to /collabora/browser/dist/admin/adminIntegratorSettings.html, but instead it tries to load /browser/dist/admin/adminIntegratorSettings.html.

The Nginx location configuration in use is the following: https://github.com/sunweaver/nextcloud-high-performance-backend-setup/blob/main/data/collabora/snippet-coolwsd.conf After installation, it is located at /etc/nginx/snippets/coolwsd.conf.

We can either investigate why Nextcloud is ignoring the "/collabora" subpath, or we simply remove the subpath from the Nginx configuration and let Nextcloud use https://server/ instead of https://server/collabora.

Since no other application installed by the setup script uses the paths /browser, /hosting, /cool, or /lool, the subpath is purely a cosmetic choice.

nightcore500 avatar Apr 17 '25 17:04 nightcore500