Collabora + Nextcloud can't open document online, frame ancestor issue

Hi @william ,

Thanks for the detailed information. From what you’re describing, the root issue is the Content-Security-Policy (CSP) — specifically the frame-ancestors directive — which is being enforced by your Nextcloud server, not Collabora.

TL;DR:

Your browser is blocking the Collabora iframe inside Nextcloud due to CSP settings on the Nextcloud side.

Still i would recommend to serach in collabora online forum with keyword LAMP. For example i found this thread Nextcloud connects fine to CODE docker container but can't open any documents - #3 by Tex

may or may not solve your issue but yes you can always search through the previous topics. I am sure i have seen few LAMP issues in past. So can you please search and see if find anything ?

let me know

Thanks
|Darshan