Do you want to: Ask a how-to question
Document Server version: 7.5.1-23
Connector version: 8.2.4
DMS (platform) version: Nextcloud 27.1.3
OS: Ubuntu 22.04.3 LTS
Browser version: Firefox 119.0.1
Hello everyone,
I’m trying to configure onlyoffice with nextcloud.
They are installed both on virtual machine on the same network.
I’ve Installed onlyoffice from the package with this documentation:
The nextcloud interface tells me that everything is ok but when I’m trying to open a document I have this message: “ONLYOFFICE is unavailable. Please contact your administrator”.
When I try to inspect with developer tools of the browser, I can see that the URL that I’ve configured in the onlyoffice connector is HTTP and not HTTPS.
I’ve checked on nextcloud logs and onlyoffice logs and I can’t find anything regarding that problem.
Do someone have an idea on how I can solve that problem please ?
Thanks a lot
You will need an instance of ONLYOFFICE Docs (Document Server) that is resolvable and connectable both from Nextcloud and any end clients. If that is not the case, use the official ONLYOFFICE Docs documentation page.
ONLYOFFICE Docs must also be able to POST to Nextcloud directly.
Hi sorry for late answer, I didn’t saw the notification
Initially I was using a public DNS name to configure nextcloud.
But as it is on the nextcloud and onlyoffice are on the same network, I was facing some NAT problem, because I was unable to perform a curl on the public DNS url of onlyoffice. I was only able to do it from outside the nextcloud & onlyoffice network.
That’s why today I’m still trying to configure nextcloud to contact onlyoffice with the private ip address. But if I understand it well, it’s not possible ? Thanks a lot for your answer !
ONLYOFFICE Docs is a separate service that receives requests from the client side.
Therefore, if the client is outside your local network, you need to provide access to the document server in the public network.