Cannot install Dropbox on Ubuntu 18.04.3 (LTS) x64

October 31, 2019 745 views
Linux Basics Ubuntu 18.04

Hi,

I have a droplet which has Ubuntu 18.04.3 (LTS) x64 image. I want to install Dropbox client on it. When I run the commands [cd ~ && wget -O - “https://www.dropbox.com/download?plat=lnx.x86_64” | tar xzf -] from https://www.dropbox.com/install-linux , I get some error codes and Dropbox isn’t running:

root@ubuntu-s-1vcpu-1gb-nyc1-01:~# dropbox start
Starting Dropbox...dropbox: locating interpreter
dropbox: logging to /tmp/dropbox-antifreeze-bq2Vuh
dropbox: initializing
dropbox: initializing python 3.7.2
dropbox: setting program path '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/dropbox'
dropbox: setting home path '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170'
dropbox: setting python path '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170:/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/python-packages-37.zip'
dropbox: python initialized
dropbox: running dropbox
dropbox: setting args
dropbox: applying overrides
dropbox: running main script
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/cryptography.hazmat.bindings._constant_time.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/cryptography.hazmat.bindings._openssl.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/cryptography.hazmat.bindings._padding.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/psutil._psutil_linux.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/psutil._psutil_posix.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/linuxffi.pthread._linuxffi_pthread.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/cpuid.compiled._cpuid.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/apex._apex.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/tornado.speedups.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/linuxffi.resolv.compiled._linuxffi_resolv.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/librsyncffi.compiled._librsyncffi.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/linuxffi.sys.compiled._linuxffi_sys.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/posixffi.libc._posixffi_libc.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/linuxffi.gnu.compiled._linuxffi_gnu.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/PyQt5.QtCore.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/PyQt5.QtGui.cpython-37m-x86_64-linux-gnu.so'
Dropbox isn't running!
Done!
root@ubuntu-s-1vcpu-1gb-nyc1-01:~# dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/PyQt5.QtGui.cpython-37m-x86_64-linux-gnu.so'
Couldn't start Dropbox.
This is usually because of a permissions error. Storing your home folder on a network share can also cause an error.

Get more help at https://www.dropbox.com/c/help/permissions_error

Please contact Dropbox support with the following info for help:

/tmp/dropbox_errortyrkamwc.txt

And /tmp/dropbox_errortyrkamwc.txt contains:

bn.BUILD_KEY: Dropbox
bn.VERSION: 84.4.170
bn.DROPBOXEXT_VERSION: failed
bn.is_frozen: True
machine_id: 0d1c6729-a6dd-4e4d-bcd5-12676fa0f9e9
pid: 2391
ppid: 1
ppid exe: '/lib/systemd/systemd'
uid: 0
user_info: pwd.struct_passwd(pw_name='root', pw_passwd='x', pw_uid=0, pw_gid=0, pw_gecos='root', pw_dir='/root', pw_shell='/bin/bash')
effective_user_info: pwd.struct_passwd(pw_name='root', pw_passwd='x', pw_uid=0, pw_gid=0, pw_gecos='root', pw_dir='/root', pw_shell='/bin/bash')
euid: 0
gid: 0
egid: 0
group_info: grp.struct_group(gr_name='root', gr_passwd='x', gr_gid=0, gr_mem=[])
effective_group_info: grp.struct_group(gr_name='root', gr_passwd='x', gr_gid=0, gr_mem=[])
LD_LIBRARY_PATH: None
cwd: '/root'
     real_path='/root'
            mode=0o40700    uid=0   gid=0
     parent mode=0o40755    uid=0   gid=0
HOME: '/root'
appdata: '/root/.dropbox/instance1'
         real_path='/root/.dropbox/instance1'
                mode=0o40700    uid=0   gid=0
         parent mode=0o40755    uid=0   gid=0
dropbox_path: '/root/Dropbox'
              real_path='/root/Dropbox'
                        not found
              parent    mode=0o40700    uid=0   gid=0
sys_executable: '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/dropbox'
                real_path='/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/dropbox'
                        mode=0o100775   uid=1000    gid=1000
                parent  mode=0o40775    uid=1000    gid=1000
trace.__file__: '/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/python-packages-37.zip/dropbox/client/ui/common/boot_error.pyc'
                real_path='/root/.dropbox-dist/dropbox-lnx.x86_64-84.4.170/python-packages-37.zip/dropbox/client/ui/common/boot_error.pyc'
                        not found
                parent  not found
tempdir: '/tmp'
         real_path='/tmp'
                mode=0o41777    uid=0   gid=0
         parent mode=0o40755    uid=0   gid=0
Traceback (most recent call last):
  File "dropbox/client/main.pyc", line 7725, in main_startup
  File "dropbox/client/main.pyc", line 3475, in run
  File "ui/common/uikit.pyc", line 876, in create_ui_kit
  File "dropbox/client/ui/qt/uikit.pyc", line 53, in <module>
  File "<_bootstrap_overrides>", line 153, in load_module
ImportError: libglapi.so.0: cannot open shared object file: No such file or directory

What should I do at this point?

Thanks in advance.

1 Answer

Hello,

I think that you need to install both libxshmfence and libglapi-mesa.

You can do that with:

sudo apt install libglapi-mesa libxshmfence-dev

Let me know how it goes.

Regards,
Bobby

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!