Closed Svampebob1 closed 10 months ago
I have exactly the same issue and I can reproduce it 100% of times. I am running Nextcloud since beginning of 2020 on the same Ubuntu 20.04 server installed with a LAMP stack. I upgraded all the way to the current version on that server. It is behind an Nginx Proxy Manager.
I think I am getting above issue since the upgrade to NC 25, but it might have been there before as well (in the latest NC 24 versions), cannot recall it unfortunately. It has not always been there.
This problem only exists when trying to paste into a Nextcloud Office document like .odt or .ods Copying something from those files does work. Copy/Paste to/from a text file (.md) works fine.
In the Brave Browser developer tools I get attached error message when hitting the paste combination on the keyboard.
EDIT: My client currently is a Macbook Air M1 with brave browser, but the same happens on Mac with Firefox, Windows 11 with Firefox/Brave and QubesOS with Firefox/Brave. (all with latest updates)
EDIT2. I found this in the Collabora issue list:
https://github.com/CollaboraOnline/online/issues/3928#issuecomment-1212864641
Maybe this helps. Is it maybe a Nginx Proxy Manager config thing, that needs to be added/changed for the recent updates?
EDIT2. I found this in the Collabora issue list:
https://github.com/CollaboraOnline/online/issues/3928#issuecomment-1212864641
I tried this, but it didn't seem to work. I don't think this will work directly with the integrated version of Collabora in Nextcloud. You have the documentation for this here: https://sdk.collaboraonline.com/docs/installation/Proxy_settings.html
But if someone would do some investigation, we might find how to proxypass coolswd with our setup :-).
Maybe this helps. Is it maybe a Nginx Proxy Manager config thing, that needs to be added/changed for the recent updates?
It might be...
sounds like this CollaboraOnline/richdocumentscode#148, which has been merged but not released yet. Worked for me
sounds like this CollaboraOnline/richdocumentscode#148, which has been merged but not released yet. Worked for me
That did it! You just saved me some time. Thank you very much! :-)
Fixed in CollaboraOnline/richdocumentscode#208
Describe the bug When opening documents in Nextcloud Office, I can copy/paste within the document, but not from the clipboard from my PC. Text files are not affected of the issue.
I've followed this guide to configure Nextcloud (using official image, not AIO): https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
I've configured https forward with Nginx Proxy Manager to apache http in the Nextcloud container.
I've added both logs and config below. Any help would be highly appreciated :-).
To Reproduce Steps to reproduce the behavior:
Expected behavior Text should be pasted in the document.
Client details:
Server details
Operating system: OpenMediaVault with Debian 11. Nextcloud docker official image.
Web server: Nginx Proxy Manager Docker image in front of Apache in the docker image. Nginx openresty/1.19.9.1
In the Nextcloud container: Server version: Apache/2.4.54 (Debian) Server built: 2022-06-09T04:26:43
Database: Mariadb 10.5
PHP version: 8.1.12
Nextcloud version: 25.0.1
Version of the richdocuments app 7.0.1
Version of Collabora Online 22.5.802
Logs
#### Nextcloud administration log error ``` [PHP] Error: Error: Return type of OCA\Richdocuments\Db\Wopi::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/custom_apps/richdocuments/lib/Db/Wopi.php#190 at <Configuration
#### Docker compose ``` version: '2' volumes: nextcloud: db: services: db: image: mariadb:10.5 restart: always command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW volumes: - db:/var/lib/mysql environment: - MYSQL_ROOT_PASSWORD=