frank@btsync Posted November 16, 2014 Report Share Posted November 16, 2014 using btsync now for some monthtoday first install in windows vista btsync 1.4.103 all seems to be fine. I entered a link for a "read/write" peerafter full syncing and using this system I got an red error in browser gui "Status 14 locked files"with mouse over I got an bubble message "locked files cannot be synced" I found no way to check which files are target where can I find a list of this files ? who is locking this files?Only Firefox is running, no other applications Frank Quote Link to comment Share on other sites More sharing options...
frank@btsync Posted November 16, 2014 Author Report Share Posted November 16, 2014 after reboot and hours still the same what can I do? how to exclude this files without knowing them?I only want to sync documents folder Quote Link to comment Share on other sites More sharing options...
frank@btsync Posted November 18, 2014 Author Report Share Posted November 18, 2014 hmm, nobody have any hint or tips for me? Quote Link to comment Share on other sites More sharing options...
RomanZ Posted November 18, 2014 Report Share Posted November 18, 2014 @frank@btsync Try displaying the peers column, open peers list and see which files are in the queue to be synced. Another alternative way to see which files are being locked is to download Microsoft utility Handle and run it from console with the patch to your sync folder. It should show all the apps with file handle opened to your sync folder. Quote Link to comment Share on other sites More sharing options...
frank@btsync Posted November 18, 2014 Author Report Share Posted November 18, 2014 @RomanZ, I done it, only 3 handles are hold for my documents folder (no file within this folder)explorer 2x btsync why btsync is telling me, he can't sync 14 locked files Frank Quote Link to comment Share on other sites More sharing options...
RomanZ Posted November 18, 2014 Report Share Posted November 18, 2014 @frank@btsyncOkay. Try collecting debug logs. Make sure that you enable logs, then restart app, see the 14 locked files, open the peer list and then actually grab the log file. Send it to me. Quote Link to comment Share on other sites More sharing options...
Carlos Benjamin Posted November 18, 2014 Report Share Posted November 18, 2014 (edited) Hi, I am currently on 1.4.103 and have the same issue of locked files that cannot be sync on two diferente folders. Rebooted machine several times, BTS running for long time (weeks to month) and the message does not disappear neither the number of locked files decrease over time. It does not indicate which files are locked.On one folder there were 719 locked files on other one only 1.This is an area imho that needs some improvements. The product is getting better at every release and despite this glitch, it is very good and usefull. Edited November 18, 2014 by Carlos Benjamin Quote Link to comment Share on other sites More sharing options...
Carlos Benjamin Posted November 18, 2014 Report Share Posted November 18, 2014 I found that on the other peer, there is no messages of locked files. Also, if I open the peer list on the machine where the locked files are reported, the transfer queue is empty and the green checkmark indicating that the synchronization is complete appears.The Sync complete checkmark actually appears in front of the locked files message.Could it be that there is no locked files and the message is a reminiscence of the locked files when they occurred and are now synced?Thanks Quote Link to comment Share on other sites More sharing options...
frank@btsync Posted November 18, 2014 Author Report Share Posted November 18, 2014 I found that on the other peer, there is no messages of locked files. Also, if I open the peer list on the machine where the locked files are reported, the transfer queue is empty and the green checkmark indicating that the synchronization is complete appears.The Sync complete checkmark actually appears in front of the locked files message.Could it be that there is no locked files and the message is a reminiscence of the locked files when they occurred and are now synced?Thanks same be my peers, only one is reporting locked filesand this is my only peer running with Windows (Vista) Quote Link to comment Share on other sites More sharing options...
kobbler Posted November 18, 2014 Report Share Posted November 18, 2014 Same problem here—353 locked files, no files listed in the peer queue, procexp shows no locked files in the folder. Quote Link to comment Share on other sites More sharing options...
frank@btsync Posted November 18, 2014 Author Report Share Posted November 18, 2014 @frank@btsyncOkay. Try collecting debug logs. Make sure that you enable logs, then restart app, see the 14 locked files, open the peer list and then actually grab the log file. Send it to me. hi, send debug logs to eMail adress hmm, some entries don't look fine [2014-11-18 22:04:20] FC[7482]: LoadTorrent: requesting to load file .thunderbird\rhpkxqfr.elena\downloads.sqlite which is busy on disk - rejecting until file info is updated[2014-11-18 22:42:59] MC[7482] [b899]: failed to verify signature of remote file .thunderbird\rhpkxqfr.elena\prefs-1.js, aborting Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted November 18, 2014 Report Share Posted November 18, 2014 hmm, some entries don't look fine [2014-11-18 22:04:20] FC[7482]: LoadTorrent: requesting to load file .thunderbird\rhpkxqfr.elena\downloads.sqlite which is busy on disk - rejecting until file info is updated[2014-11-18 22:42:59] MC[7482] [b899]: failed to verify signature of remote file .thunderbird\rhpkxqfr.elena\prefs-1.js, aborting Sync can't sync files whilst they're open/locked/in use by other applications - in your case, Thunderbird. Closing Thunderbird will allow the "downloads.sqlite" and "prefs-1.js" files to then sync. Quote Link to comment Share on other sites More sharing options...
Helen Posted November 19, 2014 Report Share Posted November 19, 2014 @all, Viewing which exactly files are locked is considered to be implemented in future updates. So far, please use third-party tools to see the locked files ProcMon or Handle (for Windows), What's keeping me or lsof command in Terminal (Mac). Or any other you like. Quote Link to comment Share on other sites More sharing options...
frank@btsync Posted November 19, 2014 Author Report Share Posted November 19, 2014 @all, Viewing which exactly files are locked is considered to be implemented in future updates. So far, please use third-party tools to see the locked files ProcMon or Handle (for Windows), What's keeping me or lsof command in Terminal (Mac). Or any other you like. sounds great and useful Sync can't sync files whilst they're open/locked/in use by other applications - in your case, Thunderbird. Closing Thunderbird will allow the "downloads.sqlite" and "prefs-1.js" files to then sync. @GreatMarko,I can't believe this is the true reason, becauseproblem only occurred on windows peerit started immediatly after windows connect to this peerthunderbird is not running on this windows peersysinternal can not find any used handle on this windows peerthunderbird was running on a linux box all the time (for month), none of the other linux peers had any problem with syncing thunderbird files while it is runningI stopped thunderbird and was waiting, but windows still says "locked files"I rebooted windows peer, but nothing happend, still "locked files"Frank Quote Link to comment Share on other sites More sharing options...
RomanZ Posted November 19, 2014 Report Share Posted November 19, 2014 Frank,Thanks for the logs - please let's continue finding our what happens via ticketing system. Quote Link to comment Share on other sites More sharing options...
ggibby Posted December 9, 2015 Report Share Posted December 9, 2015 I'm on 2.2.7 (167) and having this exact same problem:One device (Windows 10) reports many locked files, in two folders.Other two devices (QNAP NAS, Windows 7) show NO locked files.Process Explorer reports only explorer.exe x2 and BTSync.exe.LockHunter shows only BTSync.exe All devices have been restarted, no change. So it appears that BTSync is keeping BTSync from accessing the files?*headtilt* Not listing the locked files is a major fail. -G Quote Link to comment Share on other sites More sharing options...
Helen Posted December 10, 2015 Report Share Posted December 10, 2015 ggibby, Do you mean that when you click on "X licked files" in Sync UI, those files aren't listed? If so, then this looks like a known bug when list of locked files is empty. No, Sync doesn't keep itself from accessing files. If there is nothing that can be locking the files, then the problem might be just in UI not refreshing. Try also stopping explorer and relaunching Sync. Try seeing into ProcessMonitor , set filter with the path, and see if there are some other processes working in the share, and if there are some operations are "Access denied" for Sync. Quote Link to comment Share on other sites More sharing options...
neomole Posted June 29, 2017 Report Share Posted June 29, 2017 Hello, i found a solution for me. My Error message was "... file is locked by other application", but in fact the process user running the rslsync service had no write permitssions on the local folder. The process user for me is 'rslsync': rslsync 531 1 0 Jun27 ? 00:04:20 /usr/bin/rslsync --nodaemon --config /etc/rslsync.conf Here the group has no write permissions which causes the error host:~/folder$ ls -la insgesamt 35240 drwxr-xr-x 3 user rslsync 3488 27. Jun 12:02 . drwxr-xr-x 5 user rslsync 3488 23. Jun 14:21 .. ... files ... Solution for Linux/UNIX: chmod -R g+w ~/folder For Windows or any other device. Check the process user and this permission on your local sync folder. -tobias 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.