Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Stephen B.25
6 years agoCollaborator | Level 9
dropbox filestatus unwatched for all files in Dropbox directory
Ubuntu 19.10
Dropbox daemon version: 93.4.273
Dropbox command-line interface version: 2020.03.04 Dropbox is keeping up to date -- up and down. But file status reports as unwatched $ /...
- 6 years ago
Hi Stephen B.25,
In you particular case symlink or binding - doesn't matter. The issue comes from the fact that the Dropbox daemon make a literal comparison between queried path and watched files/folders path, not inode comparison! That's why, even the same, a file could be shown with different status because beginning of the path is different. :nerd:
If you want to, can try mount a partition, you use in your home and move Dropbox folder there, if is more convenient for you. Be very careful, in such move! Take care not to left Dropbox application without available actual Dropbox folder place, even for a moment; this can lead to data loss!
Good luck.
Здравко
6 years agoLegendary | Level 20
Hi Stephen B.25,
In you particular case symlink or binding - doesn't matter. The issue comes from the fact that the Dropbox daemon make a literal comparison between queried path and watched files/folders path, not inode comparison! That's why, even the same, a file could be shown with different status because beginning of the path is different. :nerd:
If you want to, can try mount a partition, you use in your home and move Dropbox folder there, if is more convenient for you. Be very careful, in such move! Take care not to left Dropbox application without available actual Dropbox folder place, even for a moment; this can lead to data loss!
Good luck.
jbiskofski
6 years agoNew member | Level 2
Hey, Ive been struggling with this for a few days. I think I finally found the solution,
In my case, this is what fixed the problem.
1. Quit Dropbox completely
2. manually run dropbox inside a terminal : ~/.dropbox-dist/dropboxd
3. when running it like this, you can see some additional errors. in my case it said, my dropbox had so many files, i was exceeding the inotify watch limit, and even gave me the exact command I needed to run to increase this limit: echo fs.inotify.max_user_watches=100000 | sudo tee -a /etc/sysctl.conf; sudo sysctl -p
4. Restart dropbox
- Здравко6 years agoLegendary | Level 20
Hi jbiskofski,
All right, since you have find out a solution working for you. Symptoms in your case are slightly different, for sure. 🧐 Your case is different, definitely, so don't mess them!
Good luck! 😉
- netmarine6 years agoNew member | Level 2
Ok I'm experiencing this same issue. running cat ~/.dropbox/info.json; echo results in
{"personal": {"path": "/persist/Dropbox", "host": 67560646000, "is_team": false, "subscription_type": "Pro"}}
If I cd to /persist/Dropbox and run dropbox filestatus
I get that everything is unwatched.
I have also run ~/.dropbox-dist/dropboxd in a terminal and have added the line fs.inotify.max_user_watches=10000 to /etc/sysctl.conf
and then ran sysctl -p.
This does not change the result of running dropbox filestatus from the root of local Dropbox tree. Which I don't really care about,, the problem is that any new files or directories I create on this system do not get sync'd up with the cloud or my other devices.
- Здравко6 years agoLegendary | Level 20
Hi netmarine,
Are you sure that the watches number is enough? How many files have you in your Dropbox folder? You can try the following to check If your selection is fine:
echo -n "Your Dropbox folder entries approximate count is "; tree -a "/persist/Dropbox" | wc -l; sysctl fs.inotify.max_user_watches
What's the result? You may need install "tree", If not yet.
- netmarine6 years agoNew member | Level 2
So your suggesting that the watches value should exceed the number of files I have in Dropbox? Yeah, I'm certain it's several million. roughtly 334 GB of a huge mix of file types including a large volume of source code.
- netmarine6 years agoNew member | Level 2
You know what? I upped the watches to 10,000,000 and restarted Dropbox and a little while later I ran dropbox filestatus in the root of the Dropbox directory and I got good results, some directories are syncing and some are up to date. Thanks for your help.
- bfmaier3 years agoNew member | Level 2
This worked for me too. It's kinda mind-boggling that this number is so low per default and that the App doesn't tell you what's going on when you hit the limit and instead just "unwatches" all files and remain in "syncing" forever. @Dropbox, you should at least address that in the FAQ for Linux.
- Здравко3 years agoLegendary | Level 20
bfmaier wrote:... It's kinda mind-boggling that this number is so low per default and that the App doesn't tell you what's going on when you hit the limit and instead just "unwatches" all files and remain in "syncing" forever. ...
Hi bfmaier,
I agree that Dropbox application should tell user what's going on in more details when any error happens. Hitting the watches limit is only one of many such cases, unfortunately. 🤦 Proper information for any unwanted events (including logs availability) is a pain for Dropbox.
About the per process watches number, it's not so low. They're used to monitor eventual changes in configuration files, files that the application currently use, etc. Such a mechanism is NOT designated for syncing (generally); Dropbox use them rather as something like workaround, unfortunately. There are much better ways and Dropbox refuses to use them (don't ask me why). The same mechanism (with watches) can be used for syncing too, but as a distributed system for large entries number (something Dropbox application doesn't do).
Let's hope Dropbox designers will improve their system stricture at some point (but better don't relay on).
- bfmaier3 years agoNew member | Level 2
Interesting, thank you for these insights!
About Create, upload, and share
Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!