Trying to run Collabora Online (Docker container) and the Nextcloud Richtdocuments App working on a Debian Stretch installation, I get the following error from dockerized Collabora Online when opening a (or creating a new) LO document from within Nextcloud:
[…]
kit-00037-04 00:13:15.142813 [ kit_queue_0002 ] Failed to load: file:///user/docs/37/About.odt, error: loadComponentFromURL returned an empty reference
kit-00037-04 00:13:15.142929 [ kit_queue_0002 ] Failed to get LoKitDocument instance.
kit-00037-04 00:13:15.143025 [ kit_queue_0002 ] ToMaster-0002 Send: error: cmd=load kind=faileddocloading
e[kit-00037-02 00:13:15.143214 [ kit_callback ] CallbackWorker::callback [ToMaster-0002]: STATUS_INDICATOR_START [(nil)].
kit-00037-02 00:13:15.143278 [ kit_callback ] ToMaster-0002 Send: statusindicatorstart:
37mwsd-00023-03 00:13:16.582532 [ prison_ws_0002 ] ToPrisoner-0002 Recv: error: cmd=load kind=faileddocloading
wsd-00023-03 00:13:16.583010 [ prison_ws_0002 ] ToPrisoner-0002: handling [error: cmd=load kind=faileddocloading].
wsd-00023-03 00:13:16.583054 [ prison_ws_0002 ] ToPrisoner-0002 → ToClient-0002: error: cmd=load kind=faileddocloading
wsd-00023-03 00:13:16.583095 [ prison_ws_0002 ] ToClient-0002 Send: 37 bytes
kit-00037-04 00:13:15.144277 [ kit_queue_0002 ] Socket handler flagged for finishing.
kit-00037-04 00:13:15.144329 [ kit_queue_0002 ] Thread finished.
[…]
kit-00037-00 00:13:15.179175 [ loolkit ] Termination flagged. Finishing.
kit-00037-00 00:13:15.179248 [ loolkit ] SocketProcessor finishing. TerminationFlag: 1, n: 83, payload size: 0, flags: 81
kit-00037-00 00:13:15.179285 [ loolkit ] SocketProcessor finished.
kit-00037-00 00:13:15.179322 [ loolkit ] Removing ‘/lo’
kit-00037-00 00:13:15.315182 [ loolkit ] Removing ‘/user/docs/’
wsd-00023-00 00:13:16.755676 [ prison_ws ] SocketProcessor: exception: Connection reset by peer
wsd-00023-00 00:13:16.755746 [ prison_ws ] SocketProcessor finished.
In the browser, I see the text modification tools on top but below it says “Connecting…”, the wheel symbol keeps spinning and no document is ever loaded.
In Comment #38, pupaxxo wrote that he had patched apps/richdocuments/controller/documentcontroller.php to remove ?encoding=text from $token, but contrary to Nemskiller that didn’t change anything for me.
I’m running Nextcloud 10.0.0 with updated Richdocuments app (1.1.6) and latest Collabora Online Docker image and followed the tutorial from Collabora Online in Nextcloud.
Any suggestions how to go on?