Dropbox

From LWP-Wiki
Jump to navigation Jump to search


Dropbox has stopped the support of all linux file systems except ext4. You home dir is a network disk using NFS (Networked File System). We've tried moving Dropbox to a local disk formatted with the ext4 file system, but the Dropbox client will not move the data from your home drive to anywhere else... it claims it will, but then fails.
As a (probably permanent) workaround, for RUG employees it's possible to either copy your files into Unishare or link your Dropbox account to your Unishare account as "external storage", so you won't need the Dropbox client anymore. You can use the Owncloud client instead. This is by no means "well tested" and we do not guarantee any functionality, but it's better then nothing. Owncloud is the software used to create the Unishare environment. The Owncloud client is installed on all LWP's.

Option 1 Move your files into unishare

  1. Stop de dropbox client
  2. Start the owncloud client
  3. After login you can either
    1. copy your files manually into the ~ownCloud directory
    2. or add ~/Dropbox as a sync folder
  4. You now must use the ownCloud client on your other computers as well

Option 2 Link your dropbox account

First enable access to your Dropbox account

  1. Go to https://www.dropbox.com and login to your account.
  2. In the bottom right corner, click the dot menu (the 3 dots) and select Developers.
  3. On the new page select My apps.
  4. Click Create app.
  5. At 1 select Dropbox API
  6. At 2 select Full Dropbox if you want to be able to access your entire Dropbox account from within your Unishare account. If you only need/want access to one specific folder, select App folder.
  7. At 3 Enter any name for the app. Something like "Unishare" will help you recognize it in the future.
  8. Click the Create app button.
  9. On the next page we have to give an address at Redirect URIs. Enter the following address, https://unishare.nl/index.php/settings/personal?sectionid=storage and don't forget to click Add.
  10. Above the Redirect URIs you should see App key and App secret, you'll need those to give Unishare access to your Dropbox.

Next add your Dropbox account to Unishare

  1. Now go to https://unishare.nl/index.php/login and login there using your RUG account.
  2. On your home page click in the upper right corner (on your name) and select Settings.
  3. On the left side of your settings page, select Storage.
  4. On the new page click the Add storage button and select Dropbox V2.
  5. Change the Folder name (or don't).
  6. For Client ID use the App key you took note of at the end of the previous section and for Client secret use the App secret.
  7. Click the Grant access button and you should see it become green.

That should be it, now there should be an extra folder between your files with the name you gave it (or didn't give it).

You can now continue to use the Dropbox client on other computers or switch to the owncloud client.