12

For mysterious reasons dropbox is not working anymore. I have added few small pdf to my folder and it is syncing them for hours. I have tried to remove and reinstall dropbox but nothing is changed.

I suspect this can be due a possible recent ubuntu update. Has anyone the same problem or now how to solve it?

Donbeo
  • 501
  • 1
  • 8
  • 27

6 Answers6

10

I had the same problem, I removed the .dropbox hidden folder (located at home directory) and reinstalled Dropbox again.

But according to https://www.dropbox.com/help/72 you can reset ownership an permissions running the following commands:

sudo chown "$USER" "$HOME"
sudo chown -R "$USER" ~/Dropbox ~/.dropbox ~/.dropbox-master
sudo chattr -R -i ~/Dropbox
sudo chmod -R u+rw ~/Dropbox ~/.dropbox ~/.dropbox-master
Daniel Semblano
  • 486
  • 4
  • 7
6

I have the same problem with Ubuntu 16.04. I ran dropbox from the terminal and it suggested to execute the following command to fix the problem, and restart dropbox:

echo fs.inotify.max_user_watches=100000 | sudo tee -a /etc/sysctl.conf; sudo sysctl -p

It worked for me :-)

user.dz
  • 48,105
Pamela
  • 61
  • Just "run dropbox from the terminal" is the best way to find the problem. Mine was out of disk space on that partition. – andrew lorien Jan 17 '17 at 00:58
3

First check whether Dropbox has been installed properly...

Run this command in terminal:

dropbox status

If the output is Dropbox isn't running!

Then run the following command:

dropbox start 

Or if that doesn't work, try dropbox start -i to locate interpreter if possible.

Now Dropbox will start and automatically synchronize the updated files.

Fox next time you can run this command to start Dropbox automatically...

dropbox autostart
Reza Rahemi
  • 263
  • 1
  • 15
Sanaulla
  • 141
2

I have a sync problem (16.04) which at least affects Dropbox uploading on eduroam, the WiFi where I work. Syncing does work when invoking Dropbox by terminal. To ensure upload, I've added

alias drop='dropbox stop && dropbox start && until [ "$(dropbox status)" = "Up to date" ] ; do dropbox status; sleep 1; done'

to my .bashrc file in my home folder. Running drop in terminal then stops and starts Dropbox and syncs, outputting status until finished. It's not pretty, but it works.

Rasmus
  • 8,375
0

Another possibility, if someone runs into such a problem:

I had the service stop working and so I updated to the latest version (currently 2.10.30). In ~/.dropbox-dist the main program has been changed from dropbox to dropboxd so my script in /etc/init.d had to be edited to reflect the change.

Line 4 in the popular Dropbox script should be

DAEMON=.dropbox-dist/dropboxd

(I ran into this problem in both Ubuntu 14.04 and 10.04, and 10.04 is still having problems, namely not syncing when a file is deleted and re-created.)

sventech
  • 140
0

I tried everything at https://www.dropbox.com/help/72 to no avail. The only thing that worked for me (Dropbox 2.10.30 under Ubuntu 14.04) was plugging my computer to a wired internet connection.