[HOWTO] Dropbox (CLI) in OMV

  • I can not get the script running after a restart too.


    I get the following



    and the script is exact the same as the one attached above with user 'root'
    the application runs once I place the start command manually, and updates the dropbox folder.
    though on status I receive this


    Code
    root@openmediavault:~# /etc/init.d/dropbox status
    [: 67: 6693: unexpected operator
    dropboxd for USER root: running (pid 6693
    12600)


    i would appreciate any help.

  • i have set it up the following way


    Add the following line to /etc/apt/sources.list.


    deb http://linux.dropbox.com/debian squeeze main


    To import our GPG keys into your apt repository, perform the following command from your terminal shell:
    $ sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5044912E


    apt-get update
    apt-get install dropbox


    copied the init.d script from the link in this topic as well point 13 and 14
    http://www.fene-blog.de/linux/…bian-ohne-gui-einrichten/


    then i used the script of this page:
    http://www.jobnix.in/dropbox-c…ine-interface-cli-client/


    which is amazingly handy after you have followed the steps and created your core-api etc you can do:


    root@nas:~# droptobox list
    > Listing "/"... DONE
    [D] AMD_error_handling
    [D] -------
    [D] --------
    [F] --------
    [D] MIT
    [D] Photos
    [D] Public
    [D] Set of Books


    hope this helps, you can take this even a step further and create a dropbox chooser and copy the javascript code in the OMV webserver plugin ;)

  • Zitat von "tekkbebe"

    I saw there is a .deb file (32bit and 64bit). Is there a reason no one has tried these?


    the normal download uses this file already you can install it in different ways


    oot@nas:/# cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
    --2013-05-09 16:47:12-- https://www.dropbox.com/download?plat=lnx.x86_64
    Resolving http://www.dropbox.com... 199.47.217.171
    Connecting to http://www.dropbox.com|199.47.217.171|:443... connected.
    HTTP request sent, awaiting response... 302 FOUND
    Location: https://dl-web.dropbox.com/u/1…-lnx.x86_64-2.0.10.tar.gz [following]
    --2013-05-09 16:47:13-- https://dl-web.dropbox.com/u/1…-lnx.x86_64-2.0.10.tar.gz
    Resolving dl-web.dropbox.com... 54.243.105.86
    Connecting to dl-web.dropbox.com|54.243.105.86|:443... connected.
    HTTP request sent, awaiting response... 302 FOUND
    Location: https://dl.dropboxusercontent.…-lnx.x86_64-2.0.10.tar.gz [following]
    --2013-05-09 16:47:14-- https://dl.dropboxusercontent.…-lnx.x86_64-2.0.10.tar.gz
    Resolving dl.dropboxusercontent.com... 54.243.119.191
    Connecting to dl.dropboxusercontent.com|54.243.119.191|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 20757730 (20M) [application/x-tar]
    Saving to: `STDOUT'



    but the easiest is to use the droptobox with the api see above link to connect and share etc

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!