You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Jon B.1
11 months agoCollaborator | Level 9
Conflicted copy on a folder?
OK, I understand the principle of what creates a conflicted copy with a file, which has been updated while another user (or the same user's account on another machine) has also updated it remotely. ...
Walter
11 months agoDropbox Staff
HI there Jon B.1 - sorry to hear about this.
Could you have a look at the events page and let us know what you find about this specific conflicted folder?
Also, have you tried restoring a sample file from inside the folder and check its version history for more information about what might be happening?
Keep us posted!
- Jon B.111 months agoCollaborator | Level 9
Hi Walter! Here's some updates.
First of all, I'd like to point out that the problem appears to be timing-related -- we see it regularly on this one machine when encrypting/decrypting a large structure of folder and files in the multi-megabyte range. When doing it with a small structure with only a couple of text files, even on that machine, we don't see it.
As for the events log -- I'll see if I can get some complete screenshots of the relevant events, but to summarise: normally all that shows up in the Dropbox server events log for one of these re-encryptions is adds and deletions. (In fact, none of the files or folders are actually being added or deleted -- just re-encrypted in place and then renamed.) But in the failure case, we see the following sequence of events:
* On the first encryption, Subfolder 1 is "deleted" and its encrypted version GSj84f7wnI4059.empfs is "added" (along with its encrypted files)
* When re-encrypting the encrypted subfolder, its files are "deleted" and then "added" with their new names. These first two steps happen the same in normal cases and failure cases.
* GSj84f7wnI4059.empfs is "deleted"... but when it's re-added, it's not re-added as "Subfolder1", but "Subfolder1 (OrexTest3's conflicted copy)". Despite the fact that the old Subfolder1 was "deleted" some minutes earlier.
So that points the finger straight at the Dropbox client trying to reconcile the "new" folder with the "deleted" version of it from before... but where's it getting the idea that the "old folder", which the client and server acknowledged was deleted a couple of minutes ago, still exists?
- Nancy11 months agoDropbox Staff
Hi Jon B.1! I hope it’s OK if I jump in here.
It sounds like that’s the case, indeed; for some reason, Dropbox still “sees” the old folder, when the new one is generated, which creates this conflict.
If you could send us a couple of screenshots of what appears on your Events page, that’d be really helpful.
Let me know when you’re ready.
- Jon B.111 months agoCollaborator | Level 9
Hello Nancy! Here's an explanation and Events logs from two recent runs -- one successful, one failed. Both done on the same machine, the only one connected to that Dropbox account, so there's no interference from outside. (Every other machine and account we've tested with has consistently been working fine.)
The Events logs were too big for one screenshot, so I've put them into Word files with annotations:
[removed per Community Guidelines]
In both cases, we were testing with a three-level folder structure; we encrypted the parent folder, then shared the second-level folder (which re-encrypted it with its own keys), then shared the third-level folder (ditto). In the failure case, it's the third-level folder which gets the conflicted copy.
The encryption software encrypts the filenames, of course; in this case, the user had a folder "Level 2A" containing a subfolder "Level 3A". They encrypted "Level 2A", meaning that all its files were encrypted and renamed -- subfolder "Level 3A" became "qaKSYdh....empfs". Dropbox showed these changes as the old names being deleted and the new ones added... so far, so normal.
Then when the user shares the encrypted subfolder "Level 3A" separately -- the software then re-encrypts its contents under its own keys separate from its parent "Level 2A". What the encryption software does is:
* Change the (encrypted) name of each file inside "qaKSYdh....empfs" to use the new keys
* Change "qaKSYdh....empfs"' name back to "Level 3A"
Re-encrypt each file's contents inside Level 3A with the new keys
It happens in that order. But Dropbox handles it in this order:
* ""qaKSYdh....empfs"" and its contents are all deleted
* The new folder is added as "Level 3A (OrexTest3's conflicted copy)", with the files inside re-uploaded under their *old* encrypted names
* Then the files inside are re-deleted (still using their *old* names)...
* ...and re-added (using their new names)
This is weird on multiple levels -- first, it seems to think that the old "Level 3A" folder still exists, even though it was explicitly deleted before any of this. Also, it re-uploads the supposedly-conflicted "Level 3A" with the *old* file names, before replacing them with the new ones, despite the fact that the files' names were changed before the folder ones!
Frankly, I'm baffled, and any clue to why it thinks there's a conflict would be a big help.
About Create, upload, and share
Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.
Need more support
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!