hello all,
trying to install ONLYOFFICE in Nextcloud, following this guide:
i have installed Turnkeyâs nextcloud LXC and i use nginx as reverse proxy.
when i go to administration/onlyoffice, i get this error: Error when trying to connect (Client error: POST https://cloud.xxxx.xx/apps/documentserver_community/coauthoring/CommandService.ashx resulted in a 405 Method Not Allowed response)
Your nextcloud only office URL should match that of your externally resolved host name⌠if you need to resolve your external IP/DNS name from your internal host you may need to consider a NAT hairpin.
Test access from the relevant components that you can curl (or browse to)
/apps/documentserver_community/coauthoring/CommandService.ashx from the installation (test if it âsees itselfâ).
You could test adding the following to your NGNIX config:
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto https;
You may also need to set a location block for the document server.
OnlyOffice document server (from turnkeylinux basic image)
In Nextcloud I needed to install the ONLYOFFICE app (itâs name Ăs in capitals on the App page) and I needed to enter the exact, public urls for both the nextcloud and the onlyoffice install in the ONLYOFFICE settings.
The reverse proxy as well as the onlyoffice install must be available to the internet, as I gather.