Chameleon

Why Sync not working and two folders are different?

Recommended Posts

I am developer and I am using git for some chess module - as many others.

I want sync my repositories between machines - as many others.

What happen:

  1. I setup Sync on git repository path like "git-repos/git-xxx" on computer Alice.
  2. I setup Sync on other computer Bob and copy read-write code from Alice.
  3. Files was synced from Alice->Bob
  4. I do some development ... and push to Bob git repository branch e-xxx.
  5. Some files was synced but some not synced so on Alice there is not branch e-xxx.
  6. I do some compare to learn what happen.
  7. It is happen that Alice and Bob same directory is not same - NOT SYNCED!!!

What to do with it :)

  1. Restarts tested.

For debug purpose:

  1. I do 7-zip on Bob "git-repos/git-xxx" and some "git-xxx.7zip" was synced.
  2. I do compare with WinMerge and what I see:

Compare c:\xxx\Desktop\chess-tree with C:\root\git-repositories\chess-tree
2016-06-26 14:40:20
Filename,Folder,Comparison result,Left Date,Right Date,Extension,Differences
1e,objects,Left only: c:\xxx\Desktop\chess-tree\objects,* 2016-06-26 12:59:59,,,
33,objects,Left only: c:\xxx\Desktop\chess-tree\objects,* 2016-06-26 12:59:59,,,
3d,objects,Left only: c:\xxx\Desktop\chess-tree\objects,* 2016-06-26 11:25:29,,,
49,objects,Left only: c:\xxx\Desktop\chess-tree\objects,* 2016-06-26 11:25:29,,,
4d,objects,Left only: c:\xxx\Desktop\chess-tree\objects,* 2016-06-26 11:25:29,,,
56,objects,Left only: c:\xxx\Desktop\chess-tree\objects,* 2016-06-26 11:25:29,,,
7a,objects,Left only: c:\xxx\Desktop\chess-tree\objects,* 2016-06-26 12:59:59,,,
7c,objects,Left only: c:\xxx\Desktop\chess-tree\objects,* 2016-06-26 11:25:29,,,
a0,objects,Left only: c:\xxx\Desktop\chess-tree\objects,* 2016-06-26 12:59:59,,,
bc,objects,Left only: c:\xxx\Desktop\chess-tree\objects,* 2016-06-26 12:59:59,,,
d5,objects,Left only: c:\xxx\Desktop\chess-tree\objects,* 2016-06-26 12:59:59,,,
e6,objects,Left only: c:\xxx\Desktop\chess-tree\objects,* 2016-06-26 11:25:29,,,
f8,objects,Left only: c:\xxx\Desktop\chess-tree\objects,* 2016-06-26 12:59:59,,,
0856f8ec42e6addb7c1abfc5ed5a9fa87c8984,objects\1e,Left only: c:\xxx\Desktop\chess-tree\objects\1e,* 2016-06-26 12:59:59,,,
684fc3f41a77bfd9fe41ec1bfb132cfcd1143a,objects\33,Left only: c:\xxx\Desktop\chess-tree\objects\33,* 2016-06-26 12:59:59,,,
dcae48e8b7b152be3ea47a2439206bf02da156,objects\3d,Left only: c:\xxx\Desktop\chess-tree\objects\3d,* 2016-06-26 11:25:29,,,
369c0f2c4587e8e6197c9f68377cc3618cb897,objects\49,Left only: c:\xxx\Desktop\chess-tree\objects\49,* 2016-06-26 11:25:29,,,
016347ac501faef72683771e2cb0527547644a,objects\4d,Left only: c:\xxx\Desktop\chess-tree\objects\4d,* 2016-06-26 11:25:29,,,
525040cdc0b0519614891b9d175e45a01df014,objects\56,Left only: c:\xxx\Desktop\chess-tree\objects\56,* 2016-06-26 11:25:29,,,
1721d8ff09566f8be08f1fd7c399cf273b7961,objects\7a,Left only: c:\xxx\Desktop\chess-tree\objects\7a,* 2016-06-26 12:59:59,,,
a22db453a83f4d24c1999f5cc8237742cc47a8,objects\7c,Left only: c:\xxx\Desktop\chess-tree\objects\7c,* 2016-06-26 11:25:29,,,
fdfd76d295eaf71b9106fb1907d58f4f3d394c,objects\a0,Left only: c:\xxx\Desktop\chess-tree\objects\a0,* 2016-06-26 12:59:59,,,
d5b47ecaa672f1920a6b9d9c3c7533abd9d53c,objects\bc,Left only: c:\xxx\Desktop\chess-tree\objects\bc,* 2016-06-26 12:59:59,,,
468e730c43887fdda56050b57c39b140c19d7e,objects\d5,Left only: c:\xxx\Desktop\chess-tree\objects\d5,* 2016-06-26 12:59:59,,,
9de29bb2d1d6434b8b29ae775ad8c2e48c5391,objects\e6,Left only: c:\xxx\Desktop\chess-tree\objects\e6,* 2016-06-26 11:25:29,,,
02dee54e3d98a13baf9fdea956b93a551e6071,objects\f8,Left only: c:\xxx\Desktop\chess-tree\objects\f8,* 2016-06-26 12:59:59,,,

Why it is not synced not idea and how force indexing, syncing?


 

Share this post


Link to post
Share on other sites

@Chameleon First couple of things to check:

1. Permissions. Your Sync should have full access to folders it Sync.
2. Connectivity. Does Sync UI shows that both peers are online?
3. Some time. Did you give Sync 10+ minutes? Sometimes, OS notifications may not work (especially, on large array of files, therefore Sync will only detect file changes during full rescan, which happens every 10 minutes by default (and may take rather long if you have 100K+ files).

Share this post


Link to post
Share on other sites

I'm having similar issues where not all of the .git folder is syncing. The master copy will be 390mb and the sister copy is 370mb. Copying git projects is the main reason I'm testing resilio. Was there ever a solution to this?

Share this post


Link to post
Share on other sites

all that can be synced, is synced there. But some subdirs have '.lock' on them, which is pretty much expected - git might be locking some items. for example:
heads/feature/ui-components-20180508.lock"
ui-components/lib/itx-vue-webpack/refs/remotes/origin/devel.lock"
etc. Release this lock. If the problem remains, please contact support with debug logs per instruction:
https://help.getsync.com/hc/en-us/articles/206664730-Collecting-debug-logs-

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.