User Tools

Site Tools


linux:dropbox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
linux:dropbox [2016/10/06 07:38] jansenlinux:dropbox [2018/10/26 14:37] jansen
Line 1: Line 1:
 ====== Dropbox ====== ====== Dropbox ======
  
-Dropbox is a nice tool to synchronize some documents between computers. It is available on our desktops, but take care of a couple of things:+Dropbox is a nice tool to synchronize some documents between computers. It is available on our Linux desktops, but take care of a couple of things:
  
-  * Dropbox offers 2GB storage. But synchronization implies, that a local copy is made. Default location is in your home directory, but perhaps you don't have 2GB there (or you don't want to waste the limited space that you have in home). So make sure you move your Dropbox folder to another location, preferably on the local disk of your desktop. (Dropbox preferences - Advanced tab).\\+  * Dropbox offers 2GB storage. But synchronization implies, that a local copy is made. Default location is in your home directory, but perhaps you don't have 2GB there (or you don't want to waste the limited space that you have in home). So make sure you move your Dropbox folder to another location, preferably on the local disk of your desktop. (Dropbox preferences - Advanced tab).
 Not only will that prevent quota problems on /home, it will also be faster, because your local copy is actually local. Not only will that prevent quota problems on /home, it will also be faster, because your local copy is actually local.
 +  * **IMPORTANT**: As of October 2018, Dropbox is giving warnings that it will stop working on unsupported filesystems, which includes nfs (network file system, eg the /home disk). Two scenarios to solve this:
 +  - A new setup of Dropbox will by default start in ''/home'' and complain. Go into the preferences and move Dropbox to a location on the local disk (''/data1'' or ''/data2''). That should solve the issue and stop the warnings.
 +  - If you followed earlier advice, and moved ''~/Dropbox'' to a local disk, but kept a symbolic link, the warning will appear since dropbox apparently doesn't understand this. Unfortunately, you can not simply tell Dropbox where the directory actually is. So here is a series of actions to work around it, and end up with the desired setup: Dropbox on the local data disk, without the link and without complaints
 +    * Close dropbox to make sure nothing is running
 +    * Rename the Dropbox directory on your local disk. E.g. ''mv /data1/yourusername/Dropbox /data1/yourusername/Dropbox2''
 +    * Remove the symbolic link in  your home directory, and create a new one: ''rm ~/Dropbox; ln -s /data1/yourusername/Dropbox2 ~/Dropbox''
 +    * Restart dropbox. It will complain, as usual.
 +    * Go to the preferences and tell Dropbox to move its data from ''~/Dropbox'' to ''/data1/yourusername''. So actually, it will go through the symbolic link and move ''Dropbox2'' to ''Dropbox'' in the new location
 +    * Restart dropbox again. It will now work with the local location (''/data1/yourusername/Dropbox'')
 +    * If you want, you can now remove the symbolic link from your home directory
 +  - An alternative method tricks dropbox into seeing another directory as your home, so you can avoid using the nfs mounted home disk. However, using this method, dropbox cannot be started automatically when you log in, you have to use the commandline to start it up, although file manager access will work once started.
 +    * Stop Dropbox if it is already running
 +    * Create the directory where you want the Dropbox files on the local disk, eg ''/data1/yourusername''
 +    * Point HOME to that location, and start installing dropbox:  ''( setenv HOME /data1/yourusername ; dropbox start -i )''
 +    * Next time you log in, repeat this command without the -i option: ''( setenv HOME /data1/yourusername ; dropbox start )''
   * Disable LAN sync (Dropbox preferences - general tab). It would only be useful to synchronize between computers in the local network, but the computers in our network can share disks through automount, so there just is no point to have Dropbox generate a lot of network traffic to duplicate a feature we already offer (with much greater flexibility, and not limited to a single directory of 2 GB).   * Disable LAN sync (Dropbox preferences - general tab). It would only be useful to synchronize between computers in the local network, but the computers in our network can share disks through automount, so there just is no point to have Dropbox generate a lot of network traffic to duplicate a feature we already offer (with much greater flexibility, and not limited to a single directory of 2 GB).
   * Do not run Dropbox on multiple desktops at the same time. Dropbox isn't aware of the fact, that a data location like ''/net/computername/something'' is shared between computers, it will try to synchronize from that location on one computer, to that same location on another computer, potentially overwriting or damaging the files. And again: there is no need to use Dropbox to synchronize between computers in our network    * Do not run Dropbox on multiple desktops at the same time. Dropbox isn't aware of the fact, that a data location like ''/net/computername/something'' is shared between computers, it will try to synchronize from that location on one computer, to that same location on another computer, potentially overwriting or damaging the files. And again: there is no need to use Dropbox to synchronize between computers in our network 
Line 16: Line 31:
 ====== Commandline tools ====== ====== Commandline tools ======
 Dropbox also provides a commandline tool to handle your shared folder. The command is called ''dropbox'', and is usually called with sub-commands to check the status (''dropbox status''), start dropbox if not already running (''dropbox start''). See the man page or ''dropbox help'' for more details. Dropbox also provides a commandline tool to handle your shared folder. The command is called ''dropbox'', and is usually called with sub-commands to check the status (''dropbox status''), start dropbox if not already running (''dropbox start''). See the man page or ''dropbox help'' for more details.
 +
 +====== Dropbox on Windows ======
 +It is unfortunately not possible to have Dropbox working on the Windows pcs that are part of the domain. This seems to be a known bug with user profiles that are stored on a central cerver, something Dropbox currently cannot handle. On those machines, you are limited to using the dropbox web interface for uploading and downloading your files. \\
 +Alternatively, one can use other [[cloud storage]] tools such as [[OwnCloud]], which do work on Windows domains.
  
 ====== See also ====== ====== See also ======
 See also [[https://www.dropbox.com]] \\ See also [[https://www.dropbox.com]] \\
-''man dropbox'' for the manual page of the commandline tool.+''man dropbox'' for the manual page of the commandline tool.\\ 
 +See [[Cloud storage]] for a list of other, similar programs. 
  
linux/dropbox.txt · Last modified: 2020/07/22 09:15 by jansen