I tend to spend much of the day editing a very small number of programming language files. Once in a while I will notice that one of these files will stop uploading through Dropbox. There is no error message. There is a message in the Dropbox popup menu saying it is syncing files. But the syncing doesn't end. Usually, syncing (uploading changes) takes only about 2 or 3 seconds (a fixed time). But sometimes it just stays stuck.
The files that are stuck are ordinary text files. They are not nested in many folders, nor are their names unusual or long. The problem is intermittent and random. I have no unusual ACLs in the Dropbox folders. My Internet connection is usually rock-solid and fast. I have some Junction links into Dropbox folders, but they would not account for this intermittent problem.
Trying to pause syncing sometimes works and sometimes fails, but resuming doesn't usually get the file unstuck (this used to work many years ago).
Sometimes days go by without this problem happening, but it always happens again. It's been happening ever since I first started using Dropbox, many years ago. Unfortunately, Dropbox doesn't seem to have any programmers who can fix bugs, so far as I can judge by the many years that this problem has been happening.
Restarting my computer does seem to get Dropbox unstuck, but that is a drastic solution.
Does anyone have a quicker workaround when Dropbox gets stuck than restarting my computer?
Thanks for your attempt to help. There is no way to "pause" Dropbox. If you mean pausing Dropbox syncing, I covered that already in my question, which you are welcome to re-read.
Almost all of the files in my Dropbox folder are text files, and the problem does not happen every day, or on both of the computers I use Dropbox on, so experimenting with actual files in Dropbox, such as using other file types, is difficult. The fact that this problem is rare may be part of the reason it has never been fixed.
If it is relevant, I have Preferences > Bandwidth > LAN sync > Enable LAN sync unchecked. I have found that allowing direct syncing between my two computers sometimes results in out-of-date versions of files.
I don't interfere with Dropbox updating, so my software should always be the latest version. I see version number 114.4.426 this morning. I have no idea if that is the latest stable version, but I would hope so.
It shows "Up to date" because, as I wrote above, I worked around the problem by restarting my computer. My original question is: is there an easier way to work around this Dropbox bug than to restart the computer that is stuck on syncing?
Thank you. I have saved these steps to both my computers and will post again when the problem happens.
I only use two apps to edit my files (Notetab Pro and Notepad), and Dropbox usually takes only 3-4 seconds to sync a file that I've saved in an editor, which is usually before I close the editor. So my editor cannot possibly be holding the file open after it saves the file, because if that were true, Dropbox would never be able to sync a file that is being edited. To test this, I just edited a file in Dropbox then saved it, using Notetab Pro. After the save completed and the sync completed, I used the "what's locking this file" app on the file and it told me that no programs were holding a lock on the file.
Perhaps there is what we engineers call a "race condition" involving closing the file. If that is the source of the problem, you need to change Dropbox to detect whether a lock is set on the file, then wait until the lock is gone before attempting to sync the file. This would cause a delay, but only until the application closed the file.
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.Sound good? Let's get started.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!