Macos – Dropbox eats the files! Random deletes from Mac client

dropboxmacmacos

For months, I've been fighting one Mac machine that syncs with my dropbox account. I have sync to several Windows, Linux and OSX clients, and only one of them exhibits this problem.

Basically, it randomly deletes files. Seriously. Some days I will turn on another machine and be notified that x, x and z files have been deleted. A check online at the event log shows that it was my user from the mac machine that initiated the deletes. At first I thought somebody was playing with that machine, but I've since duplicated the behavior while I was watching. When it syncs, it frequently marks a few (or even hundreds) of files as deleted.

  • The files still exist and are marked with green X's on the Mac in question.
  • They can be undeleted from the dropbox website and they will show back up on all the clients. The next time the trouble mac syncs, they will be deleted again.
  • Usually the same files, but the fileset sometimes changes. Troublesome filesets persist at being trouble until they are undeleted a few dozen times and eventually something happens that it sticks.
  • It's usually in the most recently used folder, but not always the most recently touched files. Sometimes it's untouched files from months back.
  • Dropbox has been uninstalled / re-installed with the latest (1.1.35 at the moment) version, but this has persisted across a dozen upgrades.
  • I have unlinked the box, deleted the dropbox files and started over with a freshly linked and synced dropbox folder. The problem shows up immediately with a random batch of files deleted during the first sync.
  • One other Mac client has exhibited this problem once, but I've been unable to reproduce it there.
  • One other time a folder got stuck marked as syncing and would never finish 3 files. Deleting the folder with dropbox off, then starting dropbox and asking it to sync it again cleared that up.
  • The files in question have no special flags and are of varying file types (pdf, odt, mp3, etc). Some of the files originate from the trouble machine, others were created on other machines. The source doesn't seem to be a defining issue.

Any suggestions? I have to watch the event log every day that that machine gets turned on to see what gets deleted and manually restore them using the website.

Best Answer

This problem seems to be linked to "the Turkish issue" (involving both dotted and non-dotted versions of i). There is some kind of duplicate checking mechanism in Dropbox to side step problems with case insensitive file systems. In site of their claim to full UTF-8 support there is at least one bug affecting syncing of folders that contain characters that don't convert from upper to lower case and back round trip using generic algorithms.

Removing all content with the non English ı and İ characters solves this sync issue.

Once everything is in sync again across platforms, adding the content back in as find as long as there is there is not a file that would be ambiguous giving a non-case sensitive file system and a case conversion involving those letters.

Related Question