Question

How to configure Dropbox on Ubuntu 20.04

Posted July 13, 2021 1.4k views
PythonUbuntu 20.04

I am following an old guide (which is the most up-to-date that I could locate) for setting up Dropbox on an Ubuntu droplet (https://www.digitalocean.com/community/tutorials/how-to-install-dropbox-client-as-a-service-on-ubuntu-14-04), and am running into errors.

I can download and extract everything just fine, but when I run /opt/dropbox/dropboxd it fails and aborts. Apparently it cannot run python??

$> /opt/dropbox/dropboxd
dropbox: load fq extension '/opt/dropbox/dropbox-lnx.x86_64-126.4.4618/cryptography.hazmat.bindings._openssl.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/dropbox-lnx.x86_64-126.4.4618/cryptography.hazmat.bindings._padding.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/dropbox-lnx.x86_64-126.4.4618/psutil._psutil_linux.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/dropbox-lnx.x86_64-126.4.4618/psutil._psutil_posix.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/dropbox-lnx.x86_64-126.4.4618/apex._apex.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/dropbox-lnx.x86_64-126.4.4618/tornado.speedups.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/dropbox-lnx.x86_64-126.4.4618/wrapt._wrappers.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/dropbox-lnx.x86_64-126.4.4618/PyQt5.QtWidgets.cpython-38-x86_64-linux-gnu.so'
RUST PANICKING -- "Failed to run Python command!" at "app/lib/core/bootstrap/src/python.rs":127
Aborted

$> which python
$> which python3
/usr/bin/python3

I am using a freshly generated droplet with Ubuntu 20.04. Has anyone experienced this before?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Update: SOLVED!

It turns out that not all dependencies needed are installed by default, which the article from Ubuntu 14.04 failed to mention. Here is what I needed to do first:

sudo apt install libc6 libglapi-mesa libxdamage1 libxfixes3 libxcb-glx0 libxcb-dri2-0 libxcb-dri3-0 libxcb-present0 libxcb-sync1 libxshmfence1 libxxf86vm1

After installing these packages, I continued the guide and was able to get Dropbox installed.