cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

View, download, and export

Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help from the Dropbox Community.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Dropbox Sync Issues

Files not syncing on a Dropbox folder on a server

Mecalbi
Helpful | Level 5
Go to solution

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.

15 Replies 15

Mecalbi
Helpful | Level 5
Go to solution

Probably is the number of files. But was not happening before when we used the symbolic  links inside Dropbox. Didn´t understand quite your question. Can you explain please?

Jay
Dropbox Staff
Go to solution

Sorry, my question was, is this on your personal machine, as in, the files are not syncing to your computer?

This isn’t the remote login to the server we’re referring to, the one with the issues?


Jay
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!
:arrows_counterclockwise: Interested in Community Groups? Click here to join!

Mecalbi
Helpful | Level 5
Go to solution

This is happening on our Server (Ubuntu). The files all are on Dropbox Website. The bsecond account that have the shared files its working good on Dropbox Website too. They just not are going to the server.

Server_Align
Collaborator | Level 10
Go to solution

@Jay wrote:

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.


Having the Dropbox application on the Server is fine, the File Change Notification will go off when any network user changes a file via the shares, the FCN goes off for the truepath and the servers dropbox application is watchig the truepath.

 

The cause of his non stop syncing is the updated app has faults in the reindex routine.

 

I suggest he does the following.

Unlink the app, rename the dropbox folder dropOLD, relink the dropbox app, using cloud only files, sync them all up, they take near no space so will fit on the drive next to the real files in DropOLD, once synced, turn off the application, and move the content of the dropOLD folder into the created Dropbox folder, restart the app. DB will see all the moved in files as changed, then check the content is the same as the index keys find they are the same and come up to sync. 

*** I have just last week completed this, on our 750k file set ***

Warning : Suggest you isolate all 4TB+ files and delay adding them untill all other files are reindex and sync is completed again, then only move 3 at a time in. The app appears to also have a fault when it is reindexing 4 >4TB files at once causing a endless syncing loop.

Mecalbi
Helpful | Level 5
Go to solution

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

Need more support?