Stay focused
I have used Dropbox for more than 5 yrs now. Recently, the Dropbox desktop app is stuck at ‘syncing 2 files’ or ‘indexing 2 files’. Furthermore, this made dropbox occupy too much CPU, memory, and network bands. I have to quit Dropbox if I want to work smoothly.
Searching online, there are a lot of similar problems discussed. Unfortunately, there is no ‘summary article’ to include all verified solutions, and I have to try them one by one. This is awful!
Indeed, many issues might cause this issue(BTW, Dropbox stay where they were almost for 5yrs, while other potential competitors are catching-up. I may switch to Box.com or googleDrive next year), but Dropbox seemed never come out with a robust solution.
As there is no “running log” available, I could only find this fig showing the final ‘outcome’ of the syncing problem:
I tried one solution showed here
- Click the Dropbox icon in your system tray/menu bar.
- Click the profile pic/initials icon in the top right of the window.
- Choose "Preferences..."
- Go to the "Account" tab.
- While holding the Space bar key (Windows/Linux) or Option/Alt key (Mac), click "Fix Hardlinks".
- If this doesn't resolve the issue, please follow the steps again and instead click "Fix permissions".
After following this, Dropbox seemed to reindex all my files. I’m stilling waiting for the results.
Another issue sync issue is related to the filenames, as shown below:
It seems that there are 2 files I could not upload to the cloud due to the filename issue.
Unfortunately, clicking ‘Go to file’ link won’t lead you anywhere, and you can NOT get any information about WHERE ARE THOSE 2 FILES. I really hate this kind of ‘let you guess’ without logs or detailed hints, such an awful design!
Based on the filename issue, I tried to search filenames with ‘/.”<>:?*’ using ‘find’:
1
2
3
4
5
6
7
8
9
#Test with '|'
find -E . -regex '.*\|.*'
#\."<>:?*
find -E . -regex '.*[\\|\"|\<|\>|\:|\?|\*].*'
#'/' and '.' is special, as they were in the path and postfix of a full path/filename.postfix
find -E . -regex '.*/.*\..*\..*'
find . -name "*fifo*"
mdfind 'tag:Green'
It turned out that "tmp.fifo.read1" and "tmp.fifo.read2" are two files in another dropbox subdirectory. I thought the "Personal" shown in the fig above were the place where potential filename conflicts occur, as I do have one folder with the name of "Personal". And in that folder, I have much more filenames with either ":","<",or even "*".
After `find . -name "*fifo*"`, I found the location of "tmp.fifo.read1" and "tmp.fifo.read2". Then, I removed these two files, and this "sync issues" is gone!
I also tried to solve this by setting full disk access permissions to Dropbox:
- On your computer, click the Apple menu (Apple icon) in the top left corner of your screen.
- Click System Preferences.
- Click Security & Privacy.
- Click the Privacy tab.
- In the bottom left corner, click the lock icon next to Click the lock to make changes. Enter your Mac username and password.
- In the menu on the left, scroll down and click Full Disk Access.
- Check the box next to Dropbox.
- Click Later.
- In the menu on the left, click Accessibility.
- Check the box next to Dropbox.
- Click the lock icon again.
- Quit and relaunch the Dropbox desktop app.