Skip Navigation

Nextcloud client just deleted all of my files, why did it do this?

For a long time I've used OneDrive to sync all of my files and keep them safe, but I've been really getting into self hosting all my own services, so today I set up NextCloud to replace it. I told it to sync my OneDrive folder, and it did it's best. It copied the file structure and had all the directories and everything but emptied every folder, it deleted every single file I had on my OneDrive, now all I have is empty folders.

Luckily OneDrive has a file recovery system where I can give it a time and date to revert back to so my data should all be safe, but why on earth did it do that in the first place? This was incredibly stressful and terrifying I thought I lost all my work. What did I do wrong?

Edit: I’ve identified the issue and have learned from this experience, it is now a non issue and was completely my own doing. Wary reader, learn from my cautionary tale

Comment that helped me figure it out https://lemmy.ca/comment/12912420

You're viewing a single thread.

19 comments
  • When you say "I told it to sync my one drive folder, and it did it's best" did you install nextcloud desktop and point it at the same folder that was currently syncing onedrive?

    If yes, never do this. You should never layer two sync services that support virtual files over the same folder. The best way migrate to nextcloud is to use the nextcloud apps that connect to one drive and help you migrate.

    Failing that the correct way would be to either set onedrive and nextcloud to sync 2 Seperate folders then copy from the onedrive folder to the nextcloud folder. Or set one drive to download all files, disable it entirely, then install nextcloud syncing with the formerly one drive folder.

19 comments