Issues with Nextcloud OnlyOffice and Community Document Server on Native Installation (No Docker

Hi everyone,

I’m facing an issue with my Nextcloud installation, specifically with the integration of OnlyOffice and the Community Document Server (CDS). Here are the details of my setup:

System: Nextcloud running on a native host (no Docker containers).
Installation: The Community Document Server was installed via the Nextcloud interface, as was the OnlyOffice app. Both are running directly on the same host.

Problem Description:

The installation seemed to work fine:
    I can select Office files under New in the Nextcloud interface.
    In the app settings, I can save the configuration for the Document Server, and it returns an OK message.
However, when I try to open or create a document, Nextcloud freezes completely for about 1–2 minutes. After that, it works again until I attempt to open or create another document.

Error Message:

The command

sudo -u www-data php occ onlyoffice:documentserver --check

returns the following error:

Error connection: Client error: GET http://isp-tan.spdns.de/index.php/apps/onlyoffice/empty?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJlbXB0eSJ9.aAc0vopezHHGE05XpXgB25QttjczMRxbdOcLnxq9ekU resulted in a 404 Not Found response:
File not found.

Additional Information:

How can I check if the Document Server is running correctly?
I read that the CDS listens on port 5999, but when I check with nmap localhost, port 5999 isn’t reachable on the host.
Does the CDS expect connections on port 5999?
I’m unsure where the issue lies because I don’t know where to start troubleshooting.

Questions:

Where can I find the configuration files for both apps?
Should I set the Document Server URL in the OnlyOffice configuration, the CDS configuration, or both?
Are there any known issues with running this setup on a native installation without Docker?
How can I confirm whether the CDS is running properly and listening on the correct port?

I would greatly appreciate any tips or ideas on how to resolve this issue.

Where can i find the matching nc log entry ? The NC logfile is horrorable - no formations like other linux log files. Its a totaly string chaos when looking into the nextcloud logfile.

Thanks in advance! :blush: