haiwen / seafile-client

Seafile desktop client.
http://seafile.com
Apache License 2.0
477 stars 282 forks source link

[Bug]: Uninstalling OneDrive removed tons of files from SeaFile #1339

Open tvarsis opened 3 years ago

tvarsis commented 3 years ago

I use Seafile Drive Client 2.0.10 on Windows 10. I had a lot of files in Seafile and then uninstalled OneDrive. Somehow TONS of files where removed from Seafile for no apparent reason. It affected all folder so it seems like it looped through the whole Seafile storage and deleted files, but it kept some of the files. The files it kept seemed to be files that where locally synced and had been added to Seafile from this computer. All other files where deleted from Seafile server. I'm not 100% sure it was releated to the OneDrive uninstallation since I also changed some Windows 10 permissions during this time as part of some cleanup and maintainance of my Windows installation. However, I did not at all touch any of the Seafile folders, so something triggered this very strange and critical bug.

killing commented 3 years ago

It may due to the fact that SeaDrive 2.0 uses the same API as OneDrive does. We'll try to reproduce the issue. But may not have a perfect solution to it.

BTW, how do you uninstall OneDrive?

tvarsis commented 3 years ago

Thanks for your comment! I uninstalled it from the global Add/Remove Program settings.

CodeG0at commented 3 years ago

Just wanted to chime in, I had the same issue. Uninstalled OneDrive via "Add/Remove Programs" and seemingly all libraries got removed. Side note: Before uninstalling OneDrive, I had the SeaDrive icon in the explorer side bar (just like the onedrive one). After uninstalling, it was gone at first, but reappeared now.

Btw, is there a way to "one click" restore the contents of the recycle bin? Strangely enough, the last snapshot my seafile has of some libraries is the first one AFTER everything got wiped.

killing commented 3 years ago

@CodeG0at Perhaps you set the library history limit? Try changing that to unlimited.