BTsync not syncing on NAS, mutex file check failed?


Izign

Recommended Posts

I've got BTsync installed on my Windows 8.1 laptop and my Synology NAS. However, it fails to sync. On my NAS, BTSync indicates that 1/1 peer is online, that is is to get 551 files from my laptop (2GB), but nothing happens, and it has only synced 2 MB thus far.

My laptop contains the folder that I want to sync to the NAS, which is about 300 GB large. BTSync indicates that 0 peers are online.

I have opened upnp on my router, re-installed BTSync on the NAS, re-added the folder, but nothing helped.

The log on my laptop shows, with some repetition, the following errors:

[2016-06-18 09:15:29] API: --> getsyncfolders(discovery=1&t=1466234129077)
[2016-06-18 09:15:30] JOURNAL[7840]: Mutex file check failed with error : 100
[2016-06-18 09:15:30] API: --> getsyncfolders(discovery=1&t=1466234130156)
[2016-06-18 09:15:31] JOURNAL[7840]: Mutex file check failed with error : 100
[2016-06-18 09:15:31] API: --> getsyncfolders(discovery=1&t=1466234131213)
[2016-06-18 09:15:32] JOURNAL[7840]: Mutex file check failed with error : 100
[2016-06-18 09:15:32] API: --> getsyncfolders(discovery=1&t=1466234132287)
[2016-06-18 09:15:33] JOURNAL[7840]: Mutex file check failed with error : 100
[2016-06-18 09:15:33] API: --> getsyncfolders(discovery=1&t=1466234133350)
[2016-06-18 09:15:33] API: <-- getsyncfolders({ "corestate": [  ], "folders": [ { "archive": "C:\\Users\\Matthijs\\Documents\\Testfolder\\.sync\\Archive", "archive_files": 0, "archive_size": 0, "available_space": 40019746816, "canencrypt": false, "date_added": 1412424696, "down_eta": 0, "down_speed": 0, "down_status": 100, "error": 100, "files": 0, "folderid": "1974905766848768265", "has_key": true, "indexing": false, "ismanaged": false, "iswritable": true, "last_modified": 1442582655, "name": "Testfolder", "path": "C:\\Users\\Matthijs\\Documents\\Testfolder", "paused": false, "peers": [  ], "readonlysecret": "[secret]", "secret": "[secret]", "secrettype": 1, "size": 0, "status": "Kan de doelmap niet openen.", "stopped": false, "synclevel": 2, "total_size": 0, "up_eta": 0, "up_speed": 0, "up_status": 100 }, { "archive": "D:\\Temp\\TestSync\\.sync\\Archive", "archive_files": 0, "archive_size": 0, "available_space": 23114334208, "canencrypt": false, "date_added": 1465800849, "down_eta": 0, "down_speed": 0, "down_status": 100, "error": 0, "files": 0, "folderid": "11104787208742241171", "has_key": true, "indexing": false, "ismanaged": false, "iswritable": true, "last_modified": 1465933316, "name": "TestSync", "path": "D:\\Temp\\TestSync", "paused": false, "peers": [  ], "readonlysecret": "[secret]", "secret": "[secret]", "secrettype": 1, "size": 0, "status": "0 B in 0 bestanden ", "stopped": false, "synclevel": 2, "total_size": 0, "up_eta": 0, "up_speed": 0, "up_status": 100 }, { "archive": "D:\\Matthijs\\.sync\\Archive", "archive_files": 0, "archive_size": 0, "available_space": 23114334208, "canencrypt": false, "date_added": 1465933364, "down_eta": 0, "down_speed": 0, "down_status": 100, "error": 0, "files": 251434, "folderid": "3917473051574594232", "has_key": true, "indexing": true, "ismanaged": false, "iswritable": true, "last_modified": 1466234046, "name": "Matthijs", "path": "D:\\Matthijs", "paused": false, "peers": [  ], "readonlysecret": "[secret]", "secret": "[secret]", "secrettype": 1, "size": 316447035307, "status": "294.7 GB in 251434 bestanden (Indexeren...)", "stopped": false, "synclevel": 2, "total_size": 316447035307, "up_eta": 0, "up_speed": 0, "up_status": 100 } ], "loading": false, "speed": { "downspeed": 0, "upspeed": 0 }, "status": 200 })
[2016-06-18 09:15:34] JOURNAL[7840]: Mutex file check failed with error : 100
[2016-06-18 09:15:34] API: --> getsyncfolders(discovery=1&t=1466234134417)
[2016-06-18 09:15:35] JOURNAL[7840]: Mutex file check failed with error : 100
[2016-06-18 09:15:35] API: --> getsyncfolders(discovery=1&t=1466234135485)
[2016-06-18 09:15:36] JOURNAL[7840]: Mutex file check failed with error : 100
[2016-06-18 09:15:36] API: --> getsyncfolders(discovery=1&t=1466234136562)
[2016-06-18 09:15:37] JOURNAL[7840]: Mutex file check failed with error : 100
[2016-06-18 09:15:37] API: --> getsyncfolders(discovery=1&t=1466234137619)
[2016-06-18 09:15:38] JOURNAL[7840]: Mutex file check failed with error : 100
[2016-06-18 09:15:38] API: --> getsyncfolders(discovery=1&t=1466234138725)

