owncloud / richdocuments

:notebook_with_decorative_cover: Collabora Online for ownCloud
118 stars 53 forks source link

Cannot edit shared file from encrypted storage (but download) #198

Open ghost opened 6 years ago

ghost commented 6 years ago

owncloud-10.0.0.3 richdocuments-1.1.26 Collabora Office on different server (installed from Debian packages) default encryption module, user keys

The problem: When creating a new document as one user and sharing it with another user or group, this other user cannot edit the document using Collabora Office.

Collabora opens the interface (I can see the Collabora Office buttons), but then a box with the following message pops up: "Failed to read document from storage. Please contact your storage server (owncloud instance) administrator."

owncloud.log says: {"reqId":"pTOTYx6hMO2sJ28vwvgt","level":3,"time":"2017-11-21T06:40:29+00:00","remoteAddr":"78.47.159.124","user":"--","app":"no app in context","method":"GET","url":"\/index.php\/apps\/richdocuments\/wopi\/files\/52960_oc8b76qu8yjc\/contents?access_token=rRqdQVZV9BW5wWhnxCge46TH0ICBCzay&access_token_ttl=0&permission=edit","message":"Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you."}

Again, downloading the file works without problems, so owncloud can decrypt. This also is a newly shared file, and resharing does not help.

ghost commented 6 years ago

Nextcloud seems to have the same issue: https://github.com/nextcloud/richdocuments/issues/123