CollaboraOnline / online

Collabora Online is a collaborative online office suite based on LibreOffice technology. This is also the source for the Collabora Office apps for iOS and Android.
https://collaboraonline.com
Other
1.78k stars 681 forks source link

Can only edit the first file, others say can't add session or need to await too much time! #5733

Closed abelncm closed 1 month ago

abelncm commented 1 year ago

I'm using Pydio and Collabora, all inside docker. First file I open Collabora comes up fast and let's me edit, jumping to another file Collabora says connecting, then server disconnected, then in logs i can see some errors.

My docker compose file:

version: '3.7' services:

caddy: image: caddy:alpine restart: unless-stopped volumes:

volumes: data: {} cellsdir: {} mysqldir: {}

My Caddyfile:

local.docs { tls internal

@collabora {
    path /browser/* # Loleaflet is the client part of LibreOffice Online
    path /hosting/discovery # WOPI discovery URL
    path /hosting/capabilities # Show capabilities as json
    path /cool/* # Main websocket, uploads/downloads, presentations
}

reverse_proxy localhost:8080 {
    transport http {
        tls_insecure_skip_verify
    }
}

route @collabora {
    reverse_proxy localhost:9980 {
        transport http {
            tls_insecure_skip_verify
        }
    }
}

}

abelncm commented 1 year ago

the following error:

pydio-cells-1 | 2023-01-19T13:26:56.577Z ERROR cannot retrieve node with uuid {"NodeUuid": "34c672c3-ba44-4124-b3e3-ed1c72dfb671", "error": "{\"Id\":\"path.not.readable\",\"Code\":403,\"Detail\":\"path is not readable\",\"Status\":\"Forbidden\"}", "UserName": "admin", "UserUuid": "b27a5c1b-d7d1-4ae4-aeae-c0bdd86720a3", "GroupPath": "/", "Profile": "admin", "Roles": "ROOT_GROUP,ADMINS,b27a5c1b-d7d1-4ae4-aeae-c0bdd86720a3"} pydio-cells-1 | 2023-01-19T13:26:56.577Z ERROR cannot find node from request {"error": "{\"Id\":\"path.not.readable\",\"Code\":403,\"Detail\":\"path is not readable\",\"Status\":\"Forbidden\"}", "UserName": "admin", "UserUuid": "b27a5c1b-d7d1-4ae4-aeae-c0bdd86720a3", "GroupPath": "/", "Profile": "admin", "Roles": "ROOT_GROUP,ADMINS,b27a5c1b-d7d1-4ae4-aeae-c0bdd86720a3"} pydio-collabora-1 | wsd-00001-00323 2023-01-19 13:26:56.578450 +0000 [ docbroker_00f ] ERR WOPI::CheckFileInfo failed for URI [https://local.docs/wopi/files/34c672c3-ba44-4124-b3e3-ed1c72dfb671?access_token=ck9nd7I7ltNukgCJP_JxTIiHuGCd2IT0QyLpORVwy9Q.O0dY1bFw_-ehV_zJQdoTWXftkzgbbYhP4AXsp7Z2s3s&access_token_ttl=0&permission=edit]: 404 Not Found. Headers: Alt-Svc: h3=":443"; ma=2592000 / Content-Length: 0 / Content-Type: application/json; charset=UTF-8 / Date: Thu, 19 Jan 2023 13:26:56 GMT / Server: Caddy / Body: []| wsd/Storage.cpp:687 pydio-collabora-1 | wsd-00001-00323 2023-01-19 13:26:56.578581 +0000 [ docbroker_00f ] ERR loading document exception: WOPI::CheckFileInfo failed: | wsd/DocumentBroker.cpp:2339 pydio-collabora-1 | wsd-00001-00323 2023-01-19 13:26:56.578622 +0000 [ docbroker_00f ] ERR Failed to add session to [https://local.docs:443/wopi/files/34c672c3-ba44-4124-b3e3-ed1c72dfb671] with URI [https://local.docs/wopi/files/34c672c3-ba44-4124-b3e3-ed1c72dfb671?access_token=ck9nd7I7ltNukgCJP_JxTIiHuGCd2IT0QyLpORVwy9Q.O0dY1bFw_-ehV_zJQdoTWXftkzgbbYhP4AXsp7Z2s3s&access_token_ttl=0&permission=edit]: WOPI::CheckFileInfo failed: | wsd/DocumentBroker.cpp:2301 pydio-collabora-1 | wsd-00001-00323 2023-01-19 13:26:56.578664 +0000 [ docbroker_00f ] ERR Storage error while starting session on https://local.docs:443/wopi/files/34c672c3-ba44-4124-b3e3-ed1c72dfb671 for socket #33. Terminating connection. Error: WOPI::CheckFileInfo failed: | wsd/COOLWSD.cpp:4737 pydio-collabora-1 | wsd-00001-00323 2023-01-19 13:26:56.598017 +0000 [ docbroker_00f ] WRN DocBroker [https://local.docs:443/wopi/files/34c672c3-ba44-4124-b3e3-ed1c72dfb671] got disconnected from its Kit (-1). Closing.| wsd/COOLWSD.cpp:3283 pydio-collabora-1 | wsd-00001-00039 2023-01-19 13:26:56.598349 +0000 [ prisoner_poll ] WRN Prisoner connection disconnected but without valid socket.| wsd/COOLWSD.cpp:3275 pydio-collabora-1 | wsd-00001-00039 2023-01-19 13:26:56.598404 +0000 [ prisoner_poll ] WRN An unassociated Kit disconnected.| wsd/COOLWSD.cpp:3290 pydio-collabora-1 | wsd-00001-00039 2023-01-19 13:26:56.696334 +0000 [ prisoner_poll ] WRN Attempted ping on non-upgraded websocket! #32| net/WebSocketHandler.hpp:573 pydio-collabora-1 | wsd-00001-00054 2023-01-19 13:26:56.713201 +0000 [ websrv_poll ] WRN Client - server version mismatch, disabling browser cache. Expected: 20c06f5; Actual URI path with version hash: /browser/dist/cool.html| wsd/FileServer.cpp:516