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...
Здравко
Legendary | Level 20
sleepysloth wrote:...
sysctl fs.inotify.max_user_watches
fs.inotify.max_user_watches = 65536
For 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 -ljq 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.
sleepysloth
4 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!
- sleepysloth4 years agoExplorer | Level 3
Darn. Didn't work! Dropbox spent awhile indexing all the files, then syncing, and after it finished the missing files still weren't there. I restarted and it started syncing again, but now it's finished and the missing files are still gone.
- Здравко4 years agoLegendary | Level 20
sleepysloth wrote: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.
...🤔 That's not possible. Are you sure the command gets launched exactly as I have posted it - without any changes? Post the "error" you have received together with the command executed exactly as appear in terminal.
- sleepysloth4 years agoExplorer | Level 3
This is what I get when I enter that command:
- Здравко4 years agoLegendary | Level 20
Hi sleepysloth,
I have no idea what exactly you have done in your account, but this isn't resulted by Dropbox application (if everything used correctly). Have you changed permissions in your account (intentionally or not) or some configuration changes? This could be a result of some sophisticated games with the system, without actually aware what exactly you are doing.
Ok, let see what is the actual state (what you have done - we assume unintentionally). What's the result of following commands:
id ls -ld ~/.dropbox*
I have some guesses as to what the reason is. Try following commands:
sudo chown -R naomi ~/.dropbox* chmod -R u+rw ~/.dropbox*
Post the results coming from first code block and if there is some error message coming from second code block. 🤔 Based on results we will step up further.
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!