I cannot find any additional information about the 'mutex' error.

When I created another folder (the 'TestSync' folder, empty on both laptop and NAS), it worked for a little while when adding new files, but it also has stopped syncing now. (Also 0 peers according to laptop.)

To me, it seems that connectivity is not an issue, as both systems (at least initially) detected each other and synced some files. Any ideas are welcome!

Cheers!

Link to comment
Share on other sites

On 6/18/2016 at 10:28 AM, Izign said:

"status": "Kan de doelmap niet openen.",

"Map niet gevonden" - this is what you shall see in U, right? . and it means that file C:\Users\Matthijs\Documents\Testfolder\.sync\ID is either missing or corrupted or the Testfolde folder itself is moved from the location. Remove the folder from Sync and add it back. Make sure that the mentioned files is not affected by an app on your PC.
This is described in the guide - https://help.getsync.com/hc/en-us/articles/205450255-Folder-not-found

Link to comment
Share on other sites

Yes, sorry, I should have mentioned that that specific folder is a remnant of an old folder that I created to test connectivity, but it is not the folder that is currently causing the problems (which are 'Matthijs' and 'TestSync')... I've re-added those (including deleting the .sync folders inside them) but that did not help...

Link to comment
Share on other sites

"Mutex file check failed with error : 100" means that either the ID is missing or the folder itself. In your log it refers to a folder with shareID ending with 7840, from that piece of log I cannot say which exactly folder it is - it can be a sync share or, identity folder (%appdata%\BitTorrent Sync\.SyncUser#####), or License folder, if you have it (%appdata%\BitTorrent Sync\License). 

Link to comment
Share on other sites

Thank you! I removed the folder that could not be found, and this solved the mutex error.

However, the original problem persists: the other folders have stopped syncing and I cannot discover why. I've added the logs here, for completeness both those from my laptop and the NAS. In the NAS logs, I actually see an '[20160621 23:28:24.102] UPnP: Device error' message... I did activate UPnP on my router though...

sync-nas.txt

sync-laptop.txt

Link to comment
Share on other sites

folders not syncing cause peers are not connected to each other. Peers are not connected, apparently, cause the port on laptop cannot be mapped. This is done by UPnP automatically, and if it fails (as you see the log), this can be done manually on the router. Check that  there is no firewall that block Sync's port (on laptop it's 40634), and also check that this port is not already mapped and used by another app on your computer - looks like there is already such mapping. 

Try changing Sync's port on laptop and reconfiguring port mapping on router is it's already there. 

Link to comment
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.