RomanZ

Administrators
  • Posts

    3,588
  • Joined

  • Last visited

Posts posted by RomanZ

  1. Hi Tim,

    While the

    Quote

    The connection is GF in KC to a China Telecommunications link in South China with a speed of 100mbit down and 2mbit up.  GF is gbit both ways with a dynamic dns and the link in S China is CG-NAT.

    part looks to be rather confusing for me. Though, here is what I understand from your setup:

    1. The worst bandwidth on the path from your peer in China to US is 100Mbit down and 2Mbit up. This immediately caps us to maximum upload speed of ~240Kb/sec., while download speed should be fine.
    2. You've got 2 NATs in China with dynamic IP which changes every 2 days, therefore direct connection from US to China is not possible: Sync can automatically penetrate only one NAT layer.
    3. You've got 1 NAT which you control in US with static IP.
    4. The connection as it is is not stable.

    Some things that I need to get more info on:

    A. Did you:
     - specify IP of your US NAT on China peer predefined hosts?
     - port forward the listening port of your US peer from USA NAT to actually peer?
    This should give China peer an ability to connect directly to US peer. Having at least one direct connection will allow you to utilize bandwidth.

    B. What are the versions of your clients? Must be 2.3.7 or later - there was a nasty connectivity issue in 2.3.6 and before, which only pop up in complex setups like yours.

    C. Monitor if connection goes via relay. Here is the screenshot on how releayed connection looks like.

     

     

     

    win7.png

  2. @jdh It's actually bad idea to set config_save_interval to 100 days. The config contains a lots of valuable data - users which were approved and declined by you, your folders, etc. If Sync is killed ungracefully or crashes - all this data could be lost and actually, will spawn lots of really strange and hard-to-debug issues.  I'd advise to set it to once per day (once per 2 days the rarest).

  3. @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).

  4. @jdh

    1. Yes, it is absolute path. All the WDMyCloud devices I encountered had the same path, although I suspect that some devices may have the "HD_a2" component be replaced with something else. The debug.txt file should already exist if you found Sync's settings folder correctly. All you need to do is to change its content and restart Sync to ensure it is not writing any logs (and disturb dozing HDD ;) )

    Sync is using regular POSIX API to access files, so I believe you can make symlink and place debug.txt in any place you want, but I see no big point as the dir we are looking for is the dir designated by WD to store Sync's settings.

    2. You can grab new package here.

  5. @Guentha Archives are vital to avoid re-downloading: sometimes it happens that OS itself first sends "delete this file" events, and later "hey, here is a new file" events, so Sync sends them to all other peers in separate blocks. If archives are enabled, Sync will pull files from archive instead of re-downloading them.

    Could you please try to turn archives on, and set Power Option "sync_trash_ttl" to "1"? This will force to keep archives only for 1 day and at the same time should return you files movements.

    Let me know if it helps.

  6. Dear community,

     

    Sync 2.3.8 is now available. You can get it via direct links below, via official download page or via "Check now" button. Build is not yet available via auto-update.

     

    Direct Download Links:

     


    A list of what's new, improved, changed, and fixed in this version is available in the change log.

     

    Latest Android build is now also available via direct link: 2.3.5 APK

    Latest Raspberry Pi package is available via direct link: 2.3.8 DEB

     

    Known issues and peculiarities:

    - Linux users please note: starting from 2.3.0, Sync now creates and uses storage folder (.sync folder) in current directory, not next to binary

    - Upgrading from 2.3.0-2.3.3 may remove your identity and folders. It is strongly advised that you backup your storage folder prior to upgrade to 2.3.8.