-
Notifications
You must be signed in to change notification settings - Fork 811
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]: Nextcloud Client corrupting Harddrives (SSD) - Severe Bug? #6364
Comments
Hi @q2apro The Nextcloud Desktop can only use the operating system's usermode API to write files, how can such kind of usage cause a corruption at file system level? Can you exclude, for example, the following cause: your SATA cable/connector is slightly damaged (perhaps not visibly) and Nextcloud is using your drive more often than the other apps, so when your hardware problem is causing corruption it will likely happen on Nextcloud data? This possible cause is perfectly fit for your steps to reproduce and the observed effects, and has higher chances to be true than a user app corrupting the filesystem. Unfortunately your steps to reproduce won't systematically determine the described effect. I hope this helps |
Thank you for your reply. The PC is brand-new (Gigabyte GTX1650 4GB GDDR5 passiv), also the cable. Main SSD is SSD M.2 Samsung 980 500GB. There are two added SSD:
Connected like this: Unfortunately I do not have another SATA cable at the moment. However, I have removed Nextcloud from the autostart. This way I can see if the "corrupted harddrive" error also appears in the next days/weeks - without Nextcloud. Note: The SSD harddrives I have used on a former computer without any errors. Only after getting the new computer, installing them, and using Nextcloud, the problem started. |
Thanks for your sharing! You might as well try to configure Nextcloud Desktop's synchronization folder to be in another disk i.e. the main disk, that may also help speeding up your troubleshooting. |
That other situation that was reported did turn out to be a hardware/local configuration issue. It was not the Desktop client. |
Just wanted to report back that I did neither unplug the PC, nor turned it off. I came back after 10 days, turned on the PC and the SSDs worked. It could be that the issue is related to: https://www.reddit.com/r/buildapc/comments/14ib1v0/power_went_out_while_gaming_now_my_ssd_doesnt/ For anyone having some SSD issue, try:
As a next attempt, I will turn off the PC completely (also unplug the socket) and report back in two weeks if the error above happened again. |
Update: In the evening I let the computer running, Nextcloud said the sync will take 5 hours. The next morning I returned to the computer and see the Windows error message again: "Scan drive for errors" Nextcloud was not running anymore. So I think Windows updated over night and restarted. This morning I have changed the two SATA cables. Restarted the computer. Started Nextcloud again, seemed to have synched all data. But showed this error: Now running I will report back. Here are the logs before the error (found in
The other log files are also at 21:56 and before. So I guess the Windows restart did not happen, but the error appeared with Nextcloud. And Nextcloud shut down. I checked all the Windows startup times with
There was no Windows reboot on 31.01.2024. The Error appeared while Nextcloud was operating. |
And here is the Nextcloud sync log just before the other log file (which started
|
And besides, the 139 error messages Nextcloud throws and says "Could not remove folder". Here are entries from the log:
How to fix this issue? |
@q2apro |
I prefer closing this issue as I believe this is more a request for help (and I know people are actively helping on the forum) |
@q2apro as a side note: from the error messages you posted, looks like you're syncing also some app's internal folders (for instance: "D:\Portables\VLCPortable\App\vlc\lua\meta\fetcher"). |
Bug description
Nextcloud starts with Windows. Starting full resynchronization process. Harddrive shows up as corrupted in Windows. No access to Harddrive and thus no sync is possible anymore (please read details below).
Steps to reproduce
Forcing you to use fchdsk on next start which takes about 8 hours to fix the corrupted sectors!
Something similar has been reported at (but there with USB): https://www.reddit.com/r/NextCloud/comments/111o5pu/filesystem_corruption_due_to_nextcloud_am_i_the/)
Connection at my computer is SATA.
0 MB
and the server version with data.In my opinion it is definitely the Nextcloud desktop client that writes in some way that the SSDs (NTFS) get corrputed.
SEVERE BUG
Expected behavior
Which files are affected by this bug
several local files
Operating system
Windows
Which version of the operating system you are running.
Windows 10
Package
Appimage
Nextcloud Server version
27.1.5
Nextcloud Desktop Client version
3.11.0
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 Enabled
The text was updated successfully, but these errors were encountered: