jlacroix

Sync Devices Not Communicating

Recommended Posts

Hi guys,

 

I've been using Bittorrent Sync for a while to Sync my Pictures folder on my computer to the camera folder on my tablet, and that works beautifully. Today I decided to sync a completely different folder on my desktop and my laptop. Unfortunately, it doesn't work at all whatsoever. My laptop and tablet still communicate just fine with the original share (so I guess I can assume it's not a firewall issue) but I opened port 3000 and 3838 on my firewall as I've read others doing on this forum, and still no dice.

 

Basically what happens is that the "connected devices" field in the web console never shows a connected computer. Both computers are syncing with the same sync key I generated. The OS is Linux. It does index the files just fine. Just the two computers seem to never see each other.

 

Here are a couple of reasons I suspect may be the cause, maybe I'm right or it's something different altogether.

 

1.) The folder on my laptop I'm syncing has 5GB of files in it, and the matching folder on the desktop has about 40GB in it. I was thinking Bittorrent Sync would merge them and make them the same. Maybe it doesn't do that?

 

2.) Perhaps my firewall is blocking my desktop and laptop from communicating. My tablet uses Wifi through the same network so I wouldn't think it would be a firewall issue but you never know. My pictures sync shows my tablet connected but my new sync shows no device connected.

 

3.) I used the sync key on a different laptop for a short time, but have since deleted the sync on that machine. Perhaps Bittorrent Sync is limited to just two computers?

Share this post


Link to post
Share on other sites

1.) The folder on my laptop I'm syncing has 5GB of files in it, and the matching folder on the desktop has about 40GB in it. I was thinking Bittorrent Sync would merge them and make them the same. Maybe it doesn't do that?

No, Sync should "merge" the two sets of files (assuming you're using a full-access secret on both devices) and the file names are different (i.e. there are no conflicting files in the folders - in which case, whichever is newer will take priority)

 

2.) Perhaps my firewall is blocking my desktop and laptop from communicating. My tablet uses Wifi through the same network so I wouldn't think it would be a firewall issue but you never know. My pictures sync shows my tablet connected but my new sync shows no device connected.

If some folders are syncing but others aren't between the same set of devices, it's unlikely to be a firewall issue. I'd suggest double-checking the secret you're using for the affected folder is correct and identical across all your devices, and is a "full-access" secret on at least one of them. (if they're all read-only secrets and there's not at least one "full-access" secret, nothing will sync between them)

It would also be worth checking that you have plenty free space on all your devices.

If none of these solve your issue, I'd suggest removing the folder from Sync on your devices, and then re-add the folder again with a newly generated secret - this will prompt a reindex of the folder, so if there were any issues with the initial indexing, removing and then re-adding the folder will likely resolve this.

 

3.) I used the sync key on a different laptop for a short time, but have since deleted the sync on that machine. Perhaps Bittorrent Sync is limited to just two computers?

 

There are no limits on the number of devices you can sync between :)

Share this post


Link to post
Share on other sites

I have the same problem. The sysc of a folder is working fine when the receiving computer OS is Windows 2008, 2012 or windows 8.1 but it failes when the server is with windows 2003R2 x64.

I stopped the firewall to be sure thjt is not the issue, but it did not make any different.

I can crerate the sync on the folder on the W3K server and it also place the .SyncArchive, .SyncIgnore and the .SyncID in the receiving folder but that is all it does. No files are synced.

Share this post


Link to post
Share on other sites

Repeating a post I made in another thread, I have a similar issue. My setup is 2 desktops, 1 notebook, and a QNAP NAS. The desktops were set up with BTSync first and sync with the NAS; this seems to work fine. When I try to add the notebook to the mix, it cannot see any of the existing sync folders, BUT if I create a new folder pair between the notebook and NAS that (and only that) works. I cannot figure out how to get the notebook to sync the existing shared folders with the NAS.

Share this post


Link to post
Share on other sites

I went ahead and generated a new Sync key. Unfortunately, still no go. I went as far as to check file-level permissions, date stamps, and free space. My laptop has 90GB free (which is fine since the folder tops out at 50GB) and my desktop has over 300GB free. Both are being synced as full-access, so that's not the issue. I also checked that the date/time on both machines was synchronized, and it is.

 

My tablet/laptop will sync the Pictures share no problem, but my Desktop/Laptop won't see eachother.

 

In fact, I added a completely fresh folder to be synced and it has the same problem. :(

Share this post


Link to post
Share on other sites

I figured it out. All my devices are syncing now.

 

My plan is to migrate away from SpiderOak, which I've been using to sync each machine but for a cost. I wanted to evaluate Bts for a possible replacement. The problem was, SpiderOak was syncing whatever configuration file Bts uses (I think it's .sync) between the macihnes, effectively making each machine think it was the same one. The tablet is outside of Spideroaks jurisdiction, so that explains why that one was working.

 

To solve, I moved the btsync binary to ~/.btsync on each machine, killed and then restarted the btsync daemon. I had to re-add all the folders on each machine but I saw the results immediately.

 

Moral of the story: Keep any other syncing tools away from the Bts configuration files, and preferably away from any folder that Bts manages.

 

Thank you to each of you that posted. :)

Share this post


Link to post
Share on other sites

Moral of the story: Keep any other syncing tools away from the Bts configuration files, and preferably away from any folder that Bts manages.

Yeah, it's generally assumed that you're not running any other backup/synchronization software on the same set of files/folders that Sync is acting - because, as you've found out, this causes lots of problems!

 

But thanks for posting your update, as I'm sure this will be useful for others to note!

 

Glad you're up and running now though! :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.