Cannot open document for editing in shared directory

Hi,

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
Collabora: 3.2.2.1

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 [https://xxx.xxx.xxx/index.php/apps/richdocuments/wopi/files/296409_508930ea5d155?access_token=2sm6N2r7JLk2om8j6dMuer2ZKbEHnCZK&access_token_ttl=0&permission=edit]: 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=https://xxx.xxx.xxx/index.php/apps/richdocuments/wopi/files/296409_508930ea5d155?access_token=2sm6N2r7JLk2om8j6dMuer2ZKbEHnCZK&access_token_ttl=0&permission=edit authorid=Gergely author=Gergelyauthorextrainfo=%7B%0A%20%20%22avatar%22%20:%20%22https:%5C/%5C/xxx.xxx.xxx%5C/index.php%5C/avatar%5C/Gergely%5C/32%22%0A%7D 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.