-
Notifications
You must be signed in to change notification settings - Fork 939
Open
Labels
Description
Describe the Bug
When I edit a document opened from a Nextcloud and I want to insert an image from my nextcloud into the document, I can browse my files, but when I click "insert file", nothing happen, and collabora logs this:
dec. 03 11:07:47 hostname coolwsd[1931654]: kit-1931654-1931654 2025-12-03 11:07:47.068565 +0100 [ kitbroker_2137 ] ERR ToMaster-4a0e2: CALLBACK_ERROR: { "code": 24581, "kind": "network", "cmd": "insert"}| kit/ChildSession.cpp:3742
dec. 03 11:07:47 hostname coolwsd[1931654]: kit-1931654-1931654 2025-12-03 11:07:47.068686 +0100 [ kitbroker_2137 ] ERR ToMaster-4a0e2: error: cmd=insert kind=network code=24581| common/Session.hpp:181
We found a way to reproduce, stated below:
Steps to Reproduce
- Install collabora
- Setup the configuration to have a remote_config url
- This remote_config URL spit out a JSON file containing a storage > wopi > alias_groups > groups > host > "https://mynextcloud.com"
- open an ODT document from mynexcloud.com using this collabora
- The document opens properly
- click Insert > Illustration > Image > Image... and select an image from your nextcloud
- click "insert this file" => nothing happen
To make it work we MUST add mynextcloud.com in the lok_allow key in the coolwsd.xml configuration statically
Expected Behavior
I expect lok_allow to be a dynamic configurable list too.
We tried to setup the remote_config with a lok_allow key too as follow:
{ "kind":"configuration", "net": { "lok_allow": { "hosts" : ["mynextcloud.com"] } } }
but it didn't work.
Actual Behavior
lok_allow is a static configuration list, it's seems to be read at boottime and can't be modified later.
- Collabora version: collabora online lite version 25.04.7-3
- OS and version: server running Debian 12
- Browser and version: Chrome 142
wolfo
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status