[BUG] blocked on Starting...
Hi,
Impossible to sync, seems it blocked on "Starting..."
Versions:
- Docker : 27.2.0
- Image Name: otherguy/dropbox:latest
- Image ID: sha256:5ca89e6dbcd68c2ed96dae31e6c42c8076cfb663867c5df88dd118fd51758ace
- Labels: "maintainer": "Alexander Graf [email protected]", "org.label-schema.build-date": "2023-06-27T16:49:24.934Z", "org.label-schema.description": "Standalone Dropbox client", "org.label-schema.name": "Dropbox", "org.label-schema.schema-version": "1.0", "org.label-schema.vcs-ref": "a5215bf58571bfc4d8efb1bb46c14bca539da841", "org.label-schema.vcs-url": "https://github.com/otherguy/docker-dropbox", "org.label-schema.version": "latest", "org.opencontainers.image.ref.name": "ubuntu", "org.opencontainers.image.version": "22.04"
Run Command:
docker run -d -it
--name dropbox
--net="host"
--restart=always
-e TZ="Europe/Paris"
-e "DROPBOX_UID=1000"
-e "DROPBOX_GID=1000"
-e "POLLING_INTERVAL=200"
-v "/usr/local/bin/dropbox/settings:/opt/dropbox/.dropbox"
-v "/mnt/external/Dropbox:/opt/dropbox/Dropbox"
otherguy/dropbox:latest
Length: 119463 (117K) [application/octet-stream] Saving to: ‘/opt/dropbox.py’
/opt/dropbox.py 0%[ /opt/dropbox.py 100%[=========================================================================================>] 116.66K --.-KB/s in 0.008s
2024-09-05 14:39:28 (13.6 MB/s) - ‘/opt/dropbox.py’ saved [119463/119463]
Using Europe/Paris timezone (14:39:28 local time)
Current default time zone: 'Europe/Paris' Local time is now: Thu Sep 5 14:39:28 CEST 2024. Universal Time is now: Thu Sep 5 12:39:28 UTC 2024.
Starting dropboxd (206.4.6506)... dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/cryptography.hazmat.bindings._openssl.abi3.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/cryptography.hazmat.bindings._padding.abi3.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/apex._apex.abi3.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/psutil._psutil_linux.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/psutil._psutil_posix.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/google._upb._message.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/tornado.speedups.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/wrapt._wrappers.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/cryptography.hazmat.bindings._openssl.abi3.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/cryptography.hazmat.bindings._padding.abi3.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/apex._apex.abi3.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/psutil._psutil_linux.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/psutil._psutil_posix.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/google._upb._message.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/tornado.speedups.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/cryptography.hazmat.bindings._openssl.abi3.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/cryptography.hazmat.bindings._padding.abi3.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/apex._apex.abi3.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/psutil._psutil_linux.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/psutil._psutil_posix.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/google._upb._message.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/tornado.speedups.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-206.4.6506/wrapt._wrappers.cpython-38-x86_64-linux-gnu.so' This computer isn't linked to any Dropbox account... Please visit https://www.dropbox.com/cli_link_nonce?nonce=**************************************** to link this device. This computer isn't linked to any Dropbox account... Please visit https://www.dropbox.com/cli_link_nonce?nonce=**************************************** to link this device. This computer isn't linked to any Dropbox account... Please visit https://www.dropbox.com/cli_link_nonce?nonce=**************************************** to link this device. This computer isn't linked to any Dropbox account... Please visit https://www.dropbox.com/cli_link_nonce?nonce=**************************************** to link this device. This computer is now linked to Dropbox. Welcome Frédéric
.......
root@lnx-dropbox:/mnt/external# docker exec -it dropbox gosu dropbox dropbox status Starting...
I noticed that the container was mounting /opt/dropbox as its own volume, so instead of bind mounting /opt/dropbox/.dropbox and /opt/dropbox/Dropbox I just bind mounted /opt/dropbox, and it's working. Give that a try and see if it works?
Same issue here and I do it just like the guide says:
docker run --detach -it --restart=always --name=dropbox \
--net="host" \
-e "TZ=$(readlink /etc/localtime | sed 's#^.*/zoneinfo/##')" \
-e "DROPBOX_UID=$(id -u)" \
-e "DROPBOX_GID=$(id -g)" \
-e "POLLING_INTERVAL=5" \
-v "/mnt/storage/appdata/dropbox:/opt/dropbox" \
-v "/mnt/storage/dropbox:/opt/dropbox/Dropbox" \
otherguy/dropbox:latest
I left it for a few hours and it was still in 'Starting'.
I had the same problem, but after fiddling around a bit, I made it finally work for me. The trick is actually to initially start the docker image without the mount bind to the Dropbox folder. Once you have the client authenticated you can stop the container and restart it with the mount bind. (make sure to replace your UID and GID and mount paths)
Here are my steps:
-
docker run --name dropbox --rm -e DROPBOX_UID=<your UID> -e DROPBOX_GID=<your GID> -v "/volume1/homes/lukas/dropbox_test/settings:/opt/dropbox/.dropbox" otherguy/dropbox -
After authenticating the client make sure that the
settingsfolder containsinfo.jsonandunlink.db(if not, the whole process did not work) -
stop your container and restart it with
docker run --name dropbox --rm -e DROPBOX_UID=<your UID> -e DROPBOX_GID=<your GID> -v "/volume1/dropbox/client_settings:/opt/dropbox/.dropbox" -v "/volume1/dropbox/data:/opt/dropbox/Dropbox" otherguy/dropbox
Although the dropbox daemon is a bit flacky and seems to crash every now and then... an alternative could be rclone, however I couldnt make it run with a mount initially (though I haven't spent much time on it).
Hope this helps someone
I had the same problem, but after fiddling around a bit, I made it finally work for me. The trick is actually to initially start the docker image without the mount bind to the
Dropboxfolder. Once you have the client authenticated you can stop the container and restart it with the mount bind. (make sure to replace your UID and GID and mount paths)Here are my steps:
1. `docker run --name dropbox --rm -e DROPBOX_UID=<your UID> -e DROPBOX_GID=<your GID> -v "/volume1/homes/lukas/dropbox_test/settings:/opt/dropbox/.dropbox" otherguy/dropbox` 2. After authenticating the client make sure that the `settings` folder contains `info.json` and `unlink.db` (if not, the whole process did not work) 3. stop your container and restart it with `docker run --name dropbox --rm -e DROPBOX_UID=<your UID> -e DROPBOX_GID=<your GID> -v "/volume1/dropbox/client_settings:/opt/dropbox/.dropbox" -v "/volume1/dropbox/data:/opt/dropbox/Dropbox" otherguy/dropbox`Although the dropbox daemon is a bit flacky and seems to crash every now and then... an alternative could be rclone, however I couldnt make it run with a mount initially (though I haven't spent much time on it).
Hope this helps someone
Thanks, it works! I was not able to run it on my Unraid.