Can't set up NextCloud Office using CODE Built-In

Nextcloud version: 29.0.7
Operating system and version: Linux 3.10.0-962.3.2.lve1.5.70.el7.x86_64 x86_64
Apache or nginx version: Apache 2.4.62
PHP version: 8.2.22

The issue you are facing:
Cannot use NextCloud Office as it always fails the “Setting up a new server” step when accessing its settings. Both NextCloud Office and the Built-In CODE Server seemed to install without issues, and the host said they don’t see any errors on the server or anything that would prevent it from working.

We are setting up this NextCloud instance for the first time so it is using default settings and config file. This is also on shared hosting.

Is this the first time you’ve seen this error? Y

Steps to replicate it:

  1. Navigate to Administration Settings > NextCloud Office

The output of your Nextcloud log in Admin > Logging:

Error
richdocuments	
ConnectException
cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://[domain hidden]/apps/richdocumentscode/proxy.php?req=/hosting/discovery
Failed to fetch discovery: cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://[domain hidden]/apps/richdocumentscode/proxy.php?req=/hosting/discovery

Enabling the debug part of the proxy file, we see just this line over and over:

richdocumentscode (proxy.php) debug, PID: 25250, Message: Coolwsd server is not running.

@digitalfusion welcome to the community :wave:

please check if “the Built-In CODE Server” is available. some service providers do not allow executing services. possibly you’ll need a seperate service instead of “Built-in CODE Server”.

Just for clarification, what do you mean by seeing if the server is available? It is installed in NextCloud, and the proxy endpoint is accessible, though shows nothing as it seems to loop with the Coolwsd message shown above.

please ask your service provider if this is possible on the shared hosting service.

see also collabora Integration Guide

Sorry for the late reply. We contacted the host and they told us that it will not work because it requires “FUSE” which is not installed on the server. They then suggested we extract the .AppImage file directly and run the resulting folder, but that likely won’t be doable unless we modify the proxy file. So unless there’s a way around that most likely this solution wont be usable on this hosting environment.

@digitalfusion

we’re not going anywhere soon :+1:

this was expected…

sure, there’s always a way to work around.

it all depends on your use case, technical abilities and budget.