-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
⚠️ Before posting ⚠️
- This is a bug, not a question or an enhancement.
- I've searched for similar issues and didn't find a duplicate.
- I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- I agree to follow Nextcloud's Code of Conduct.
Steps to reproduce
- set up VPN connection to nextcloud server
- sync some files
- kill vpn connection such that nextcloud client looses connection
- wait a few hours until programs such as davx start complaining about lost connection
- synced files are now deleted
Expected behaviour
The synced files should not be deleted under any circumstances unless the user explicitly deletes them. The client loosing connection to the server should not result in synced files being deleted.
Actual behaviour
I have asked this question on the help.nextcloud.com forum, so I will just copy and paste.
For whatever reason when my phone (Samsung S23, Nextcloud Android app, version 3.27.0) looses connection to my nextcloud server, it decides that all the synced files are to be deleted. This happened three times already and I have to re-download (resync) everything, so you can imagine this is supremely frustrating.
I access my nextcloud server via a vpn connection, so if the vpn server dies → nextcloud connection dies. I woke up today with a bunch of DavX notification that all read along the lines “cannot sync”, “no connection”, etc. I promptly restarted the server. If there are any app logs I can share with you, just tell me where they are and I shall share them.
It does not start syncing the files on it’s own, which is strange in its own way, the files are completely gone from the phone and I have to go into the folder and click on the three dots → sync.
Also I have noticed it also happens on my tablet as well.
Android version
14
Device brand and model
Samsung S23, Samsung Galaxy Tab S4
Stock or custom OS?
Stock
Nextcloud android app version
3.27.0
Nextcloud server version
28.0.1
Using a reverse proxy?
Yes
Android logs
No response
Server error logs
No response
Additional information
I have not found any logs on my phone unfortunately. The folder /data/ does not exist on my phone.