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's avatar
Stephen B.25
Collaborator | Level 9
6 years ago
Solved

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 

$ /home/stephen/Dropbox: dropbox filestatus
.dropbox:                    unwatched
.dropbox.cache:              unwatched
.metadata:                   unwatched
20190904_173012.jpg:         unwatched
20190904_173020.jpg:         unwatched
20190904_173025.jpg:         unwatched
...
and so on for all files/folders in directory

I have restarted Dropbox, restarted device...

What's up?

 

  • 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.

17 Replies

Replies have been turned off for this discussion
  • netmarine's avatar
    netmarine
    New member | Level 2
    6 years ago

    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.

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    6 years ago

    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.

  • netmarine's avatar
    netmarine
    New member | Level 2
    6 years ago

    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.

  • netmarine's avatar
    netmarine
    New member | Level 2
    6 years ago

    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.

  • bfmaier's avatar
    bfmaier
    New member | Level 2
    3 years ago

    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.

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    3 years ago

    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).

  • bfmaier's avatar
    bfmaier
    New member | Level 2
    3 years ago

    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!