Install Dropbox In Ubuntu 18.04 LTS Server

4 Responses

  1. Reg Natarajan says:

    Really helpful. Thank you.

  2. Ming Liu says:

    Thank you very much for your article.

    I’m trying to install dropbox to a new ubunto 18.04 on a VPS, and got stuck at the second command ~/.dropbox-dist/dropboxd with following error:

    Unable to monitor entire Dropbox folder hierarchy. Please run “echo fs.inotify.max_user_watches=100000 | sudo tee -a /etc/sysctl.conf; sudo sysctl -p” and restart Dropbox to fix the problem.

    then,
    [[email protected] ~]# echo fs.inotify.max_user_watches=100000 | sudo tee -a /etc/sysctl.conf; sudo sysctl -p
    fs.inotify.max_user_watches=100000
    sysctl: permission denied on key ‘fs.inotify.max_user_watches’
    sysctl: permission denied on key ‘fs.inotify.max_user_watches’
    sysctl: permission denied on key ‘fs.inotify.max_user_watches’

    I found somebody suggests to add this line to /etc/sysctl.conf
    fs.inotify.max_user_watches=1028576

    But it didn’t help me at all. What else can i do?

  3. sk says:

    Never faced this error, so I am not sure if it works. Do the following and let me know if it works.

    Edit sysctl.conf file:

    $ sudo vi /etc/sysctl.conf

    Add the following line at the end of the above file:

    fs.inotify.max_user_watches = 1048576

    Save and close the file.

    Apply the changes:

    $ sudo sysctl -p

    Finally, stop and restart dropbox service:

    $ sudo systemctl stop dropbox
    $ sudo systemctl start dropbox

  4. xy2z says:

    Working great on Ubuntu 16.04 – thanks

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.