You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
sleepysloth
4 years agoExplorer | Level 3
files missing in synced folders on Linux, but not online or on Windows
I've been using Linux for a few months and the Linux version of Dropbox has been great. Recently, though, I wiped Linux, installed Windows, and then installed Linux again so I can dual-boot. I didn't...
Здравко
4 years agoLegendary | Level 20
Hi sleepysloth,
Some more information would be helpful. Can you provide additional information about currently running application and environment? Post the following commands results (executed one by one):
dropbox version dropbox status sysctl fs.inotify.max_user_watches
How many files/folders reside in your Dropbox folder? As an alternative, you can post the result of following command:
db_path=`jq -r '.personal.path' ~/.dropbox/info.json`; echo -n "Your Dropbox folder $db_path entries approximate count is "; tree -a "$db_path" | wc -l
You may need install 'jq' and/or 'tree' if some of them are missing on your system.
Let's hope the above results will clarify what's going on. 🤔
- sleepysloth4 years agoExplorer | Level 3
For the first one, my results were:
dropbox version
Dropbox daemon version: 112.4.321
Dropbox command-line interface version: 2020.03.04dropbox status
Up to datesysctl fs.inotify.max_user_watches
fs.inotify.max_user_watches = 65536For the last one, I did have to install jq and tree but after that I got confused. I couldn't figure out where my .dropbox directory should be. My Dropbox folder is in /mnt/sdc1. I found a .dropbox in there, but when I tried ~/mnt/sdc1/Dropbox/.dropbox/info.json, like so
db_path=`jq -r '.personal.path' ~/mnt/sdc1/Dropbox/.dropbox/info.json`; echo -n "Your Dropbox folder $db_path entries approximate count is "; tree -a "$db_path" | wc -l
jq gave a "No such file or directory" error. I also tried ~/.dropbox/info.json and ~/mnt/sdc1/.dropbox/info.json and got the same results. What am I doing wrong? Do I need to change another part of the command?
I don't know if this is the same info you're looking for but I do know that there are over 200,000 files and folders in my Dropbox. I sync the whole 800GB of it on Linux because I have the space (the sdc1 partition is 6TB) and I like to have all my files somewhere other than the cloud.
- Здравко4 years agoLegendary | Level 20
sleepysloth wrote:...
sysctl fs.inotify.max_user_watches
fs.inotify.max_user_watches = 65536For the last one, I did have to install jq and tree but after that I got confused. I couldn't figure out where my .dropbox directory should be. My Dropbox folder is in /mnt/sdc1. I found a .dropbox in there, but when I tried ~/mnt/sdc1/Dropbox/.dropbox/info.json, like so
db_path=`jq -r '.personal.path' ~/mnt/sdc1/Dropbox/.dropbox/info.json`; echo -n "Your Dropbox folder $db_path entries approximate count is "; tree -a "$db_path" | wc -l
jq gave a "No such file or directory" error. I also tried ~/.dropbox/info.json and ~/mnt/sdc1/.dropbox/info.json and got the same results. What am I doing wrong? Do I need to change another part of the command?
I don't know if this is the same info you're looking for but I do know that there are over 200,000 files and folders in my Dropbox. I sync the whole 800GB of it on Linux because I have the space (the sdc1 partition is 6TB) and I like to have all my files somewhere other than the cloud.
Hi sleepysloth,
I haven't mentioned that you need to change anything in the command and you should avoid such change! ☝️Just copy/paste it. 😉 That's it.
The number of files/folders in your account should be less than maximum number of watches allowed. Since in your case that isn't true ( 65536 < 200000 ), you have to change this system setting. Figure out exact number of files and folders in your Dropbox folder (together), so be able decide exact value for fs.inotify.max_user_watches update (with some reserve of course).
PS: Take a look here, so we can avoid repeat something already discussed.
Hope this gives right direction.
- sleepysloth4 years agoExplorer | Level 3
Hmm, I tried that first and I thought I got the same error, which is why I tried the others, but now when I try it I get it says it can't open the file, permission denied.
However I followed the instructions on the other page, made the watchable entries number 300,000, and now my Dropbox is syncing. I'm pretty sure that worked. The folders that I noticed had files missing are all updating. I'll double-check when it's done. Thank you!
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.
Need more support
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 or Facebook.
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!