Sync is broken when using two devices
Steps to reproduce:
- Create an encripted folder and place a file there on first laptop.
- Log in on second laptop. All files are viewable.
- Add new file from a second laptop. => you'll see message "File deleted from server" and some problems with the sync.
Reproduced on Windows-Windows and Windows-Linux clients.
Is anything wrong with my usage?
@camilasan
I'd like to add some details.
Now I have that problem on 15.0.7 server. I tried to test long ago and faced the same problem on 14.0.0 and 15.0.0.
For example, now I have two files in encrypted directory:
curl-7.52.1-win64-mingw.7z - from one computer
Nextcloud-2.3.3.1-setup.exe - from the second computer. After adding it, I see problem like that:
The content of the folder is:
I see them on server as well. They are recognizable by timestamps.
From log I see API request failed:
[OCC::AbstractNetworkJob::slotFinished QNetworkReply::NetworkError(ContentNotFoundError) "Server replied \"404 Not Found\" to \"GET http://172.20.143.82/nextcloud/remote.php/dav/files/watashi/Documents/curl-7.52.1-win64-mingw.7z\"" QVariant(int, 404)
[OCC::WebFlowCredentials::stillValid Still valid?
[OCC::WebFlowCredentials::stillValid QNetworkReply::NetworkError(ContentNotFoundError)
[OCC::WebFlowCredentials::stillValid "Error transferring http://172.20.143.82/nextcloud/remote.php/dav/files/watashi/Documents/curl-7.52.1-win64-mingw.7z - server replied: Not Found"
[OCC::PropagateDownloadFile::slotGetFinished server replied 404, assuming file was deleted
The 'http://172.20.143.82/nextcloud/remote.php/dav/files/watashi/Documents/curl-7.52.1-win64-mingw.7z' shows 'Not Found' error in browser as well.
But on server this file is called c20f7b2ef62e47d58b5dda25357c31b8, not curl-7.52.1-win64-mingw.7z. May be it's a root cause?
Can confirm. Had the same issue "File deleted from server".
This Bug is still Around. Will it be fixed any Time soon? Because otherwise i will Need Something else for End to end encryption.
Moving to desktop client repo ...
cc @misch7
I can't seem to be able to reproduce this one on latest master. I will close it now and it that still shows up with the upcoming 2.7 releases please reopen with further details on how to reproduce it.