Hello! I recently setup Nextcloud via the AIO option. It has been working perfectly. I didnât initially set it up with the office install as I wanted to try out OnlyOffice. I installed the âcommunity document serverâ and âonlyoffice connectorâ. Whenever I try to open a office document in the web interface, I get an error stating OnlyOffice cannot be reached.
Upon inspecting the web console, I get the following error: âThe resource from âhttps://(domain removed).com/apps/documentserver_community/web-apps/apps/api/documents/api.jsâ was blocked due to MIME type (âtext/htmlâ) mismatch (X-Content-Type-Options: nosniff)â. I Chromium, the error is slightly different, but essentially the same: âRefused to execute script from âhttps://(domain removed).com/apps/documentserver_community/web-apps/apps/api/documents/api.jsâ because its MIME type (âtext/htmlâ) is not executable, and strict MIME type checking is enabledâ.
On a side note. If I go in to the OnlyOffice settings in Nextcloud and enable the connection to the test server instead of the local server, the OnlyOffice interfaces loads right up when I try to open an office document.
Iâm not very experienced with backend server issues, but Iâm very much willing to investigate. I was just hoping someone here may be able to point me in the right direction. Iâve tried to search around on Google and this forum, but couldnât seem to find anything that exactly related. Apologies if I overlooked something obvious. Any help is greatly appreciated!
I would not recommend to use the community document server as it has many known problems.
Thanks for the quick reply! Without the community document server, I canât use the OnlyOffice Nextcloud app, correct? Iâm saying that based on the post linked below. Would my best option be to remove the community document server and onlyoffice apps, then just install the collabora office option that AIO provides?
https://nextcloud.com/blog/how-to-install-onlyoffice-in-nextcloud-hub-and-new-integration-feature/
Actually, I guess I could install my own OnlyOffice server then point the Nextcloud OnlyOffice app to that document server instead.
Yes, that would be the easiest option.
That should of course work as well.