Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dropbox no longer loads [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Robert S
Guru
Guru


Joined: 15 Aug 2004
Posts: 460
Location: Canberra Australia

PostPosted: Sun Jun 14, 2020 10:22 am    Post subject: dropbox no longer loads [SOLVED] Reply with quote

I have been using dropbox on a headless machine, with a text-only interface. The daemon no longer loads:
Quote:
# /etc/init.d/dropbox start
* Starting dropbox ...
/etc/init.d/dropbox: line 19: /home/robert/.dropbox/dropbox.pid: No such file or directory [ !! ]
* Failed to start dropbox for robert
* ERROR: dropbox failed to start

I get the following if I run the executable:
Quote:
$ dropbox start
dropbox: locating interpreter
dropbox: logging to /tmp/dropbox-antifreeze-GH6xJM
dropbox: initializing
dropbox: initializing python 3.7.5
dropbox: setting program path '/opt/dropbox/dropbox'
dropbox: setting python path '/opt/dropbox:/opt/dropbox/python-packages.zip'
dropbox: python initialized
dropbox: running dropbox
dropbox: setting args
dropbox: applying overrides
dropbox: running main script
dropbox: load fq extension '/opt/dropbox/cryptography.hazmat.bindings._constant_time.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/cryptography.hazmat.bindings._openssl.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/cryptography.hazmat.bindings._padding.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/psutil._psutil_linux.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/psutil._psutil_posix.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/apex._apex.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/tornado.speedups.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/wrapt._wrappers.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/PyQt5.QtWidgets.cpython-37m-x86_64-linux-gnu.so'
Traceback (most recent call last):
File "dropbox/client/main.pyc", line 262, in <module>
File "dropbox/foundation/navigation_service/factory.pyc", line 22, in <module>
File "dropbox/foundation/navigation_service/navigation_service_impl.pyc", line 57, in <module>
File "dropbox/foundation/html_views/electron/manager_factory.pyc", line 14, in <module>
File "dropbox/foundation/html_views/local/common/manager.pyc", line 33, in <module>
File "dropbox/client/features/model_registry.pyc", line 13, in <module>
File "dropbox/client/features/generated_models.pyc", line 286, in <module>
File "dropbox/client/features/previews/view_anchor.pyc", line 106, in <module>
File "<_bootstrap_overrides>", line 153, in load_module
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
!! dropbox: fatal python exception:
['Traceback (most recent call last):\n', ' File "dropbox/client/main.pyc", line 262, in <module>\n', ' File "dropbox/foundation/navigation_service/factory.pyc", line 22, in <module>\n', ' File "dropbox/foundation/navigation_service/navigation_service_impl.pyc", line 57, in <module>\n', ' File "dropbox/foundation/html_views/electron/manager_factory.pyc", line 14, in <module>\n', ' File "dropbox/foundation/html_views/local/common/manager.pyc", line 33, in <module>\n', ' File "dropbox/client/features/model_registry.pyc", line 13, in <module>\n', ' File "dropbox/client/features/generated_models.pyc", line 286, in <module>\n', ' File "dropbox/client/features/previews/view_anchor.pyc", line 106, in <module>\n', ' File "<_bootstrap_overrides>", line 153, in load_module\n', 'ImportError: libGL.so.1: cannot open shared object file: No such file or directory\n'] (error 3)
Aborted

Here's the startup:
Quote:

# /etc/init.d/dropbox start --debug
+ sourcex -e /etc/rc.conf
+ '[' -e = -e ']'
+ shift
+ '[' -e /etc/rc.conf ']'
+ . /etc/rc.conf
++ rc_shell=/sbin/sulogin
++ unicode=YES
++ rc_tty_number=12
++ rc_logger=YES
+ '[' -d /etc/rc.conf.d ']'
+ _conf_d=/etc/init.d/../conf.d
+ _c=dropbox
+ '[' -n dropbox -a dropbox '!=' dropbox ']'
+ unset _c
+ sourcex -e /etc/init.d/../conf.d/dropbox.default
+ '[' -e = -e ']'
+ shift
+ '[' -e /etc/init.d/../conf.d/dropbox.default ']'
+ return 1
+ sourcex -e /etc/init.d/../conf.d/dropbox
+ '[' -e = -e ']'
+ shift
+ '[' -e /etc/init.d/../conf.d/dropbox ']'
+ . /etc/init.d/../conf.d/dropbox
++ PID_DIR=/var/run/dropbox
++ DROPBOX_USERS=robert
+ unset _conf_d
+ sourcex /lib/rc/sh/runit.sh
+ '[' /lib/rc/sh/runit.sh = -e ']'
+ . /lib/rc/sh/runit.sh
+ sourcex /lib/rc/sh/s6.sh
+ '[' /lib/rc/sh/s6.sh = -e ']'
+ . /lib/rc/sh/s6.sh
++ '[' -z '' ']'
++ s6_service_path=/var/svc.d/dropbox
+ sourcex /lib/rc/sh/start-stop-daemon.sh
+ '[' /lib/rc/sh/start-stop-daemon.sh = -e ']'
+ . /lib/rc/sh/start-stop-daemon.sh
+ sourcex /lib/rc/sh/supervise-daemon.sh
+ '[' /lib/rc/sh/supervise-daemon.sh = -e ']'
+ . /lib/rc/sh/supervise-daemon.sh
++ extra_commands='healthcheck unhealthy '
+ sourcex /etc/init.d/dropbox
+ '[' /etc/init.d/dropbox = -e ']'
+ . /etc/init.d/dropbox
+ yesno ''
+ '[' -z '' ']'
+ return 1
+ for _cmd in "$@"
+ '[' start '!=' status -a start '!=' describe ']'
+ '[' -n '' ']'
++ command -v cgroup_add_service
+ '[' cgroup_add_service = cgroup_add_service ']'
+ grep -qs /sys/fs/cgroup /proc/1/mountinfo
+ '[' -d /sys/fs/cgroup -a '!' -w /sys/fs/cgroup ']'
+ cgroup_add_service
+ for d in /sys/fs/cgroup/*
+ '[' -w /sys/fs/cgroup/openrc/tasks ']'
+ printf %d 0
+ for d in /sys/fs/cgroup/*
+ '[' -w /sys/fs/cgroup/unified/tasks ']'
+ openrc_cgroup=/sys/fs/cgroup/openrc
+ '[' -d /sys/fs/cgroup/openrc ']'
+ cgroup=/sys/fs/cgroup/openrc/dropbox
+ mkdir -p /sys/fs/cgroup/openrc/dropbox
+ '[' -w /sys/fs/cgroup/openrc/dropbox/tasks ']'
+ printf %d 0
++ command -v cgroup_set_limits
+ '[' cgroup_set_limits = cgroup_set_limits ']'
+ cgroup_set_limits
+ local blkio=
+ '[' -n '' ']'
+ local cpu=
+ '[' -n '' ']'
+ local cpuacct=
+ '[' -n '' ']'
+ local cpuset=
+ '[' -n '' ']'
+ local devices=
+ '[' -n '' ']'
+ local hugetlb=
+ '[' -n '' ']'
+ local memory=
+ '[' -n '' ']'
+ local net_cls=
+ '[' -n '' ']'
+ local net_prio=
+ '[' -n '' ']'
+ local pids=
+ '[' -n '' ']'
+ return 0
++ command -v cgroup2_set_limits
+ '[' cgroup2_set_limits = cgroup2_set_limits ']'
+ '[' start = start ']'
+ cgroup2_set_limits
+ local cgroup_path
++ cgroup2_find_path
++ grep -qw cgroup2 /proc/filesystems
++ case "${rc_cgroup_mode:-hybrid}" in
++ printf /sys/fs/cgroup/unified
++ return 0
+ cgroup_path=/sys/fs/cgroup/unified
+ '[' -d /sys/fs/cgroup/unified ']'
+ rc_cgroup_path=/sys/fs/cgroup/unified/dropbox
+ '[' '!' -d /sys/fs/cgroup/unified/dropbox ']'
+ '[' -f /sys/fs/cgroup/unified/dropbox/cgroup.procs ']'
+ printf 0
+ '[' -z '' ']'
+ return 0
+ break
+ eval 'printf '\''%s\n'\'' '
++ printf '%s\n'
+ read _d
+ '[' -n '' ']'
+ read _d
+ '[' 0 -ne 0 ']'
+ unset _d
+ eval 'printf '\''%s\n'\'' '
++ printf '%s\n'
+ read _f
+ '[' -n '' ']'
+ read _f
+ '[' 0 -ne 0 ']'
+ unset _f
+ '[' -n '' ']'
+ '[' -n start ']'
+ '[' start = depend ']'
+ for _cmd in describe start stop status ${extra_commands:-$opts} $extra_started_commands $extra_stopped_commands
+ '[' describe = start ']'
+ for _cmd in describe start stop status ${extra_commands:-$opts} $extra_started_commands $extra_stopped_commands
+ '[' start = start ']'
++ command -v start
+ '[' start = start ']'
+ yesno
+ '[' -z '' ']'
+ return 1
+ for _cmd in $extra_stopped_commands
+ '[' cgroup_cleanup = start ']'
+ unset _cmd
+ case $1 in
+ verify_boot
+ '[' '!' -e /run/openrc/softlevel ']'
+ return 0
++ command -v start_pre
+ '[' '' = start_pre ']'
+ start
+ local tmpnice=
+ local tmpionice=
+ local started=
+ ebegin 'Starting dropbox'
+ for dbuser in ${DROPBOX_USERS}
++ eval echo '~robert'
+++ echo /home/robert
+ local homedir=/home/robert
+ test -d /home/robert
+ echo 0
/etc/init.d/dropbox: line 19: /home/robert/.dropbox/dropbox.pid: No such file or directory
+ eend 1
+ eerror 'Failed to start dropbox for robert'
* Failed to start dropbox for robert
+ '[' -n '' ']'
+ return 1
+ exit 1
* ERROR: dropbox failed to start


Last edited by Robert S on Sat Apr 17, 2021 12:07 am; edited 2 times in total
Back to top
View user's profile Send private message
Banana
Veteran
Veteran


Joined: 21 May 2004
Posts: 1391
Location: Germany

PostPosted: Sun Jun 14, 2020 2:37 pm    Post subject: Reply with quote

the line about the missing lib
Code:
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

should be from nvidia. Do you have a nvidia card installed?
_________________
My personal space
My delta-labs.org snippets do expire

PFL - Portage file list - find which package a file or command belongs to.
Back to top
View user's profile Send private message
Robert S
Guru
Guru


Joined: 15 Aug 2004
Posts: 460
Location: Canberra Australia

PostPosted: Sun Jun 14, 2020 9:39 pm    Post subject: Reply with quote

No:
Quote:
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS780L [Radeon 3000]
Back to top
View user's profile Send private message
Banana
Veteran
Veteran


Joined: 21 May 2004
Posts: 1391
Location: Germany

PostPosted: Mon Jun 15, 2020 9:24 am    Post subject: Reply with quote

what happens after[/code] you run
Code:
emerge @x11-module-rebuild -av

_________________
My personal space
My delta-labs.org snippets do expire

PFL - Portage file list - find which package a file or command belongs to.
Back to top
View user's profile Send private message
Robert S
Guru
Guru


Joined: 15 Aug 2004
Posts: 460
Location: Canberra Australia

PostPosted: Wed Jun 17, 2020 1:24 am    Post subject: Reply with quote

Code:
$ emerge @x11-module-rebuild -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB
Back to top
View user's profile Send private message
Banana
Veteran
Veteran


Joined: 21 May 2004
Posts: 1391
Location: Germany

PostPosted: Wed Jun 17, 2020 6:48 pm    Post subject: Reply with quote

that is not what I expected.
One last idea: try re-emerging your graphics driver
_________________
My personal space
My delta-labs.org snippets do expire

PFL - Portage file list - find which package a file or command belongs to.
Back to top
View user's profile Send private message
ChadJoan
n00b
n00b


Joined: 17 Oct 2010
Posts: 38

PostPosted: Fri Apr 16, 2021 3:16 am    Post subject: Reply with quote

I had a problem that seemed very similar:
https://forums.gentoo.org/viewtopic-p-8599848.html#8599848

I solved it by running
Code:
mkdir /home/<username>/.dropbox

as that user.

I did not, however, have the libGL.so.1 error:
Quote:
ImportError: libGL.so.1: cannot open shared object file: No such file or directory


So my solution may or may not fix the error reported here. If you're lucky, the libGL.so.1 error doesn't matter on the headless machine, and the only thing stopping you was the script forgetting to create the ~/.dropbox directory that it needs.

Unfortunately, I still don't have it running, because I ran into a different "No such file or directory" error, but with less information provided, so I can't "manually" assist it.
Back to top
View user's profile Send private message
Robert S
Guru
Guru


Joined: 15 Aug 2004
Posts: 460
Location: Canberra Australia

PostPosted: Fri Apr 16, 2021 11:12 pm    Post subject: dropbox no longer loads [SOLVED] Reply with quote

This problem seems to have been resolved with a package update
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21619

PostPosted: Fri Apr 16, 2021 11:35 pm    Post subject: Reply with quote

If the problem is resolved to your satisfaction, please mark the thread (not the final post) as solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum