since upgrading to Nextcloud 13 yesterday I cannot open documents with Collabora anymore.
When I click on an office document Collabora (3.0.0.4) loads and then shows an error message:
Lesen des Dokuments vom Speicher fehlgeschlagen.
Bitte kontaktieren Sie den Administrator Ihres Speicherservers.
This could be translated as:
Could not read document from storage.
Please contact the system administrator of the storage server.
There are no entries in the nextcloud log related to this.
When I look at the logs of the Collabora docker container I see this everytime I try to open a document:
collabora_1 | wsd-00027-00035 08:43:32.784486 [ websrv_poll ] WRN WOPI host did not pass optional access_token_ttl| wsd/FileServer.cpp:540
collabora_1 | wsd-00027-00040 08:43:33.494165 [ docbroker_001 ] ERR WOPI::CheckFileInfo failed with 500 Internal Server Error| wsd/Storage.cpp:520
collabora_1 | wsd-00027-00040 08:43:33.495286 [ docbroker_001 ] ERR Failed to add session to [/apps/richdocuments/wopi/files/CENSORED] with URI [https://CENSORED/apps/richdocuments/wopi/files/CENSORED?access_token=CENSORED&access_token_ttl=0&permission=edit]: WOPI::CheckFileInfo failed| wsd/DocumentBroker.cpp:992
collabora_1 | wsd-00027-00040 08:43:33.496018 [ docbroker_001 ] WRN Child session [0002] not found to forward message: load url=https://owncloud.matthias-fetzer.de/apps/richdocuments/wopi/files/CENSORED?access_token=CENSORED&access_token_ttl=0&permission=edit readonly=0 lang=de| wsd/DocumentBroker.cpp:1474
collabora_1 | wsd-00027-00040 08:43:33.496056 [ docbroker_001 ] WRN Attempted ping on non-upgraded websocket!| ./net/WebSocketHandler.hpp:280
collabora_1 | wsd-00027-00040 08:43:33.525189 [ docbroker_001 ] ERR Invalid or unknown session [0002] to remove.| wsd/DocumentBroker.cpp:1059
collabora_1 | wsd-00027-00028 08:43:34.497110 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_001], started: true, finished: true| ./net/Socket.hpp:512
collabora_1 | wsd-00027-00028 08:43:34.497194 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_001], started: true, finished: true| ./net/Socket.hpp:512
collabora_1 | wsd-00027-00028 08:43:34.497284 [ prisoner_poll ] WRN Prisoner connection disconnected but without valid socket.| wsd/LOOLWSD.cpp:1546
collabora_1 | wsd-00027-00028 08:43:34.497424 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_001], started: false, finished: true| ./net/Socket.hpp:512
collabora_1 | wsd-00027-00028 08:43:34.497454 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_001], started: false, finished: true| ./net/Socket.hpp:512
This Problem comes with Nextcloudhub 20, too.
After Installing Nextcloud without docker after https://decatec.de/home-server/nextcloud-auf-ubuntu-server-20-04-lts-mit-nginx-mariadb-php-lets-encrypt-redis-und-fail2ban/, I set up the Nextcloud-Collabora-App with the right URL. Collabora is hosted on another Server and correctly linked in the Collabora-App.
The Collabora-server works with nginx, letsencrypt and collabora in docker-containers.
I set the correct url for my nextcloud-instance in docker-compose.yaml. I started the docker-compose with docker-compose up -d --remove-orphants. I rebooted both server.
But when I want to open a .docx- or a .odf-File or I want to make a new one, then the error-message above windows up.
Anyone who can help me?
The Collabora-Server doesn’t manage curved-safed certificates. The reading from curved-saved sites will break.
Solution
Inactivate the curved-certificates in ssl.conf and in cloud.mydomain.de.conf for nginx.
This guys who implemented a nextcloud-server after the Decatec-Tutorial would find the links to the curved certificates in /etc/nginx/conf.d/cloud.mydomain.de.conf
and in /etc/nginx/snippets/ssl.conf.
Here you must inactivate the Link to the Cert in /etc/nginx/conf.d/cloud.mydomain.de.conf and uncomment in /etc/nginx/snippets/ssh.conf with #: