Moe

Members
  • Posts

    624
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by Moe

  1. Also, just to add to cipherplain's answer - when making changes to .sync/IgnoreList, make sure you restart Sync for the changes to take effect.

     

    I would also remove that share and re-add it with the new SyncIgnore file already in place.

    I kept having issues with files still syncing even after I stopped sync and restarted it after my changes to that file.

  2. What I would suggest doing is completely uninstalling BitTorrent Sync and starting from scratch-scratch and not just removing the folder and re-adding it. There are temporary files BitTorrent Sync is reading from and writing to and I had a couple issues like that, that got resolved due to a fresh install on the very latest version of it.

     

    There is a help document at help.getsync.com that explains how to properly uninstall it.

     

    Let me know if it helped!

  3. Please see the help.getsync.com website as it has multiple documents on how to change some behavior or things with the config file.

     

    Here is a dump of the sample config file from the binary:

    pi@raspberrypi:~/.btsync$ ./btsync --dump-sample-config{  "device_name": "My Sync Device",  "listening_port" : 0, // 0 - randomize port/* storage_path dir contains auxilliary app files if no storage_path field: .sync dir created in the directory   where binary is located. otherwise user-defined directory will be used */// "storage_path" : "/home/user/.sync",/* set location of pid file */// "pid_file" : "/var/run/btsync/btsync.pid",/* use UPnP for port mapping */  "use_upnp" : true,/* limits in kB/s. 0 - no limit */  "download_limit" : 0,  "upload_limit" : 0,/* proxy configuration */// "proxy_type" : "socks4", // Valid types: "socks4", "socks5", "http_connect". Any other value means no proxy// "proxy_addr" : "192.168.1.2", // IP address of proxy server.// "proxy_port" : 1080,// "proxy_auth" : false, // Use authentication for proxy. Note: only username/password for socks5 (RFC 1929) is supported, and it is not really secure// "proxy_username" : "user",// "proxy_password" : "password",  "webui" :  {    "listen" : "0.0.0.0:8888" // remove field to disable WebUI/* preset credentials. Use password or password_hash *///  ,"login" : "admin"//  ,"password" : "password"//  ,"password_hash" : "some_hash" // password hash in crypt(3) format//  ,"allow_empty_password" : false // Defaults to true/* ssl configuration *///  ,"force_https" : true // disable http//  ,"ssl_certificate" : "/path/to/cert.pem"//  ,"ssl_private_key" : "/path/to/private.key"/* directory_root path defines where the WebUI Folder browser starts (linux only). Default value is / *///  ,"directory_root" : "/home/user/MySharedFolders/"/* directory_root_policy defines how directory_root is used (linux only).   Valid values are:     "all" - accepts directory_root and its subdirectories for 'getdir' and 'adddir' actions     "belowroot" - accepts directory_root's subdirectories for 'getdir' and 'adddir' actions,     but denies attempts to use 'adddir' to create directories directly within directory_root   Default value is "all". *///  ,"directory_root_policy" : "all"/* dir_whitelist defines which directories can be shown to user or have folders added (linux only)   relative paths are relative to directory_root setting *///  ,"dir_whitelist" : [ "/home/user/MySharedFolders/personal", "work" ]  }/* !!! if you set shared folders in config file WebUI will be DISABLED !!!   shared directories specified in config file  override the folders previously added from WebUI. *//*,  "shared_folders" :  [    {      "secret" : "MY_SECRET_1", // required field - use --generate-secret in command line to create new secret      "dir" : "/home/user/bittorrent/sync_test", // * required field      "use_relay_server" : true, //  use relay server when direct connection fails      "use_tracker" : true,      "use_dht" : false,      "search_lan" : true,      "use_sync_trash" : true, // enable SyncArchive to store files deleted on remote devices      "overwrite_changes" : false, // restore modified files to original version, ONLY for Read-Only folders      "known_hosts" : // specify hosts to attempt connection without additional search      [        "192.168.1.2:44444"      ]    }  ]*//* Advanced preferences can be added to config file. Info is available at "http://help.getsync.com/customer/portal/articles/1902048-sync-advanced-preferences--more-options"For example see folder_rescan_interval below *///, "folder_rescan_interval" : "86400"}

    As you can see there are two lines that say

    //  ,"ssl_certificate" : "/path/to/cert.pem"//  ,"ssl_private_key" : "/path/to/private.key"

    and there you can specify your own SSL certs.

     

    The link to the help center with information on the configuration files you can find here: http://help.getsync.com/customer/portal/articles/2018454-running-sync-in-configuration-mode?b_id=3895

     

     

     

    Was that helpful?

  4. Have you read and followed the following steps in the article I linked to?

     

    Delimiters
    When composing a filter consisting of 2 or more components, note that path delimiters are OS-dependent and not universal. So please do not forget to use “/“ for Mac and unix-based OSes, while for Windows OSes use “\”.

    Note: the IgnoreList is applied to the folder where it is contained and its subfolders. It will not work with the files that have already been synced. 


    Timings and delays
    Once Sync has scanned and indexed the directory tree of a sync folder, all the structural info is going to be stored in its database and always passed to other peers (until you disconnect the sync folder).
    It means that if you create or edit your IgnoreList file after the directory was added to Sync, the folder structure will always be fully synced, however, actual files / folders added to the ignore list will not be passed to other peers.

    BitTorrent Sync re-reads IgnoreList every time it is changed or (if system notifications are not coming for some reason) every folder_rescan_interval. We recommend to restart Sync if you want to apply changes in the IgnoreList immediately.

     

    There is also a part on how to be careful on folders filesystems..

  5. Once you have add the folder you are trying to sync - if it's the whole harddrive then it would be the root directory of it - BitTorrent Sync will start indexing all the files and folders.

     

    If you have 3 TB worth of data that might take up to 8 hours or more depending on what the resources are available on the server/computer where BitTorrent Sync is runnning on (lot's of CPU power or low CPU power etc).

     

    After that only changes will be added to the files. It won't sync the whole file if you change something on it but only the pieces that have changed. So if you add something to a 5GB file it won't sync the 5GBs again but the bits and bytes that have changed within the file.

     

    Did this answer help you?

  6. Ok does the folder start with a dot in its name?

    If yes, you have to stop BitTorrent Sync, open the IgnoreList file for THAT share where the folder is in and remove the ".*" but you have to add ".sync".

     

    After that save the document and start BitTorrent Sync again.

    You might have to move the folder in an out to see it actually syncing.

    You also have to do this on the other end of the peer or more like for every peer that is trying to access that share.

    You will have all files and folder that start with a dot syncing so be aware of that.

  7. Uncleatt if you want to remove your Mac mini from your Devices list in My Devices you have to, before you format everything, go in BitTorrent Sync settings and unlink it from there. There is a help guide under https://help.getsync.com.

    If you just delete everything before unlinking a device it will still be attached to your My Devices and can't be removed. You can hide it by clicking the X in My Devices view on every Device that is still active but it always will be there.

     

    What I would suggest, if you don't already have a huge Sync setup with multiple people: start over on all devices with a clean, new ID.