mgutt Posted March 20, 2021 Share Posted March 20, 2021 Overview: Support for otherguy's Dropbox container Docker: https://hub.docker.com/r/otherguy/dropbox/ Github: https://github.com/otherguy/docker-dropbox Donate if you like: https://www.paypal.me/marcgutt https://github.com/sponsors/mgutt Description This container uses the Debian OS without Frontend and the official Dropbox client to sync your Dropbox with an Unraid share. There is no GUI included. Sync activity can be monitored through the log icon of the container. Known issues As described on the Github page, Dropbox does not support FUSE filesystems. If it finds this filesystem, it returns a permission error. As Unraid uses FUSE as well, it is NOT POSSIBLE to set the "Dropbox user files" path to "/mnt/user/Dropbox". Instead you MUST use "/mnt/disk1/Dropbox" with Cache set to "No" or "/mnt/cache/Dropbox" with Cache set to "Yes". You COULD use the cache option "Yes" and the path "/mnt/disk1...", but new files will only be uploaded to your Dropbox AFTER Unraid's Mover has been executed. As the client automatically checks for changes in your Dropbox, it writes constantly to a log file. This can wear-out your SSD if you are using BTRFS and a docker.img on your cache. This is not a bug. This is the usual write implification caused through a copy-on-write filesystem like BTRFS. If you are using BTRFS, change your docker installation to a folder. Quote Link to comment
mgutt Posted March 20, 2021 Author Share Posted March 20, 2021 Manual Install the container Optional: Change the user files path to /mnt/disk2/Dropbox or /mnt/cache/Dropbox (/mnt/user/Dropbox is not supported!) Open the docker tab () to see all installed docker containers Open the logs through the icon () of the dropbox container Wait until you are prompted to open a Dropbox URL Copy & Paste the Dropbox URL into your browser Link your account Quote Link to comment
open_borre Posted April 30, 2021 Share Posted April 30, 2021 (edited) is lan sync (--net="host") enabled? and is there a way to see the dropbox sync status on a easy way on a windows client. (syncin or syncing finished is enough) i see that linux by default watches changes over 10.000 folders. how is this in unraid? Monitoring more than 10,000 folders on Linux From Troubleshoot Dropbox syncing issues: The Linux version of the Dropbox desktop app is limited from monitoring more than 10,000 folders by default. Anything more than that is not watched and, therefore, ignored when syncing. There's an easy fix for this. Open a terminal and enter the following: echo fs.inotify.max_user_watches=100000 | sudo tee -a /etc/sysctl.conf; sudo sysctl -p This command will tell your system to watch up to 100,000 folders. Once the command is entered and you enter your password, Dropbox will immediately resume syncing. Edited May 1, 2021 by open_borre Quote Link to comment
jluerken Posted September 26, 2021 Share Posted September 26, 2021 Hi mgutt, I recently got two errors with this docker package. 1. Every restart of the docker container or unraid the container is getting a new Id and I have to activate it through the link in the logfile again 2. I am getting an error recently and have no idea where it is coming from: This computer is now linked to Dropbox. Welcome XXX YYY 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: /var/tmp/dropbox_errorsn1t4ito.txt Couldn't start Dropbox. The owner is the user with the ID 1000 so that is double checked. Even if I give the folder 777 it does not work. Do you have any idea about my two issues? Quote Link to comment
mgutt Posted September 26, 2021 Author Share Posted September 26, 2021 Open the console of the container and execute this: cp /var/tmp/dropbox_errorsn1t4ito.txt /opt/dropbox/.dropbox/errors.txt Download the file through /mnt/user/appdata/Dropbox and upload it here. Quote Link to comment
jluerken Posted September 26, 2021 Share Posted September 26, 2021 error.txt Bitte sehr Quote Link to comment
mgutt Posted September 27, 2021 Author Share Posted September 27, 2021 On 9/26/2021 at 6:49 PM, jluerken said: Bitte sehr It seems you need to force the installation of an old version and disable updates through a variable: https://github.com/otherguy/docker-dropbox/issues/37 This means uninstall the container, delete all files with clean up appdata and use a tag to force an older version. Enable advanced view an change the repo as follows: otherguy/dropbox:1.9.0 And add a variable "DROPBOX_SKIP_UPDATE" with "true" as value. Quote Link to comment
jluerken Posted September 28, 2021 Share Posted September 28, 2021 Ok that seems to work. Let's see if it will survive later updates from Dropbox or if a new Container Image is required fixing this bug. Quote Link to comment
jluerken Posted September 28, 2021 Share Posted September 28, 2021 One more error is coming up in the logfile now: Using Europe/Berlin timezone (11:14:37 local time) Current default time zone: 'Europe/Berlin' Local time is now: Tue Sep 28 11:14:38 CEST 2021. Universal Time is now: Tue Sep 28 09:14:38 UTC 2021. Starting dropboxd (125.4.3474)... dropbox: locating interpreter !! dropbox: failed to create log file (Permission denied)! Quote Link to comment
mgutt Posted September 28, 2021 Author Share Posted September 28, 2021 8 hours ago, jluerken said: !! dropbox: failed to create log file (Permission denied)! Please open an issue at GitHub: https://github.com/otherguy/docker-dropbox/issues Maybe this is related to the UID / GID which you set?! Quote Link to comment
muttly.irl Posted October 6, 2021 Share Posted October 6, 2021 (edited) I'm having a small issue with this. I'm logged in but its been stuck on indexing files. I know I have a lot of files in my dropbox, 300,000appx. It's stuck indexing at the same number with 24 hours. It eventually stops with this error: RUST PANICKING -- "queue became corrupt while running: Custom { kind: Other, error: \"io error: failed to fill whole buffer\" }" at "desktop/app/lib/apex/rust/analytics/src/queue.rs":284 Edited October 6, 2021 by muttly.irl Quote Link to comment
mgutt Posted October 6, 2021 Author Share Posted October 6, 2021 2 hours ago, muttly.irl said: I'm logged in but its been stuck on indexing files Please open an issue. This not related to something which I'm able to fix. Quote Link to comment
MendipMan Posted October 19, 2021 Share Posted October 19, 2021 Hi, Have installed dropbox as per instructions. Im using a direct link /mnt/disk2/Dropbox as I have cache turned off for the directory. After I link my account I keep getting this error:- [ALERT]: Dropbox needs to rename your existing folder or file named Dropbox to finish installing. Please close any open documents and try again. Quote Link to comment
MendipMan Posted October 20, 2021 Share Posted October 20, 2021 As far as I am aware i do not have any dropbox files open and since the app created the directory I am assuming that the permissions are correct. Any ideas? Quote Link to comment
mgutt Posted October 20, 2021 Author Share Posted October 20, 2021 4 hours ago, MendipMan said: Any ideas? Scroll up, the recent version is still broken: https://forums.unraid.net/topic/104437-support-dropbox-by-otherguy/?tab=comments#comment-1038858 1 Quote Link to comment
MendipMan Posted October 20, 2021 Share Posted October 20, 2021 Ahh sweet, thanks I'll give it a go 2m. Quote Link to comment
MendipMan Posted October 21, 2021 Share Posted October 21, 2021 (edited) Yep that worked and its now syncing, thank you! New problem, it wont let me access the directory from windows and says that I do not have permission to view the share. Ive checked the SMB status and its set to public. I tried mapping a drive and a network location and that didnt help. Only thing Ive done different is change the repo and add the do not upgrade variable as instructed. Do I just need to let it finish syncing or do some chmod stuff to the container? Edited October 21, 2021 by MendipMan typos Quote Link to comment
mgutt Posted October 21, 2021 Author Share Posted October 21, 2021 1 hour ago, MendipMan said: do some chmod stuff to the container? Yup. This happens if the files / folders have wrong owners or permissions. 1 Quote Link to comment
MendipMan Posted October 21, 2021 Share Posted October 21, 2021 Tried changing the permissions from the docker console; no joy but changing it from the main unraid terminal did. Syncing and accessible, thanks for the help I appreciate it! Quote Link to comment
muttly.irl Posted October 24, 2021 Share Posted October 24, 2021 Is there anyway to get this to accept the files already in my folder. As back ground, I had a Windows install and my dropbox folder was fully in sync. I'm moved to unraid and added this docker. I moved the full dropbox folder to a drive in my array with a dedicated share. The full folder is intact. Once the docker was running, pointed to the right folder and linked it attempts to sync and begins to download all files overwriting all existing files. I have a 5mb connection and its trying to download 1.5TB of data that is already there. Any idea whats going on and how to stop it downloading all existing files? There will be a few updates to upload and a few new files to download but 200 of each, max. Maybe about 50 files to update. Quote Link to comment
MendipMan Posted October 28, 2021 Share Posted October 28, 2021 On 10/6/2021 at 5:03 PM, muttly.irl said: I'm having a small issue with this. I'm logged in but its been stuck on indexing files. I know I have a lot of files in my dropbox, 300,000appx. It's stuck indexing at the same number with 24 hours. It eventually stops with this error: RUST PANICKING -- "queue became corrupt while running: Custom { kind: Other, error: \"io error: failed to fill whole buffer\" }" at "desktop/app/lib/apex/rust/analytics/src/queue.rs":284 Did you ever find the fix for this? On my server the app has been shutting down roughly once an hour while syncing. Its now finally finished but is still erroring out every 6 or so hours. Quote Link to comment
muttly.irl Posted November 1, 2021 Share Posted November 1, 2021 On 10/28/2021 at 4:32 PM, MendipMan said: Did you ever find the fix for this? On my server the app has been shutting down roughly once an hour while syncing. Its now finally finished but is still erroring out every 6 or so hours. No I haven't. There is a ticket open for it with 10 days #39 but there hasn't been a response on it yet. What I've done is edit the docker, gone to advanced and added the following to the "Extra Parameters" section. --restart unless-stopped While it does not resolve the issue it does relaunch the docker. This has helped with my general syncing issue but I'm still no where near my initial sync being complete after almost a month. 1 Quote Link to comment
MendipMan Posted December 9, 2021 Share Posted December 9, 2021 On 9/28/2021 at 10:16 AM, jluerken said: Starting dropboxd (125.4.3474)... dropbox: locating interpreter !! dropbox: failed to create log file (Permission denied)! Fixed this by going into the docker console and typing cd / chmod -R 755 ./tmp The tmp directory is where it stores the log file. HTH Quote Link to comment
jluerken Posted March 19, 2022 Share Posted March 19, 2022 My Dropbox container is syncing forever and the logfile does not help Is there a way to check which files are synced and where the problem is? today at 19:51:22Using Europe/Berlin timezone (19:51:22 local time) today at 19:51:22 today at 19:51:22Current default time zone: 'Europe/Berlin' today at 19:51:22Local time is now: Sat Mar 19 19:51:22 CET 2022. today at 19:51:22Universal Time is now: Sat Mar 19 18:51:22 UTC 2022. today at 19:51:22 today at 19:51:23Starting dropboxd (125.4.3474)... today at 19:51:23dropbox: locating interpreter today at 19:51:23dropbox: logging to /tmp/dropbox-antifreeze-l9UeLt today at 19:51:23dropbox: initializing today at 19:51:23dropbox: initializing python 3.8.10 today at 19:51:23dropbox: setting program path '/opt/dropbox/bin/dropbox-lnx.x86_64-125.4.3474/dropbox' today at 19:51:23dropbox: setting python path '/opt/dropbox/bin/dropbox-lnx.x86_64-125.4.3474:/opt/dropbox/bin/dropbox-lnx.x86_64-125.4.3474/python-packages.zip' today at 19:51:23dropbox: python initialized today at 19:51:23dropbox: setting args today at 19:51:23dropbox: running dropbox today at 19:51:23dropbox: applying overrides today at 19:51:23dropbox: enabling allocator metrics today at 19:51:23dropbox: running command today at 19:51:23dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-125.4.3474/cryptography.hazmat.bindings._openssl.cpython-38-x86_64-linux-gnu.so' today at 19:51:23dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-125.4.3474/cryptography.hazmat.bindings._padding.cpython-38-x86_64-linux-gnu.so' today at 19:51:23dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-125.4.3474/psutil._psutil_linux.cpython-38-x86_64-linux-gnu.so' today at 19:51:23dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-125.4.3474/psutil._psutil_posix.cpython-38-x86_64-linux-gnu.so' today at 19:51:23dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-125.4.3474/apex._apex.cpython-38-x86_64-linux-gnu.so' today at 19:51:23dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-125.4.3474/tornado.speedups.cpython-38-x86_64-linux-gnu.so' today at 19:51:24dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-125.4.3474/wrapt._wrappers.cpython-38-x86_64-linux-gnu.so' today at 19:51:25dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-125.4.3474/PyQt5.QtWidgets.cpython-38-x86_64-linux-gnu.so' today at 19:51:25dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-125.4.3474/PyQt5.QtCore.cpython-38-x86_64-linux-gnu.so' today at 19:51:25dropbox: load fq extension '/opt/dropbox/bin/dropbox-lnx.x86_64-125.4.3474/PyQt5.QtGui.cpython-38-x86_64-linux-gnu.so' today at 19:51:28Syncing 44 files • 9 secs today at 19:51:28Indexing 38 files (9 secs) today at 19:51:28Uploading 6 files... today at 19:51:33Syncing 1,706 files • 1 min today at 19:51:33Indexing 1,700 files (1 min) today at 19:51:33Uploading 6 files... today at 19:51:38Syncing 1,706 files • 2 mins today at 19:51:38Indexing 1,700 files (2 mins) today at 19:51:38Uploading 6 files... today at 19:51:43Syncing 1,706 files • 3 mins today at 19:51:43Indexing 1,700 files (3 mins) today at 19:51:43Uploading 6 files... today at 19:51:48Syncing 1,706 files • 6 mins today at 19:51:48Indexing 1,700 files (6 mins) today at 19:51:48Uploading 6 files... today at 19:51:53Syncing 1,706 files • 10 mins today at 19:51:53Indexing 1,700 files (10 mins) today at 19:51:53Uploading 6 files... today at 19:51:58Syncing 1,706 files • 16 mins today at 19:51:58Indexing 1,700 files (16 mins) today at 19:51:58Uploading 6 files... today at 19:52:03Syncing 1,706 files • 27 mins today at 19:52:03Indexing 1,700 files (27 mins) Quote Link to comment
hernandito Posted April 5, 2022 Share Posted April 5, 2022 Quick question. Is there a way to setup this client so that files will never get removed? IOW, if I have folders or files in my Windows Dropbox and I erase files or loose rights (work account) to certain folders, the files from the unRAID docker are NOT erased from my server. thank you. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.