Installation and Use of Dropbox Client on QuantaStor

This guide walks through the process of using a single Dropbox account on a QuantaStor system and associating the files with a ZFS-based Network File Share.

Initial Setup of Client

Logging in as root:

root@DropboxInstall:~# cd ~ && wget -O - "" | tar xzf -

The above line is from the Linux installation instructions found here and may change with time.

After this step, it is important not to continue without first changing the default Dropbox folder location, which is /root/Dropbox by default. If this folder exists after the above step, you can either move it aside or delete it. The Dropbox daemon should not be running at this point in time, but you will have all of the files needed to run the client.

The Dropbox client location is not change-able so we will put a symlink in the place of /root/Dropbox to point to a Network Share. To get a list of shares, run the following:

root@DropboxInstall:~# zfs list
NAME                                                                   USED  AVAIL  REFER  MOUNTPOINT
qs-b6b3cbe5-e532-b9a9-af33-480bff3eecad/ZFS2                            24K  9.63G    24K  /mnt/storage-pools/qs-b6b3cbe5-e532-b9a9-af33-480bff3eecad/ZFS2

In this case we have only one share to work with and will use the "MOUNTPOINT" section in our symlink creation.

root@DropboxInstall:~# ln -s /mnt/storage-pools/qs-b6b3cbe5-e532-b9a9-af33-480bff3eecad/ZFS2 /root/Dropbox

At this point, we can start the Dropbox Client to link the account we want:

root@DropboxInstall:~/.dropbox-dist# ./dropboxd
dropbox: locating interpreter
dropbox: logging to /tmp/dropbox-antifreeze-l9VJNp
dropbox: initializing
dropbox: initializing python 2.7.11
dropbox: setting program path '/root/.dropbox-dist/dropbox-lnx.x86_64-43.4.50/dropbox'
dropbox: setting home path '/root/.dropbox-dist/dropbox-lnx.x86_64-43.4.50'
dropbox: setting python path '/root/.dropbox-dist/dropbox-lnx.x86_64-43.4.50:/root/.dropbox-dist/dropbox-lnx.x86_64-43.4.50/'
dropbox: python initialized
dropbox: running dropbox
dropbox: setting args
dropbox: applying overrides
dropbox: running main script
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-43.4.50/'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-43.4.50/'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-43.4.50/'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-43.4.50/'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-43.4.50/'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-43.4.50/'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-43.4.50/'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-43.4.50/'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-43.4.50/'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-43.4.50/'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-43.4.50/'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-43.4.50/'
This computer isn't linked to any Dropbox account...
Please visit to link this device.
This computer is now linked to Dropbox. Welcome Example

You will have to visit the URL seen at the bottom of the printout and at that point files from the Dropbox account should begin downloading to the specified network share. The command above starts the Dropbox client, but does not return control to the console. Ctrl+C will exit the service. To start the service in the background, add a space to the above argument and the character '&', which tells the bash shell to send the process to the background.

Using separate storage from the boot drive of a Linux system is recommended against by Dropbox, but it can function using this method of soft symbolic links. When attempting to start the Dropbox client when the share is unavailable, you will see the following error message:

[ALERT]: Your Dropbox folder has been moved or deleted from its original location. Dropbox will not work properly until you move it back. It used to be located at: /root/Dropbox

To move it back, click "Exit" below, move the Dropbox folder back to its original location, and launch Dropbox again.

This computer was previously linked to's account.

If you'd like to link to an account again to download and restore your Dropbox from the web version, click "Relink".

[1]+  Exit 1                  /root/.dropbox-dist/dropboxd

This is the error message you will see if the network share is not available to the host system before it exits. After this, if the network share comes back, you can re-launch the Dropbox daemon.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Powered by Zendesk