We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Mecalbi's avatar
Mecalbi
Helpful | Level 5
5 years ago

Files not syncing on a Dropbox folder on a server

Hello all,

Two or three weaks ago dropbox decided to remove symlinks, and we have to move all our files to a new 4TB disk that is mounted on our main server (Ubuntu System). We follow the protocol and now we have a 4TB EXT4 directory as main folder for our Dropbox.

We are a company that have 2 accounts, some folders and important information are syncing between each other, as we use that as our main shares for the company. Since the new disk was adquired all the structure folders are doing conflicts over and over, and when i create some files or folders it always syncing between the Dropbox site, but the information does not arrives on the machine, and one of the machine dropbox is always saying "Downloading at 0,0kb/s), and its stuck.

I already tried several approaches but its very boring, cause people are constatly working on these folders, and its over 500,000 files. Its actually the double of that. I have no more ideas what i can do to fix this problem, but after several approaches i can only think its a Dropbox problem.

What i already tried:

- Remove and purge Dropbox and let it sync again but the problem persists;

- Remove and purge databases instances and let it sync again but the problem persists;

 

Hoping some kind of answer since i already read the help section, and none of the suggested solutions seems to work.

Thanks in advance.

  • Mecalbi's avatar
    Mecalbi
    5 years ago

    Hello again,

    Thank you all for your answers.

    It seems i needed to increase my 'inotify.max_user_watches'. It syncing very slow, but its syncing. We will adopt measures to reduce the number of files in our Dropbox folders, since this is not advicable and it even can crash our system.

    I will marked this as solved for now. Thank you all again for the support.

  • pjiggy's avatar
    pjiggy
    New member | Level 2

    Ran into this problem a few times that I've written down the best solution (cause it comes up with each new computer).

     

    Open a terminal and type the following

    echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system

    This works with up to 500K files.

     

    I still need to use selective sync, but it runs really well

    To find the error which explains the, just run dropbox in your terminal and read the output.

     

    Hope this helps. 

  • Jay's avatar
    Jay
    Icon for Dropbox Staff rankDropbox Staff

    Hi Mecalbi, thanks for posting!

    To try to get to the bottom of this, let's first discuss the number of files.

    As you mentioned you have over 500k files (perhaps double), this could indicate an issue since if there are more than 300,000 files syncing, the Dropbox desktop application performance decreases.

    It also depends on how people are accessing the files on the server. Are you remotely logging into the server to add and work on files, or are folders shared to individual accounts from there?

    Are you instead sharing the entire Dropbox folder over your network?

    Any info you can provide on how the company syncs files to the server would help me greatly!

    • Mecalbi's avatar
      Mecalbi
      Helpful | Level 5

      Hello,

      Thanks for the answer. Yes, we are using our dropbox folders into network shares. That can be a problem? There´s any workaround? Thanks.

      • Jay's avatar
        Jay
        Icon for Dropbox Staff rankDropbox Staff

        Yes, that would be an issue, since network file systems do not send messages when files change, meaning the Dropbox app won’t know that it needs to sync anything yet.

        There isn’t any workaround for this, as it’s to do with the whole structure of the way networks share and transfer files.

        You’d need to either have users remotely login to the one account on the server, which isn’t recommended since it can result in conflicted copies, or have multiple Dropbox accounts with shared folders to the server account.

        Symlinks into the Dropbox folder likewise would fail since the computers are sharing it over the network.

        However, given the apparent size of the account, they’d need more than that 2 GB of quota given with free accounts, so either paid personal or Business accounts would be better placed for your needs.

About View, download, and export

Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help 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!