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

**URL:** <https://forum.collaboraonline.com/t/collabora-nextcloud-cant-open-document-online-frame-ancestor-issue/3650>\
**Category:** Installation & Configuration\
**Created:** [May 5, 2025, 12:31pm UTC](https://forum.collaboraonline.com/t/collabora-nextcloud-cant-open-document-online-frame-ancestor-issue/3650 "2025-05-05T12:31:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![darshan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/darshan/32/2230_2.png) [@darshan](https://forum.collaboraonline.com/u/darshan)\
**Post date:** [May 6, 2025, 4:10pm UTC](https://forum.collaboraonline.com/t/collabora-nextcloud-cant-open-document-online-frame-ancestor-issue/3650/2 "2025-05-06T16:10:53Z")

</div>

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](https://forum.collaboraonline.com/t/nextcloud-connects-fine-to-code-docker-container-but-cant-open-any-documents/2415/3)

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

---

_[View the full topic](https://forum.collaboraonline.com/t/collabora-nextcloud-cant-open-document-online-frame-ancestor-issue/3650)._
