HELP! TS-653D running QTS 5.2.10 latest ... keeps deleting files and folders?

HELP! TS-653D running QTS 5.2.10 latest … keeps deleting files and folders?

I have 3 SMB shares - MULTIMEDIA, MY DATA and DOWNLOADS and since the weekend the NAS appears to be deleting all files and folders from my shares - luckily I can restore the lost files from each Recycle Bin but it keeps happening.

I restored from recycle bin at the weekend and it’s all happened again within 3 days.

Complete N00b. I don’t have snapshots enabled. And have no idea where to even begin.

I don’t have any NAS sync or remote access enabled.

I am running the latest firmware.

What can I check please?

Hi and welcome to the forum. :slight_smile:

If your files are in the recycle bin, it’s not the NAS deleting them: it’s one of your attached clients.

Hi & thanks :slight_smile:

What makes you think that? any idea how I can pin point this?

The recycle bin (actually Network Recycle Bin) is where shared files are put when a client deletes them.

How many clients on your LAN have read-write access to the NAS shares?

If many, shut them all down, and only allow one client device at a time to connect to the NAS. Monitor your files for 24 hours (or however long it usually takes for the files to be deleted). If none are deleted, repeat with the next device.

Hopefully, you’re not exposing any NAS services to the Internet.

thanks - no, not open to the internet.

Just me and my wife .. at home with a couple of Macs, Windows PC, ipads and appleTVs.

I’m the only one that has write access to the MY DATA and DOWNLOAD folder so weird this is happening.

Is there anything in the Network Recycle Bin to show when files were deleted? I’ve not looked at it for many years, so I don’t recall what information it makes available to the user.

If you can see deletion datetimes, that might help find the culprit.

You may also be able to see it in the NAS Access Logs, the date, username, file and action (read/write/delete)

I’ve sat at my screen and watched the files/folders disappear and no one else is on the computer. AppleTVs are all off. The Mac are all pretty standard apart from an app I use called Mountmate to help map drives.

Hmm, so it may be your computer deleting them. If it’s running macOS you probably need to hear from other macOS users. I’m not that familiar with it.

Are you using Qsync? And are you syncing with a cloud service? If so, this is what can happen. I’ve seen it happen myself. You can’t use Qsync to sync a cloud service like iCloud or OneDrive to the QNAP.

So for example, if your documents folder or your desktop folder are sync’d to your iCloud account and then you also try to sync them to your NAS, bad things can happen. I had a situation with my OneDrive account for the job I had before I retired. I had videos from Teams calls that kept getting deleted. It was Qsync and after a ticket and discussion with QNAP, they were like, “Yeah, you can’t use Qsync with cloud services.” I think they have an app note on this as well…

Could you check the contents of your access log to help confirm the deletion you described? That would allow us to assist you further. Thanks!

Hi, no - not using Qsync. Using HBS3 to sync a onedrive share but turned that off when I started problems.

I think I have narrowed down the issue. Since turning off Mountmate to connect my NAS SMB shares to my Mac things appear to have stablised - or at least no more files dissapearing to the recyclebin.

Strange thing is my setup has been rock-solid since day 1. I was syncing my onedrive using HBS3 to a network share which clients were syncing with using SyncTime on a Mac .. but then something has happened with [I am guessing/assuming] Mountmate from v5.1 to the current 5.19.

Will look if it happens again - but I couldn’t see anything obvious.

It later occurred to me you may have been describing the macOS desktop recycle bin.

Is that where you found the deleted files?

Or did you find them in the NAS Network Recycle Bin?

the NAS recyclebin

How did you find them? Did you login to the QTS web UI?

Noticed them in the recycled directory on the NAS share but yes then saw them / recovered from the NAS recyclebin QTS GUI

Cheers mate. :nerd_face:

Syncing PC to NAS, NAS to Onedrive, Onedrive to PC creates a loop with propagation delays between each pair. You can end up with situation where you end up with, say,

Myfile.txt, Myfile.txt - copy, Myfile.txt - copy of copy, Myfile.txt - copy of copy of copy, etc

Similar happens when you delete a file, with propagation delays causing a file to be deleted, then re-copied from elsewhere, or deleted etc,

Onedrive sync is 2 way by default, HBS3 can be made 2 way or 1 way in either direction. I don’t know about Mountmate (I use Qsync on Windows) but I’ve found the most convenient way is to not sync the Onedrive folder between the PC and the NAS - any files get there eventually anyway.

And yes, I had exactly the same problem in the past before I thought it through :grin:

What is Mountmate and why do you need it? Macs can connect natively to SMB shares…

Edit: OK, I looked it up. Seems like it’s just a drive mounting manager. Still not sure why it’s needed. Drives are pretty easy to mount and unmount on Macs…

But further, I don’t know why that would cause your issue. Something is trying to sync in a circle. I think @Richard may have it correct. You get some sort of loop in there which causes problems…