Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Why use an init script instead of just plain systemd running the dropboxd daemon that comes with the base install? What I use is:
[Unit]
Description=Dropbox Service
After=network.target
[Service]
Restart=always
ExecStart=/home/username/.dropbox-dist/dropboxd
User=username
[Install]
WantedBy=multi-user.target
There’s a reference to /etc/systemd/dropbox but it should have been /etc/sysconfig/dropbox probably. Variable dbuser_home set in the init script is not used. It looks like this script is a modified copy of https://gist.github.com/kbrnsr/571f0bdb865e8fb1d846 or similar where this variable is being used.
the following procedure does:
su # be the super user mkdir /opt/dropbox # create install subdirectory, ensure all parents has “+x” permissions cd /opt/dropbox curl -JLO https://www.dropbox.com/download?plat=lnx.x86_64 # or “lnx.x86” for 32-bit (wget redirections are bugged) tar -xvzf dropbox-lnx.<version>.tar.gz # replace <version> vi /etc/systemd/system/dropbox@.service # edit file as shown below
------ edit file ------ [Unit]
Description=Dropbox headless client daemon for user %i Documentation=https://www.digitalocean.com/community/tutorials/how-to-install-dropbox-client-as-a-service-on-centos-7 After=network.target syslog.target
[Service]
User=%i Environment=LC_ALL=en_US.UTF-8 Environment=LANG=en_US.UTF-8
ExecStart=/opt/dropbox/.dropbox-dist/dropboxd
[Install]
WantedBy=multi-user.target ------ end ------
systemctl daemon-reload # load new script useradd dpbox-user # create local user su dpbox-user /opt/dropbox/.dropbox-dist/dropboxd # sinchronize dropbox account before enable daemon
------ console message ------ This pc is not linked to dropbox… Visit https://www.dropbox.com/cli_link_nonce?nonce=XxXxXxX … ------ stay ------
------ console message ------ linked to dropbox, welcome <user> ------ cancel ------
exit # return to super user systemctl enable dropbox@dpbox-user.service # enable and start dropbox for our user systemctl start dropbox@dpbox-user.service
multiuser systemd script with no wrapper the following procedure does:
su # be the super user mkdir /opt/dropbox # create install subdirectory, ensure all parents has “+x” permissions cd /opt/dropbox curl -JLO https://www.dropbox.com/download?plat=lnx.x86_64 # or “lnx.x86” for 32-bit (wget redirections are bugged) tar -xvzf dropbox-lnx.{version}.tar.gz # replace {version} vi /etc/systemd/system/dropbox@.service # edit file as shown below
------ edit file ------ [Unit]
Description=Dropbox headless client daemon for user %i Documentation=https://www.digitalocean.com/community/tutorials/how-to-install-dropbox-client-as-a-service-on-centos-7 After=network.target syslog.target
[Service]
User=%i Environment=LC_ALL=en_US.UTF-8 Environment=LANG=en_US.UTF-8
ExecStart=/opt/dropbox/.dropbox-dist/dropboxd
[Install]
WantedBy=multi-user.target ------ end ------
systemctl daemon-reload # load new script useradd dpbox-user # create local user su dpbox-user /opt/dropbox/.dropbox-dist/dropboxd # sinchronize dropbox account before enable daemon
------ console message ------ This pc is not linked to dropbox… Visit https://www.dropbox.com/cli_link_nonce?nonce=XxXxXxX … ------ stay ------
.# open the shown link in another browser from any pc, login and press “Connect” .# when the message changes, cancel the program (ctrl-c)
------ console message ------ linked to dropbox, welcome {user} ------ cancel ------
exit # return to super user systemctl enable dropbox@dpbox-user.service # enable and start dropbox for our user systemctl start dropbox@dpbox-user.service
I follow this tutorial step by step, and my environment is Centos 7.
but when i run $ /opt/dropbox/dropboxd
and get the following error message:
$ /opt/dropbox/dropboxd
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_errorsqSc6U.txt
and in /tmp/dropbox_errorsqSc6U.txt, it contains:
bn.BUILD_KEY: Dropbox
bn.VERSION: 24.4.16
bn.DROPBOXEXT_VERSION: failed
bn.is_frozen: True
machine_id: failed
pid: 11163
ppid: 11162
ppid exe: '/usr/bin/sudo'
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: '/opt/dropbox'
real_path='/opt/dropbox'
mode=040755 uid=0 gid=0
parent mode=040755 uid=0 gid=0
HOME: u'/root'
appdata: u'/root/.dropbox/instance1'
real_path=u'/root/.dropbox/instance1'
mode=040700 uid=0 gid=0
parent mode=040700 uid=0 gid=0
dropbox_path: u'/root/Dropbox'
real_path=u'/root/Dropbox'
not found
parent mode=040550 uid=0 gid=0
sys_executable: '/opt/dropbox/dropbox-lnx.x86_64-24.4.16/dropbox'
real_path='/opt/dropbox/dropbox-lnx.x86_64-24.4.16/dropbox'
mode=0100755 uid=1000 gid=1000
parent mode=040755 uid=1000 gid=1000
trace.__file__: '/opt/dropbox/dropbox-lnx.x86_64-24.4.16/library.zip/dropbox/client/ui/common/boot_error.pyc'
real_path='/opt/dropbox/dropbox-lnx.x86_64-24.4.16/library.zip/dropbox/client/ui/common/boot_error.pyc'
not found
parent not found
tempdir: '/tmp'
real_path='/tmp'
mode=041777 uid=0 gid=0
parent mode=040555 uid=0 gid=0
Traceback (most recent call last):
File "dropbox/client/main.py", line 5610, in main_startup
File "dropbox/client/main.py", line 2306, in run
File "dropbox/client/main.py", line 1608, in activate_translation
File "dropbox/i18n.py", line 314, in activate_translation
File "dropbox/i18n.py", line 366, in system_lang_code
File "dropbox/i18n.py", line 509, in get_system_languages
File "locale.py", line 543, in getdefaultlocale
File "locale.py", line 475, in _parse_localename
ValueError: unknown locale: UTF-8
I am sure that my user “carlos” can run sudo.
Other information:
$ cat /etc/*-release
CentOS Linux release 7.3.1611 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.3.1611 (Core)
CentOS Linux release 7.3.1611 (Core)
$ uname -m
x86_64
Could anyone help me to fix it? Thanks.
Can I change the location of where the dropbox client is installed?
I have httpd installed and want to have dropbox installed under /var/www so it will go /var/www/Dropbox as i want to run websites that are synced in dropbox.
I’m facing the problem
dropbox: load fq extension '/mnt/dropbox/dropbox-lnx.x86_64-76.4.126/apex._apex.cpython-37m-x86_64-linux-gnu.so'
Traceback (most recent call last):
File "dropbox/client/main.pyc", line 18, in <module>
File "dropbox/client/features/catalina_migration/catalina_migration_controller.pyc", line 12, in <module>
File "dropbox/client/authentication/manager.pyc", line 57, in <module>
File "dropbox/client/high_trace.pyc", line 53, in <module>
File "dropbox/client/logging/dbxlog_logger.pyc", line 11, in <module>
File "apex/dbxlog.pyc", line 14, in <module>
File "<_bootstrap_overrides>", line 153, in load_module
ImportError: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /mnt/dropbox/dropbox-lnx.x86_64-76.4.126/apex._apex.cpython-37m-x86_64-linux-gnu.so)
!! dropbox: fatal python exception:
['Traceback (most recent call last):\n', ' File "dropbox/client/main.pyc", line 18, in <module>\n', ' File "dropbox/client/features/catalina_migration/catalina_migration_controller.pyc", line 12, in <module>\n', ' File "dropbox/client/authentication/manager.pyc", line 57, in <module>\n', ' File "dropbox/client/high_trace.pyc", line 53, in <module>\n', ' File "dropbox/client/logging/dbxlog_logger.pyc", line 11, in <module>\n', ' File "apex/dbxlog.pyc", line 14, in <module>\n', ' File "<_bootstrap_overrides>", line 153, in load_module\n', "ImportError: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /mnt/dropbox/dropbox-lnx.x86_64-76.4.126/apex._apex.cpython-37m-x86_64-linux-gnu.so)\n"] (error 3)
Aborted
any suggestions?
Boa tarde,
Na hora da instalação esta dando o erro:
/opt/dropbox/dropbox-lnx.x86_64-159.4.5870/dropbox: /lib64/libc.so.6: version `GLIBC_2.18’ not found (required by /opt/dropbox/dropbox-lnx.x86_64-159.4.5870/libdropbox_core.so)
Se alguém puder me ajudar.
Obrigado!