Cannot open document for editing in shared directory


if I upload a document to a shared directory, I cannot open it for editing until the owner of the shared directory open it once. After that I can also open and edit it.

Nextcloud: 13.0.2

wsd-00027-00127 13:09:49.402140 [ docbroker_012 ] ERR WOPI::GetFile failed with 503 Service Unavailable| wsd/Storage.cpp:631
wsd-00027-00127 13:09:49.402610 [ docbroker_012 ] ERR Failed to add session to [/index.php/apps/richdocuments/wopi/files/296409_508930ea5d155] with URI []: WOPI::GetFile failed| wsd/DocumentBroker.cpp:1000
wsd-00027-00127 13:09:49.402955 [ docbroker_012 ] WRN Attempted ping on non-upgraded websocket!| ./net/WebSocketHandler.hpp:280
wsd-00027-00127 13:09:49.403212 [ docbroker_012 ] WRN Child session [009f] no found to forward message: load url= authorid=Gergely author=Gergelyauthorextrainfo=%7B%0A%20%20%22avatar%22%20:%20%22https:%5C/%5C/ readonly=0 lang=hu| wsd/DocumentBroker.cpp:1482
wsd-00027-00127 13:09:49.460684 [ docbroker_012 ] ERR Invalid or unknown session [009f] to remove.| wsd/DocumentBroker.cpp:1067

Thank you!

I’m experiencing the same error on an .ods file I’ve always been able to open.

Nextcloud 15.04
Collabora Docker image, tag latest from: February 14, 2019 01:42 PM`

No idea how to solve, at the moment

I have understood what happened (in my case)

I had edited a file from the Android application. Since then, I could not open anymore the file from the Nextcloud application.

Moreover the file was destroyed. Luckily the Android app downloads the file and edit it using google drive. I could recover a copy uploaded on gdrive.

(I see some irony in all this)

Filed a bug, not sure if it’s a problem of the Android App or the Collabora file server.