his-dudeness Posted April 27, 2014 Report Share Posted April 27, 2014 (edited) Hi, some time ago I’ve set up a dedicated ubuntu linux VM for btsync 1.2.82. It’s running behind a firewall, I only opened outgoing port 3000 udp and from the beginning it worked like charm. It takes about 2 seconds to connect new peers and the sync starts. Now I did an update to 1.3.94 by switching the btsync executable, I left everything else as it was but now the peers won’t connect anymore. I already compared the sample config from 1.3.94 with my running config but it doesn’t seem as if there were many changes in the structure of the config file from 1.2x to 1.3x I restored my VM from backup and everything is working again. Somebody got an idea how to update without breaking everything? Regards,Michael Edited April 27, 2014 by his-dudeness Quote Link to comment Share on other sites More sharing options...
denis4inet Posted May 2, 2014 Report Share Posted May 2, 2014 Hi, Could you attach debug logs? Quote Link to comment Share on other sites More sharing options...
his-dudeness Posted May 3, 2014 Author Report Share Posted May 3, 2014 Hi Denis, thanks for replying ! :-) Which file(s) exactly? Kind regards,Michael Quote Link to comment Share on other sites More sharing options...
denis4inet Posted May 3, 2014 Report Share Posted May 3, 2014 Step 1. Turn on Debug Logging. Windows and Mac: click on SyncApp icon and select "Enable Debug Logging". Linux: create file debug.txt with contents of FFFF in the .sync folder. You can find the .sync folder in the same directory where the btsync binary is located.Step 2. Reproduce issue Please let Sync collect logs for at least 15 minutes to get enough information.Step 3. Attach log file Linux: ./sync/sync.log Quote Link to comment Share on other sites More sharing options...
his-dudeness Posted May 3, 2014 Author Report Share Posted May 3, 2014 [20140503 13:18:12.734] total physical memory 536870912 max disk cache 2097152[20140503 13:18:12.735] Using IP address 192.168.168.24[20140503 13:18:12.736] test sha1: AE5BD8EFEA5322C4D9986D06680A781392F9A642[20140503 13:18:12.736] test sha2: 630DCD2966C4336691125448BBB25B4FF412A49C732DB2C8ABC1B8581BD710DD[20140503 13:18:12.736] test aes: 0A940BB5416EF045F1C39458C653EA5A07FEEF74E1D5036E900EEE118E949293[20140503 13:18:12.736] Loading config file version 1.3.94[20140503 13:18:13.025] SyncFolderScanner: Adding notifier "/bts-share/user1"[20140503 13:18:13.025] Added path=/bts-share/user1 with fd=1[20140503 13:18:13.025] Loaded folder /bts-share/user1[20140503 13:18:13.027] SyncFolderScanner: Adding notifier "/bts-share/user2"[20140503 13:18:13.027] Added path=/bts-share/user2 with fd=2[20140503 13:18:13.027] Loaded folder /bts-share/user2[20140503 13:18:13.029] SyncFilesController: started periodic scan[20140503 13:18:13.029] SyncFilesController: finished periodic scan, checking for missing files[20140503 13:18:13.029] SyncFilesController: started periodic scan[20140503 13:18:13.029] SyncFilesController: finished periodic scan, checking for missing files[20140503 13:18:13.029] SyncTrashFolder: Sync trash scan for folder "/bts-share/user1/.SyncArchive" started, max file age = 30 days[20140503 13:18:13.030] SyncTrashFolder: Sync trash scan for folder "/bts-share/user1/.SyncArchive" finished[20140503 13:18:13.030] SyncTrashFolder: Sync trash scan for folder "/bts-share/user2/.SyncArchive" started, max file age = 30 days[20140503 13:18:13.030] SyncTrashFolder: Sync trash scan for folder "/bts-share/user2/.SyncArchive" finished[20140503 13:18:13.030] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:18:13.030] [OnNotifyFileChange] /bts-share/user1/.SyncID, source = NULL[20140503 13:18:13.030] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:18:13.030] [OnNotifyFileChange] /bts-share/user2/.SyncID, source = NULL[20140503 13:18:13.191] SyncFolderScanner: Adding notifier "/bts-share/user5"[20140503 13:18:13.191] Added path=/bts-share/user5 with fd=3[20140503 13:18:13.191] Loaded folder /bts-share/user5[20140503 13:18:13.238] SyncFolderScanner: Adding notifier "/bts-share/user4"[20140503 13:18:13.238] Added path=/bts-share/user4 with fd=4[20140503 13:18:13.238] Loaded folder /bts-share/user4[20140503 13:18:13.240] SyncFolderScanner: Adding notifier "/bts-share/user3"[20140503 13:18:13.240] Added path=/bts-share/user3 with fd=5[20140503 13:18:13.240] Loaded folder /bts-share/user3[20140503 13:18:13.859] Requesting folder config from config.usyncapp.com[20140503 13:18:13.859] Sending broadcast ping for 3 shares[20140503 13:18:14.031] SyncFilesController: started periodic scan[20140503 13:18:14.031] SyncFilesController: finished periodic scan, checking for missing files[20140503 13:18:14.031] SyncFilesController: started periodic scan[20140503 13:18:14.036] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:18:14.036] [OnNotifyFileChange] /bts-share/user4/.SyncID, source = NULL[20140503 13:18:14.036] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:18:14.036] [OnNotifyFileChange] /bts-share/user5/.SyncID, source = NULL[20140503 13:18:14.041] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:18:14.041] [OnNotifyFileChange] /bts-share/user5/.SyncID, source = NULL[20140503 13:18:14.041] SyncFilesController: finished periodic scan, checking for missing files[20140503 13:18:14.041] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:18:14.041] [OnNotifyFileChange] /bts-share/user3/.SyncID, source = NULL[20140503 13:18:14.041] SyncFilesController: started periodic scan[20140503 13:18:14.041] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:18:14.041] [OnNotifyFileChange] /bts-share/user3/.SyncID, source = NULL[20140503 13:18:14.041] SyncFilesController: finished periodic scan, checking for missing files[20140503 13:18:14.041] SyncTrashFolder: Sync trash scan for folder "/bts-share/user4/.SyncArchive" started, max file age = 30 days[20140503 13:18:14.041] SyncTrashFolder: Sync trash scan for folder "/bts-share/user4/.SyncArchive" finished[20140503 13:18:14.041] SyncTrashFolder: Sync trash scan for folder "/bts-share/user5/.SyncArchive" started, max file age = 30 days[20140503 13:18:14.045] SyncTrashFolder: Sync trash scan for folder "/bts-share/user5/.SyncArchive" finished[20140503 13:18:14.045] SyncTrashFolder: Sync trash scan for folder "/bts-share/user3/.SyncArchive" started, max file age = 30 days[20140503 13:18:14.045] SyncTrashFolder: Sync trash scan for folder "/bts-share/user3/.SyncArchive" finished[20140503 13:18:14.362] Sending broadcast ping for 3 shares[20140503 13:18:15.364] Sending broadcast ping for 3 shares[20140503 13:18:16.366] Sending broadcast ping for 3 shares[20140503 13:18:17.368] Sending broadcast ping for 3 shares[20140503 13:18:18.370] Sending broadcast ping for 3 shares[20140503 13:18:19.371] Sending broadcast ping for 3 shares[20140503 13:18:20.375] Sending broadcast ping for 3 shares[20140503 13:18:21.377] Sending broadcast ping for 3 shares[20140503 13:18:22.379] Sending broadcast ping for 3 shares[20140503 13:18:23.381] Sending broadcast ping for 3 shares[20140503 13:18:24.743] NAT-PMP: Unable to map port with NAT-PMP.[20140503 13:18:43.411] Requesting folder config from config.usyncapp.com[20140503 13:19:13.456] Requesting folder config from config.usyncapp.com[20140503 13:19:43.500] Requesting folder config from config.usyncapp.com[20140503 13:20:13.044] Requesting folder config from config.usyncapp.com[20140503 13:20:43.146] Requesting folder config from config.usyncapp.com[20140503 13:21:13.191] Requesting folder config from config.usyncapp.com[20140503 13:21:43.236] Requesting folder config from config.usyncapp.com[20140503 13:22:13.274] Requesting folder config from config.usyncapp.com[20140503 13:22:43.318] Requesting folder config from config.usyncapp.com[20140503 13:23:13.269] Requesting folder config from config.usyncapp.com[20140503 13:23:43.315] Requesting folder config from config.usyncapp.com[20140503 13:24:13.359] Requesting folder config from config.usyncapp.com[20140503 13:24:43.097] Requesting folder config from config.usyncapp.com[20140503 13:25:13.140] Requesting folder config from config.usyncapp.com[20140503 13:25:43.184] Requesting folder config from config.usyncapp.com[20140503 13:26:05.749] NAT-PMP: Unable to map port with NAT-PMP.[20140503 13:26:13.464] Requesting folder config from config.usyncapp.com[20140503 13:26:43.460] Requesting folder config from config.usyncapp.com[20140503 13:27:13.468] Requesting folder config from config.usyncapp.com[20140503 13:27:43.463] Requesting folder config from config.usyncapp.com[20140503 13:28:13.467] Requesting folder config from config.usyncapp.com[20140503 13:28:13.721] SyncFilesController: started periodic scan[20140503 13:28:13.721] SyncFilesController: finished periodic scan, checking for missing files[20140503 13:28:13.722] SyncFilesController: started periodic scan[20140503 13:28:13.722] SyncFilesController: finished periodic scan, checking for missing files[20140503 13:28:13.723] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:28:13.723] [OnNotifyFileChange] /bts-share/user1/.SyncID, source = NULL[20140503 13:28:13.723] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:28:13.723] [OnNotifyFileChange] /bts-share/user1/.SyncID, source = NULL[20140503 13:28:13.724] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:28:13.724] [OnNotifyFileChange] /bts-share/user2/.SyncID, source = NULL[20140503 13:28:13.724] SyncTrashFolder: Sync trash scan for folder "/bts-share/user1/.SyncArchive" started, max file age = 30 days[20140503 13:28:13.724] SyncTrashFolder: Sync trash scan for folder "/bts-share/user1/.SyncArchive" finished[20140503 13:28:13.725] SyncTrashFolder: Sync trash scan for folder "/bts-share/user2/.SyncArchive" started, max file age = 30 days[20140503 13:28:13.725] SyncTrashFolder: Sync trash scan for folder "/bts-share/user2/.SyncArchive" finished[20140503 13:28:14.726] SyncFilesController: started periodic scan[20140503 13:28:14.726] SyncFilesController: finished periodic scan, checking for missing files[20140503 13:28:14.727] SyncFilesController: started periodic scan[20140503 13:28:14.733] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:28:14.733] [OnNotifyFileChange] /bts-share/user4/.SyncID, source = NULL[20140503 13:28:14.733] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:28:14.733] [OnNotifyFileChange] /bts-share/user4/.SyncID, source = NULL[20140503 13:28:14.734] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:28:14.734] [OnNotifyFileChange] /bts-share/user5/.SyncID, source = NULL[20140503 13:28:14.741] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:28:14.741] [OnNotifyFileChange] /bts-share/user5/.SyncID, source = NULL[20140503 13:28:14.741] SyncFilesController: finished periodic scan, checking for missing files[20140503 13:28:14.742] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:28:14.742] [OnNotifyFileChange] /bts-share/user3/.SyncID, source = NULL[20140503 13:28:14.742] SyncFilesController: started periodic scan[20140503 13:28:14.743] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:28:14.743] [OnNotifyFileChange] /bts-share/user3/.SyncID, source = NULL[20140503 13:28:14.743] SyncFilesController: finished periodic scan, checking for missing files[20140503 13:28:14.743] SyncTrashFolder: Sync trash scan for folder "/bts-share/user4/.SyncArchive" started, max file age = 30 days[20140503 13:28:14.743] SyncTrashFolder: Sync trash scan for folder "/bts-share/user4/.SyncArchive" finished[20140503 13:28:14.744] SyncTrashFolder: Sync trash scan for folder "/bts-share/user5/.SyncArchive" started, max file age = 30 days[20140503 13:28:14.748] SyncTrashFolder: Sync trash scan for folder "/bts-share/user5/.SyncArchive" finished[20140503 13:28:14.749] SyncTrashFolder: Sync trash scan for folder "/bts-share/user3/.SyncArchive" started, max file age = 30 days[20140503 13:28:14.749] SyncTrashFolder: Sync trash scan for folder "/bts-share/user3/.SyncArchive" finished[20140503 13:28:43.461] Requesting folder config from config.usyncapp.com[20140503 13:29:13.460] Requesting folder config from config.usyncapp.com[20140503 13:29:43.462] Requesting folder config from config.usyncapp.com[20140503 13:30:13.456] Requesting folder config from config.usyncapp.com[20140503 13:30:43.458] Requesting folder config from config.usyncapp.com[20140503 13:31:13.455] Requesting folder config from config.usyncapp.com[20140503 13:31:43.457] Requesting folder config from config.usyncapp.com[20140503 13:32:13.454] Requesting folder config from config.usyncapp.com[20140503 13:32:43.458] Requesting folder config from config.usyncapp.com[20140503 13:33:13.450] Requesting folder config from config.usyncapp.com[20140503 13:33:43.455] Requesting folder config from config.usyncapp.com[20140503 13:34:13.451] Requesting folder config from config.usyncapp.com[20140503 13:34:43.454] Requesting folder config from config.usyncapp.com[20140503 13:35:13.456] Requesting folder config from config.usyncapp.com[20140503 13:35:43.454] Requesting folder config from config.usyncapp.com[20140503 13:36:13.455] Requesting folder config from config.usyncapp.com[20140503 13:36:43.456] Requesting folder config from config.usyncapp.com[20140503 13:37:13.456] Requesting folder config from config.usyncapp.com[20140503 13:37:43.450] Requesting folder config from config.usyncapp.com[20140503 13:38:13.432] SyncFilesController: started periodic scan[20140503 13:38:13.433] SyncFilesController: finished periodic scan, checking for missing files[20140503 13:38:13.433] SyncFilesController: started periodic scan[20140503 13:38:13.433] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:38:13.434] [OnNotifyFileChange] /bts-share/user1/.SyncID, source = NULL[20140503 13:38:13.434] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:38:13.434] [OnNotifyFileChange] /bts-share/user1/.SyncID, source = NULL[20140503 13:38:13.434] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:38:13.435] [OnNotifyFileChange] /bts-share/user2/.SyncID, source = NULL[20140503 13:38:13.435] SyncFilesController: finished periodic scan, checking for missing files[20140503 13:38:13.436] SyncTrashFolder: Sync trash scan for folder "/bts-share/user1/.SyncArchive" started, max file age = 30 days[20140503 13:38:13.436] SyncTrashFolder: Sync trash scan for folder "/bts-share/user1/.SyncArchive" finished[20140503 13:38:13.436] SyncTrashFolder: Sync trash scan for folder "/bts-share/user2/.SyncArchive" started, max file age = 30 days[20140503 13:38:13.436] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:38:13.436] [OnNotifyFileChange] /bts-share/user2/.SyncID, source = NULL[20140503 13:38:13.437] SyncTrashFolder: Sync trash scan for folder "/bts-share/user2/.SyncArchive" finished[20140503 13:38:13.451] Requesting folder config from config.usyncapp.com[20140503 13:38:14.438] SyncFilesController: started periodic scan[20140503 13:38:14.439] SyncFilesController: finished periodic scan, checking for missing files[20140503 13:38:14.439] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:38:14.439] [OnNotifyFileChange] /bts-share/user4/.SyncID, source = NULL[20140503 13:38:14.440] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:38:14.440] [OnNotifyFileChange] /bts-share/user4/.SyncID, source = NULL[20140503 13:38:14.440] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:38:14.441] [OnNotifyFileChange] /bts-share/user5/.SyncID, source = NULL[20140503 13:38:14.441] SyncFilesController: started periodic scan[20140503 13:38:14.454] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:38:14.455] [OnNotifyFileChange] /bts-share/user5/.SyncID, source = NULL[20140503 13:38:14.455] SyncFilesController: finished periodic scan, checking for missing files[20140503 13:38:14.455] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:38:14.455] [OnNotifyFileChange] /bts-share/user3/.SyncID, source = NULL[20140503 13:38:14.456] SyncFilesController: started periodic scan[20140503 13:38:14.456] SyncFolderNotify: ".SyncID", event = "IN_CLOSE_WRITE"[20140503 13:38:14.456] [OnNotifyFileChange] /bts-share/user3/.SyncID, source = NULL[20140503 13:38:14.456] SyncFilesController: finished periodic scan, checking for missing files[20140503 13:38:14.457] SyncTrashFolder: Sync trash scan for folder "/bts-share/user4/.SyncArchive" started, max file age = 30 days[20140503 13:38:14.457] SyncTrashFolder: Sync trash scan for folder "/bts-share/user4/.SyncArchive" finished[20140503 13:38:14.457] SyncTrashFolder: Sync trash scan for folder "/bts-share/user5/.SyncArchive" started, max file age = 30 days[20140503 13:38:14.462] SyncTrashFolder: Sync trash scan for folder "/bts-share/user5/.SyncArchive" finished[20140503 13:38:14.462] SyncTrashFolder: Sync trash scan for folder "/bts-share/user3/.SyncArchive" started, max file age = 30 days[20140503 13:38:14.463] SyncTrashFolder: Sync trash scan for folder "/bts-share/user3/.SyncArchive" finished[20140503 13:38:43.455] Requesting folder config from config.usyncapp.com[20140503 13:39:13.451] Requesting folder config from config.usyncapp.com Quote Link to comment Share on other sites More sharing options...
his-dudeness Posted May 10, 2014 Author Report Share Posted May 10, 2014 Hello? Anyone? :-) Quote Link to comment Share on other sites More sharing options...
denis4inet Posted May 12, 2014 Report Share Posted May 12, 2014 Could you disable firewall for debug? Quote Link to comment Share on other sites More sharing options...
his-dudeness Posted May 13, 2014 Author Report Share Posted May 13, 2014 Hi Denis, I opened all outgoing ports on my firewall and about 3 seconds after that the other peers connected again. There must be some changes from version 1.2.82 to 1.3.94 so that btsync now needs more ports opened than 3000 UDP I guess? Funny thing: I activated the firewall again like it was before, rebooted the btsync VM and afterwards connections to peers are still working. So obviously the firewall doesn’t have to be open all the time? Did it download something that is only needed to be downloaded once? I don’t get it ^^ Does it have something to do with this recurring log entry “Requesting folder config from config.usyncapp.com” ‘? Could you tell me which ports should be opened besides 3000 UDP and what they are needed for? Kind regards and thanks a lot,Michael Quote Link to comment Share on other sites More sharing options...
denis4inet Posted May 16, 2014 Report Share Posted May 16, 2014 Hi,If you open in firewall only 3000/UDP than btsync will work only via relay server - is very slowly.You can look at ports, which btsync use using command # netstat -lp | grep btsyncbtsync use 80/TCP for getting information about tracker and relays. Also, you should open UDP/TCP that setup in your btsync settings for incoming peer connections. Quote Link to comment Share on other sites More sharing options...
his-dudeness Posted May 17, 2014 Author Report Share Posted May 17, 2014 OK, to sum it up: - at least 3000/UDP outgoing -> if possible ANY/UDP outgoing for maximum performance- 80/TCP outgoing- incoming portforwarding for a UDP port that I define as incoming port in btsync Am I correct? Wouldn't it be nice to have that in FAQ section? :-) Thanks a lot for your help! kind regardsmichael Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.