You are not logged in.
Hi,
I am trying to set up collabora. I tried with docker and the Aur package, practically reaching the same point:
-collabora is reachable on my office.* domain (with /hosting/discovery I get xml output)
-nextcloud was giving some issues when launching collabora (mostly because of open_basedir restrictions, now fixed)
Now, nextcloud seems to be launching collabora, but stays in an indefinite loading icon. It cannot complete loading the collabora editor.
The logs are entirely blank, so I cannot understand what's going on. Any idea?
Last edited by aquilarubra (2019-12-18 05:31:43)
Offline
I found that there is a javascript error inspecting the webpage:
Content Security Policy: The page’s settings blocked the loading of a resource at http://cloud.mydomain.com/loleaflet/81ea009/loleaflet.html?WOPISrc=https%3A%2F%2Fcloud.mydomain.com%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F14_ocz89ntc67ol&title=About.odt&lang=en&closebutton=1&revisionhistory=1 (“frame-src”).
It seems a configuration issue, but I followed the Arch tutorial. Maybe something changed.
Last edited by aquilarubra (2019-04-21 06:28:18)
Offline
I currently found no solution, if collabora is on domain office.mydomain.com and nextcloud is on cloud.mydomain.com.
All the headers directives in nginx such as
add_header Content-Security-Policy "frame-src 'self' data: 'unsafe-inline' 'unsafe-eval' https://cloud.mydomain.com";
had no effect.
Even setting security.csp.enable to false in about:config in Firefox didn't help (the "frame-src" error disappeared but collabora still did not load).
Moving the content of the nginx virtualhost from office.mydomain.com to cloud.mydomain.com solved the issue (i.e. having nextcloud and collabora on the same virtualhost).
Offline