Collabora installation issues - Download file [/opt/lool/child-roots/ws/user/docs/https:/] not found


mostly everything is working but if I try to open a document, I can see the collabora UI with the error message “Unexpected error…”

For some reason, the collabora instance is parsing the download url wrong. The part behind “/lool/ws…” allone works fine.

here is my current logfile. Maybe someone has an idea.

`wsd-00021-05 00:00:37.062449 [ client_req_hdl ] Request from GET /lool/ws/https://{mydomain}/nextcloud/index.php/apps/richdocuments/wopi/files/39883?access_token=RuR6I4iQTxzSgqSFzPmuYde1MvbYQoZY HTTP/1.1 / Host: {mydomain} / User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 / Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 / Accept-Language: en-US,en;q=0.5 / Accept-Encoding: gzip, deflate, br / Sec-WebSocket-Version: 13 / Origin: https://{mydomain} / Sec-WebSocket-Extensions: permessage-deflate / Sec-WebSocket-Key: hWeIFHk3Ok44k73NZ4QZxw== / Authorization: Basic aGhlZXM6RzUhZmN+eDkkVEc/MVklbiY3UA== / Pragma: no-cache / Cache-Control: no-cache / Via: 1.1 {mydomain}:9443 / X-Forwarded-For: / X-Forwarded-Host: {mydomain} / X-Forwarded-Server: {mydomain} / Connection: Keep-Alive
wsd-00021-05 00:00:37.062554 [ client_ws_0002 ] Thread started.
wsd-00021-05 00:00:37.062590 [ client_ws_0002 ] Post request: [/lool/ws/https://{mydomain}/nextcloud/index.php/apps/richdocuments/wopi/files/39883?access_token=RuR6I4iQTxzSgqSFzPmuYde1MvbYQoZY]
wsd-00021-05 00:00:37.062643 [ client_ws_0002 ] File download request.
wsd-00021-05 00:00:37.062670 [ client_ws_0002 ] HTTP request for: /opt/lool/child-roots/ws/user/docs/https:/
wsd-00021-05 00:00:37.062722 [ client_ws_0002 ] Download file [/opt/lool/child-roots/ws/user/docs/https:/] not found.
wsd-00021-05 00:00:37.062887 [ client_ws_0002 ] ClientRequestHandler::handleRequest: BadRequestException: Invalid or unknown request.


I found the issues.

My fault was that I created different Locations in my apache conf file. To get this working properly you must revert the order of that Locations.

<Location /lool>

<Location /lool/ws>

<Location /lool/adminws>

last match first serve.