cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Learn all about how Alex on the Community team used Dropbox in college here!

Dropbox installs & integrations

Connect your tools and content together with help from the Dropbox Community. Join a discussion or post a question of your own to get started.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ubuntu headless install not working

Ubuntu headless install not working

tn3
Explorer | Level 4

I'm trying to do the Linux headless install as described at https://www.dropbox.com/install on an Ubuntu 16.04 workstation.   It works until I get to the point in the instructions that say "If you're running Dropbox on your server for the first time, you'll be asked to copy and paste a link in a working browser to create a new account or add your server to an existing account."

I don't get any notice of the URL to use.   The last thing I see when I start dropboxd from my command line is "Opening in existing browser session" -- but no URL is provided.

 

1 Accepted Solution

Accepted Solutions

Re: Ubuntu headless install not working

Walter
Dropboxer

Assuming that this is not caused by an antivirus, firewall or VPN/proxy setting on this specific machine, I'll need to ask: have you downloaded the Python script from that page as well @tn3

If possible, could you change your default browser and try again too?

PS: For a list of all the system requirements take a look below: 

https://www.dropbox.com/help/desktop-web/system-requirements


Walter
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

View solution in original post

39 Replies 39

Re: Ubuntu headless install not working

Walter
Dropboxer

Assuming that this is not caused by an antivirus, firewall or VPN/proxy setting on this specific machine, I'll need to ask: have you downloaded the Python script from that page as well @tn3

If possible, could you change your default browser and try again too?

PS: For a list of all the system requirements take a look below: 

https://www.dropbox.com/help/desktop-web/system-requirements


Walter
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

View solution in original post

Re: Ubuntu headless install not working

tn3
Explorer | Level 4

Walter

Thanks for the suggestion about downloading the Python script.   I did that, ran the script using the command

python dropbox.py status

That consequently gave me the link to paste into my browser.

 

 

Re: Ubuntu headless install not working

Walter
Dropboxer

Glad I could help @tn3!

Happy New Year too.

PS: If you ever come up with any Dropbox question, you know where to find us :wink:


Walter
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

Re: Ubuntu headless install not working

marclevoy
Explorer | Level 4

I'm in a similar situation, with a headless Debian Linux instance.

I believe the 64-bit Dropbox distribution was installed correctly, but:

 sudo ./dropbox.py status
Dropbox isn't running!

and that's all - no link.  What am I doing wrong?

BTW, dropbox.py start gives me a log of steps, ending with:

dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/PyQt5.QtDBus.cpython-37m-x86_64-linux-gnu.so'
Dropbox isn't running!
Done!
l

So that doesn't help either.

Adding -i doesn't do anything different.

-Marc

 

Re: Ubuntu headless install not working

Здравко
Super Collaborator | Level 20
Don't use 'sudo' for either directly run Dropbox daemon or use the script! The application works only in user mode, that's why changing context could lead to issues. Both daemon and script should work in same context to be able connect to each other. 😉

Re: Ubuntu headless install not working

marclevoy
Explorer | Level 4

Oops, put my reply in the wrong place in this thread.  Please see above.

I tried it without sudo, and still can't make it work.  The install script just stops without giving me a login link.

 

-Marc

 

 

Re: Ubuntu headless install not working

Здравко
Super Collaborator | Level 20

@marclevoy wrote:
...  The install script just stops without giving me a login link.

...


One note: headless Dropbox have NOT an install script! Just executables. Entire installation is just extract the archive, nothing more. :wink:

what is result from:

~/.dropbox-dist/dropboxd

Run the above in terminal and post the entire result (together command and result) as is.

PS: To be sure that everything start on clear base, try following in advance:

rm -rf ~/.dropbox ~/Dropbox

If there is something in your Dropbox folder, backup it first.

Re: Ubuntu headless install not working

marclevoy
Explorer | Level 4

Here is the output from the wget and Dropboxd commands:

 

levoy@levoy:~$ cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
--2020-01-02 18:03:27-- https://www.dropbox.com/download?plat=lnx.x86_64
Resolving www.dropbox.com (www.dropbox.com)... 162.125.1.1, 2620:100:6016:1::a27d:101
Connecting to www.dropbox.com (www.dropbox.com)|162.125.1.1|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-87.4.138.tar.gz [following]
--2020-01-02 18:03:27-- https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-87.4.138.tar.gz
Resolving clientupdates.dropboxstatic.com (clientupdates.dropboxstatic.com)... 99.86.39.59
Connecting to clientupdates.dropboxstatic.com (clientupdates.dropboxstatic.com)|99.86.39.59|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 101508210 (97M) [binary/octet-stream]
Saving to: ‘STDOUT’

- 100%[===================>] 96.81M 41.7MB/s in 2.3s

2020-01-02 18:03:29 (41.7 MB/s) - written to stdout [101508210/101508210]

levoy@levoy:~$ ~/.dropbox-dist/dropboxd
dropbox: locating interpreter
dropbox: logging to /tmp/dropbox-antifreeze-eBYwi0
dropbox: initializing
dropbox: initializing python 3.7.5
dropbox: setting program path '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/dropbox'
dropbox: setting python path '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138:/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/python-packages.zip'
dropbox: python initialized
dropbox: running dropbox
dropbox: setting args
dropbox: applying overrides
dropbox: running main script
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/cryptography.hazmat.bindings._constant_time.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/cryptography.hazmat.bindings._openssl.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/cryptography.hazmat.bindings._padding.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/psutil._psutil_linux.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/psutil._psutil_posix.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/linuxffi.pthread._linuxffi_pthread.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/cpuid.compiled._cpuid.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/apex._apex.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/tornado.speedups.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/linuxffi.resolv.compiled._linuxffi_resolv.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/librsyncffi.compiled._librsyncffi.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/linuxffi.sys.compiled._linuxffi_sys.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/posixffi.libc._posixffi_libc.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/linuxffi.gnu.compiled._linuxffi_gnu.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/PyQt5.QtCore.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/PyQt5.QtGui.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/PyQt5.QtNetwork.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/PyQt5.QtWidgets.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/usr/local/google/home/levoy/.dropbox-dist/dropbox-lnx.x86_64-87.4.138/PyQt5.QtDBus.cpython-37m-x86_64-linux-gnu.so'
levoy@levoy:~$ ./dropbox.py status
Dropbox isn't running!
levoy@levoy:~$

Re: Ubuntu headless install not working

Здравко
Super Collaborator | Level 20

:grinning::slight_smile: Seems you have killed the daemon! That's why "Dropbox isn't running!".

Ok... Try following and paste the result:

rm -rf ~/.dropbox ~/.dropbox-dist ~/Dropbox; ./dropbox.py start -i

In that way the daemon will be detached and you can check the status in same terminal without killing anything. :wink:

Poll
Do you work or study in the creative industry? If so, which area?
If you use Adobe, don't forget to check out our latest integrations update here.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?