dropbox is not syncing anymore

I use dropbox to manage my website. It is not really very secure. But it is at least very convenient. I use one dummy dropbox account contain just my website folder shared from my main dropbox account. Then I just login dropbox with my dummy account for my web server.

 

It has been working very well for the last five years. But suddenly dropbox is no longer syncing the shared folder. Basically when I modifed the file from my laptop (connected to my main account), the file is only updated in the main account but not in the dummy account. I tried several hours (reshared the folder and with no success). I suspect that the folder contains too many files.

 

I am trying to work around without using the dummy account but sync directly on the server. Of course, I have zillions of files in my main account. So I have to do selective sync. I resync to my main account with

killall dropbox
mv ~/Dropbox ~/Dropbox-user1
mv ~/.dropbox ~/.dropbox-user1

and then run

~/.dropbox-dist/dropboxd

 

For selective sync, I tried

dropbox exclude add *
dropbox exclude remove website

from here

So far it is working fine.

 

After that, don’t forget to set the correct permission for the folder

sudo chown -R ubuntu:www-data ~/Dropbox/website 
sudo find ~/Dropbox/lwebsite -type d -exec chmod g+x {} \; 
sudo find ~/Dropbox/lwebsite -type d -exec chmod g+s {} \;

 

 

 

 

P.S. It turns out the problem is the file is not sync somehow because of conflict. But anyway, the above setup works well

Leave a Reply

Your email address will not be published. Required fields are marked *