-
Notifications
You must be signed in to change notification settings - Fork 793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Data Loss during External Storage Disconnect #6099
Comments
@swartzlib7 |
Hi Matthieu, thank you for getting back to my issue here. I updated my client AppImage since the last issue, but the logs might still be available if this is stored in my home directory. Can you tell me where I could find it? I'm running linux. |
@swartzlib7 the logs are by default (unless you changed the settings) kept for 24 hours |
so the logs are by default located in |
Yeah those logs are long gone. Thank you for helping me with this! I suspect the storage device didn't start or come back online after a power failure, I'm not certain which. |
@swartzlib7 I am investigating |
If I understood correctly, I just ran into the same issue. The desktop client deleted a bunch of files with the message Here is the debug archive exported from the desktop client (was too big for GitHub). Nextcloud desktop is installed through pacman. My system informationOperating System: Arch Linux |
This is a rather urgent issue, and I would love to see this addressed quickly. If you need anything else, please let me know. |
Thank you for this and to everyone else who also confirmed the same thing happening on their clients. I have since moved away from the NextCloud Pi solution and the Pi4 I used. I am now on different hardward and the NextCloud AIO solution. So far this is far better and also a bit faster due to the new hardware. That said, I still have this in the back of my mind and would love to see a fix with clear UI / log indication of an event where an external mount goes missing and then to have its files being "orphaned" or left alone in-place rather than kicked out into a "black hole". What I have done to prevent this is the following workaround:
Now with this I know: when my external drive fails or does not mount for any reason, my entire Nextcloud server will be taken down with it and become unavailable to the sync client which will prevent it from going psychotic on me by deleting all my external storage files. Sincerely, |
My nextcloud desktop client (3.12.0 windows) also deleted all my local files after the SMB share becomes unavailable for nextcloud (27.1.7) because of a software package update for samba was installed. I think it is almost not a good behavior of a file client to delete GBs of data, without asking the user. |
was your SMB mount point added as external storage ? |
Related: #1984 |
Bug description
Data Loss during External Storage Disconnect
Firstly, thank you for the awesome Desktop Sync client and Nextcloud in general. I love it. We do however have a small problem to be addressed rather rapidly.
This issue is fairly serious and hits at confidence in sync client behavior which will cause loss of data locally due to a common technical issue of having your external storage device fail or be turned off without turning while still running your Nextcloud instance.
Hardware and Configuration
Situation
Result
Suggestion
Steps to reproduce
Expected behavior
Which files are affected by this bug
no_idea.log
Operating system
Linux
Which version of the operating system you are running.
Pop!_OS 22.04 LTS
Package
Appimage
Nextcloud Server version
27.0.1
Nextcloud Desktop Client version
v3.10.0 (KDE)
Is this bug present after an update or on a fresh install?
Fresh desktop client install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
Nextcloud Server logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: