# Failed sync of encryptor directory

**URL:** <https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267>\
**Category:** Troubleshooting\
**Created:** [March 31, 2017, 6:25am UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267 "2017-03-31T06:25:57Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![cdl](https://forum.odrive.com/letter_avatar_proxy/v4/letter/c/22d042/32.png) [@cdl](https://forum.odrive.com/u/cdl)\
**Post date:** [March 31, 2017, 6:25am UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/1 "2017-03-31T06:25:57Z")

</div>

I am getting a very informative error (“unexpected error, please try again later”) when trying to sync a directory in an Encryptor volume to Amazon Cloud Drive. All the other directories are fine, but when I try and force sync the specific problem directory, I get that error.

I have chunking set to 2 GB, and no other limits set. Any thoughts? At least better log messages would be appreciated.

OSX 10.12.

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [March 31, 2017, 6:50am UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/2 "2017-03-31T06:50:05Z")

</div>

Hi @cdl,  
It may be a strange error coming back from Amazon.

This is on an upload?

Can you send a diagnostic from the odrive menu and provide the folder name so I can take a look?

---

<div class="post-metadata">

**Author:** ![cdl](https://forum.odrive.com/letter_avatar_proxy/v4/letter/c/22d042/32.png) [@cdl](https://forum.odrive.com/u/cdl)\
**Post date:** [March 31, 2017, 5:11pm UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/3 "2017-03-31T17:11:28Z")

</div>

I just sent a diag to you. Probably came with the user [liljenstolpe@gmail.com](mailto:liljenstolpe@gmail.com). The directory is Encryptor/filecabinet/tax

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [March 31, 2017, 5:22pm UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/4 "2017-03-31T17:22:03Z")

</div>

Hi @cdl,  
I’m taking a look now.

Can you tell me a little bit about your setup?  
Are you using any symlinks within the odrive folder? If so, where?  
Is there any other software currently working on the same data? Possibly copying it into the odrive folder from elsewhere?

There are a few files hitting filesystem exceptions. I will send those to you in a PM.

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [March 31, 2017, 5:26pm UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/5 "2017-03-31T17:26:42Z")

</div>

For the Encryptor/filecabinet/tax folder, try moving that out of the odrive folder and placing it somewhere else, for now. Once the rest of your sync activity dies down, try moving it back in.

odrive looks to be very busy tracking lots of other stuff in the Encryptor/filecabinet/ folder, so I would like that to settle before tackling the tax folder.

---

<div class="post-metadata">

**Author:** ![cdl](https://forum.odrive.com/letter_avatar_proxy/v4/letter/c/22d042/32.png) [@cdl](https://forum.odrive.com/u/cdl)\
**Post date:** [March 31, 2017, 5:56pm UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/6 "2017-03-31T17:56:37Z")

</div>

Done - do you want a new dump?

---

<div class="post-metadata">

**Author:** ![cdl](https://forum.odrive.com/letter_avatar_proxy/v4/letter/c/22d042/32.png) [@cdl](https://forum.odrive.com/u/cdl)\
**Post date:** [March 31, 2017, 5:57pm UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/7 "2017-03-31T17:57:51Z")

</div>

No symlinks that I am aware of. Nothing more than normal activity/applications writing into files in odrive, or reading from.

---

<div class="post-metadata">

**Author:** ![cdl](https://forum.odrive.com/letter_avatar_proxy/v4/letter/c/22d042/32.png) [@cdl](https://forum.odrive.com/u/cdl)\
**Post date:** [March 31, 2017, 6:06pm UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/8 "2017-03-31T18:06:57Z")

</div>

Actually there are a few symlinks there…

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [March 31, 2017, 9:52pm UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/9 "2017-03-31T21:52:59Z")

</div>

Hi @cdl,  
Generally symlinks should work. We try to follow them, but they can cause general issues with reflection and performance, and they can behave strangely in a sync environment. They can also be broken or self-referencing, which prevents sync from processing them properly. This is why we recommend not using them, if possible.

Something I saw that was odd was lots of files being renamed from a name like abc.txt.[random string here] to abc.txt. This type of behavior is something I would expect from a utility or application that is copying, moving, or otherwise working on data. That is why I asked about other applications. Is there anything like that in play?

In any case, let’s give odrive some time to process and see where it ends up after several hours. Will you be able to send a diagnostic later tonight or tomorrow?

---

<div class="post-metadata">

**Author:** ![cdl](https://forum.odrive.com/letter_avatar_proxy/v4/letter/c/22d042/32.png) [@cdl](https://forum.odrive.com/u/cdl)\
**Post date:** [March 31, 2017, 11:09pm UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/10 "2017-03-31T23:09:08Z")

</div>

I just sent another diag. It seems as if it’s stalled right now (with 82 waiting).

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [March 31, 2017, 11:32pm UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/11 "2017-03-31T23:32:39Z")

</div>

Hi @cdl,  
If you click on the waiting items listed do you see any information? The diagnostic shows that most of these are being reported as “not found” by the OS. Are these broken symlinks?

---

<div class="post-metadata">

**Author:** ![cdl](https://forum.odrive.com/letter_avatar_proxy/v4/letter/c/22d042/32.png) [@cdl](https://forum.odrive.com/u/cdl)\
**Post date:** [April 2, 2017, 2:48am UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/12 "2017-04-02T02:48:47Z")

</div>

I just removed the encryptor, and the backing store for it, reinstalled it, and now everything in the filecabinet directory is reports error when I try and sync it. Sent a new log

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [April 3, 2017, 3:27pm UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/13 "2017-04-03T15:27:04Z")

</div>

Hi @cdl,  
I am not really clear on what steps you took, but it looks like the new Encryptor folder is not properly initialized. odrive cannot see the “filecabinet” folder. It looks at though it has not been defined.

Let’s try this:

1. Move the filecabinet folder out of the Encryptor folder to a safe location, outside of any odrive folders.
2. Make sure you have a “filecabinet” Encryptor folder defined in odrive ( [https://www.odrive.com/account/myodrive?catid=encryption](https://www.odrive.com/account/myodrive?catid=encryption) ). If you do not, create one now.
3. On your Desktop, inside the Encryptor folder, you should see a filecabinet.cloudf placeholder show up. Double-click to open that folder and supply the passphrase if needed.
4. Now copy the contents of the Filecabinet folder from step 1 into this new filecabinet Encryptor folder.

---

<div class="post-metadata">

**Author:** ![cdl](https://forum.odrive.com/letter_avatar_proxy/v4/letter/c/22d042/32.png) [@cdl](https://forum.odrive.com/u/cdl)\
**Post date:** [April 8, 2017, 12:12am UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/14 "2017-04-08T00:12:46Z")

</div>

Ok, I blew away the Encryptor/filecabinet and re-created it. It now works. I’ve removed all (good and missing) symlinks from one of the problematic sub-folders and re-added it to the Encryptor/filecabinet hierarchy. It still fails with an ‘unknown error’ You have new diags.

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [April 8, 2017, 9:55pm UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/15 "2017-04-08T21:55:24Z")

</div>

Hi @cdl,  
I see several network exceptions coming from Amazon. It looks like you cleared up the other issues. Are you still seeing issues now?

What do you see listed in waiting/syncing/not allowed in the odrive menu?

---

<div class="post-metadata">

**Author:** ![cdl](https://forum.odrive.com/letter_avatar_proxy/v4/letter/c/22d042/32.png) [@cdl](https://forum.odrive.com/u/cdl)\
**Post date:** [April 9, 2017, 6:04pm UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/16 "2017-04-09T18:04:22Z")

</div>

about to tell you, all is working. wrapped everthing with a symlink into a tarball, however.

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [April 10, 2017, 8:17am UTC](https://forum.odrive.com/t/failed-sync-of-encryptor-directory/2267/17 "2017-04-10T08:17:53Z")

</div>

Thanks for the update. I will make a note for further symlink testing against our current dev versions.
