I am currently experiencing a problem regarding the copy and paste function of Collabora.
Problem description
I am running Collabora alongside Nextcloud on a Synology NAS. This setup worked fine until I noticed that I cannot paste external text (e.g., from a website or another editor) into a Collabora document. I do not know if it has always been like this.
I have tested this in Writer, Presentation, and Spreadsheet environments. When attempting to paste, nothing happens - there is no response or error message.
Copy-paste works correctly in a standard Nextcloud text document, so the clipboard appears to be functioning outside of Collabora.
Environment description
Synology NAS Version: DSM 7.2.2
Nextcloud Version: Nextcloud Hub 10 (31.0.7)
Collabora Version: Collabora Online Development Edition 25.04.4.1 (Newest release on Docker)
User OS: Windows
Both Collabora and Nextcloud are hosted on separate Docker containers. They are connected using DDNS (Synology domain), ports (443 for Nextcloud and 9980 for Collabora), and reverse proxies set in Synology. This works without a problem.
Further problem description
- The issue persists on different browsers. I have tried it on Chrome and Firefox.
- When any Collabora document loads, there is the following message in the console:
Blocked autofocusing on a <div> element in a cross-origin subframe.
- On each paste attempt, an entry appears in the browser’s “Network” tab. It’s a POST request to the Collabora clipboard endpoint. The response is empty but returns a 200 OK status.
Here the request URL:https://<mydomain>:9980/cool/clipboard?WOPISrc=https%3A%2F%2F<mydomain>%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F267_ocbn5l6be2gc&ServerId=<server-id>&ViewId=4&Tag=e7a9812544d0d95f
- I have tried to recreate both Docker containers multiple times. This with no success.
- In the Docker container log I get the error:
kit-<date> [ kitbroker_00d ] ERR ToMaster-13d: unable to open clipboard: /tmp/user/docs/clipboards/setclipboard.03ab25068d58dd53| kit/ChildSession.cpp:1650
For the Collabora installation on the NAS, I used this german guide
How can I solve this error? My endgoal is for my users to be able to copy and paste into their documents again.
Fun little side note: Pasting into the document search (CTRL + F) works just fine.
Any help is much appreciated. Thank you