Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] ken-ji - Dropbox

Featured Replies

Hi Ken-ji, I tried to look trhrough this whole thread but I it hasnt provided a solution.

 

Should I be concerned with lots and lots of these warnings?

 

 

WARNING:tornado.access:404 HEAD /blocks/34712932/Dht4YrZYh006B4yGlRRpf2UsJ82yu0mfWsYT92QdF-o (172.17.0.1) 5.57ms

 

I've done the most basic vanilla install possible, no mucking around with settings etc. Dropbox share "Dropbox" is set to not use the cache. 

 

Seem to download everything ok, but files places directly in the dropbox share folder are not uploaded...

 

Thanks in advance

Zangief

 

Unraid 6.3.2

Edited by Zangief
Add information

  • Replies 360
  • Views 91.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • The entire /mnt/user is a FUSE filesystem called shfs - which is what Unraid uses to merge all the disks together into a single virtual filesystem. Dropbox is being anal by just checking the fs i

  • Stop the container. Very important. A running container will probably delete all your Dropbox files. Open the terminal to Unraid >_ on the upper right of your screen. run root@tower:~

  • Whats the setting of your share where the Dropbox folder is located? I think you have this issue because the settings of my docker is allow access only to the Dropbox user. (default is nobody) - which

Posted Images

  • Author

Hi Zangief,

the plain vanilla install of this Dropbox docker uses the nobody user. This matches the default Public setting of the shares.

If you any other setting (Secure, Private), you need to map the Dropbox container to the user accessing the share. See below for how to get the userid

 

On 2/24/2016 at 8:36 AM, ken-ji said:

Sorry, I'm not sure about the defaults anymore (because I run all my shares secured for user/password access)

Here's my recommended fix for you:

  • From a terminal, get the uid of your user

# id ken-ji
uid=0(ken-ji) gid=100(users) groups=100(users)
Typically it will be 100
  • Make sure Dropbox docker is stopped.
  • Execute

# chown -Rv uid:users /mnt/user/appdata/Dropbox/*
Replace

uid = with the uid value (or your username)

/mnt/user/appdata/Dropbox/ - replace with where your dropbox folders are (Dropbox, .dropbox-dist, .dropbox), in my case, they are all under /mnt/user/appdata/Dropbox

You can specify all three folders separated by space in the command

  • Modify the docker settings, and set the environment variables:

DROPBOX_USER={myuser}
DROPBOX_USERID={uid}
  • Startup the docker, it should work then.

If you don't feel comfortable, you can destroy all the folders, and restart the docker from scratch, but make sure to set the environment variables before the first start of the docker.

I dont think I have any other user running... the only user I have is "root"... dont think there are any specific private/secure settings..... all is very vanilla 

 

i changed the settings to "root" with UID = 0

 

I'm getting: 

 

usermod: user root is currently used by process 1

Edited by Zangief

  • Author

That doesn't work and is a bad idea if it did.

Are you able to SSH into unRAID (Do you know what this means?)

and do this

root@MediaStore:~# ls -al /mnt/user/Dropbox/
total 178200
drwxrwxrwx 1 nobody users     4096 Feb 10 01:44 ./
drwxrws--- 1 nobody users      146 Feb 27 02:00 ../
-rwxr-xr-x 1 nobody users       34 Nov 23 23:30 .dropbox*
drwxr-sr-x 1 nobody users       56 Feb 13 04:47 .dropbox.cache/
...
root@MediaStore:~# 

The head error messages is about some files in the Dropbox share being not read/writable by the nobody user used by Dropbox.

Also, drop in a new file and return the line for it so I can see what kind of permissions are assigned when you create files.

 

 

Ok I used Putty to SSH onto the server and executed the line you provided. Results below. Note that I tried to change permissions to user  "root" as per above post.

 

root@FoxServer:~# ls -al /mnt/user/Dropbox/
total 508
drwx------ 1 nobody users   4096 Feb 26 10:39 ./
drwxrwxrwx 1 nobody users     40 Feb 26 10:33 ../
-rw-rw-rw- 1 nobody users   6148 Feb 20 11:19 .DS_Store
-rw-rw-rw- 1 nobody users   4096 Feb 20 11:19 ._.DS_Store
-rwxr-xr-x 1 root   users     34 Feb  3 17:48 .dropbox*
drwxr-xr-x 1 root   users     58 Feb 25 21:45 .dropbox.cache/
drwxr-xr-x 1 nobody users   4096 Feb 21 20:38 Abi\ Anis\ Sharing\ Dropbox/
drwxr-xr-x 1 nobody users     35 Feb  3 17:51 AmyUni\ PDF/
drwxr-xr-x 1 nobody users     37 Feb 16 09:54 Apps/
drwxr-xr-x 1 nobody users   4096 Feb 16 18:07 Axys\ Barrow/
drwxr-xr-x 1 nobody users   4096 Feb 19 02:02 Axys\ Consulting/
drwxr-xr-x 1 nobody users   4096 Feb 16 17:12 BBC\ Performance/
drwxr-xr-x 1 nobody users     77 Feb  3 19:18 BBC_DataLog/
drwxr-xr-x 1 nobody users   4096 Feb 16 14:19 Beech/
drwxr-xr-x 1 nobody users   4096 Feb 17 07:56 CMC\ Barrow/
drwxr-xr-x 1 nobody users   8192 Feb 16 21:14 CV's/
drwxr-xr-x 1 nobody users  53248 Feb 18 20:58 Camera\ Uploads/
drwxr-xr-x 1 nobody users   4096 Feb 16 23:29 Case\ Studies/
drwxr-xr-x 1 nobody users   4096 Feb 16 20:28 Client\ Working\ Files/
drwxr-xr-x 1 nobody users   4096 Feb 16 23:49 CopperMan\ Consulting/
drwxr-xr-x 1 nobody users    106 Feb 16 20:07 CopperMan\ Logos/
drwxr-xr-x 1 nobody users   4096 Feb 23 11:51 CopperMan\ Shareholders\ Only/
drwxr-xr-x 1 nobody users     71 Feb 16 17:52 CopperMan\ Switzerland/
drwxr-xr-x 1 nobody users   4096 Feb 18 12:36 CopperMan\ Team\ Share/
drwxr-xr-x 1 nobody users    108 Feb 16 20:07 CopperMan\ Website/
drwxr-xr-x 1 nobody users   4096 Feb 17 04:20 Copperman\ Directors\ Only/
drwxr-xr-x 1 nobody users   4096 Feb 17 05:48 Copperman\ collateral/
drwxr-xr-x 1 nobody users   4096 Feb 17 02:35 Desktop\ Stuff/
drwxr-xr-x 1 nobody users     10 Feb 24 11:33 Dropbox\ for\ Business\ reports/
drwxr-xr-x 1 nobody users    197 Feb  3 19:17 Easy\ Transfer/
drwxr-xr-x 1 nobody users    206 Feb  3 19:22 Education/
drwxr-xr-x 1 nobody users     58 Feb 18 20:08 Elite\ Dangerous/
drwxr-xr-x 1 nobody users    100 Feb 17 09:31 Emes\ Sharing/
drwxr-xr-x 1 nobody users   4096 Feb 17 07:30 Funny/
drwxr-xr-x 1 nobody users     30 May 11  2012 Geocaching/
-rw-r--r-- 1 nobody users 230783 Jul 17  2011 Getting\ Started.pdf
drwxr-xr-x 1 nobody users    145 Feb 17 05:59 ICAEW\ Event/
drwxr-xr-x 1 nobody users     35 Feb  3 18:16 Lazuli/
drwxr-xr-x 1 nobody users   4096 Feb 16 21:21 London\ to\ Windsor\ Bike\ Ride\ 2016-09-04/
drwxr-xr-x 1 nobody users    210 Feb 17 02:41 Marketing/
drwxr-xr-x 1 nobody users     50 Feb 17 02:00 Media/
drwxr-xr-x 1 nobody users     10 Nov 23  2012 Migration/
drwxr-xr-x 1 nobody users    194 Feb 25 17:01 MultiBitWalletsAEM/
drwxr-xr-x 1 nobody users   4096 Feb 17 05:00 Music/
drwxr-xr-x 1 nobody users   4096 Feb 17 05:55 OLS\ Knowledge/
drwxr-xr-x 1 nobody users     10 Feb 17 17:38 Outlook/
drwxr-xr-x 1 nobody users   4096 Feb 17 11:03 PMO\ Methodology/
drwxr-xr-x 1 nobody users   4096 Feb 16 18:57 Palace\ to\ Palace\ 2015/
drwxr-xr-x 1 nobody users     30 Feb 17 06:00 Partner\ Info/
drwxr-xr-x 1 nobody users    153 Feb 17 05:23 Paul\ Rowbotham's\ files/
drwxr-xr-x 1 nobody users   4096 Feb 17 17:20 Personal/
drwxr-xr-x 1 nobody users     31 Feb 16 08:37 Personal\ Software/
drwxr-xr-x 1 nobody users   4096 Feb 18 02:42 Photos/
drwxr-xr-x 1 nobody users   4096 Feb 16 19:44 Pre-Sales\ Material/
drwxr-xr-x 1 nobody users   4096 Feb 16 20:16 Proposals/
drwxr-xr-x 1 nobody users     74 Feb  3 17:51 Public/
drwxr-xr-x 1 nobody users   4096 Feb 16 22:48 SAP\ BPC\ v10\ Internal\ Training/
drwxr-xr-x 1 nobody users     83 Feb  3 18:20 SAP\ BW/
drwxr-xr-x 1 nobody users    129 Feb 16 11:26 SAP\ Certifications/
drwxr-xr-x 1 nobody users    148 Feb  3 19:16 Screenshots/
drwxr-xr-x 1 nobody users    189 Feb 18 09:46 Sharing\ Hogans/
drwxr-xr-x 1 nobody users   4096 Feb 17 07:04 Sharing\ with\ Gillys/
drwxr-xr-x 1 nobody users   4096 Feb 18 20:26 Software/
drwxr-xr-x 1 nobody users    104 Feb 18 15:26 Software\ Downloads/
drwxr-xr-x 1 nobody users   4096 Feb 24 01:23 Software\ Installation/
drwxr-xr-x 1 nobody users    204 Feb  3 19:16 Tasks/
drwxr-xr-x 1 nobody users    154 Feb 17 12:46 Thomas\ Cook/
drwxr-xr-x 1 nobody users   4096 Feb 25 11:25 Time\ and\ Expenses\ Forms/
drwxr-xr-x 1 nobody users     95 Feb 16 17:36 Translating\ work/
drwxr-xr-x 1 nobody users   4096 Feb 17 13:32 United\ Utilities/
drwxr-xr-x 1 nobody users     56 Feb 16 20:18 VMWare\ Images/
drwxr-xr-x 1 nobody users     48 Feb 19 06:27 Video/
drwxr-xr-x 1 nobody users    151 Feb 24 04:26 Virtual\ Machines/
drwxr-xr-x 1 nobody users     90 Feb 16 18:55 Website\ Photoshoot\ May\ 2016/
drwxr-xr-x 1 nobody users    113 Feb 16 19:01 Working\ proposals/
-rw-rw-rw- 1 nobody users  32454 Feb  7  2016 orderagreement_RN5724998_confirmed.pdf
-rw-r--r-- 1 nobody users   1417 Dec 18  2014 to\ do.txt
drwxr-xr-x 1 nobody users     30 Sep 20  2012 v10\ VM/

 

 

The line:

-rw-rw-rw- 1 nobody users  32454 Feb  7  2016 orderagreement_RN5724998_confirmed.pdf

is an example file I manually dragged and dropped into the share through a windows 10 machine

Edited by Zangief

  • Author

Hmm. only issue I can see is that .dropbox and .dropbox.cache files have the wrong permission.

Try this.

Stop the docker

SSH into the server and execute

chown -R nobody:users /mnt/user/Dropbox

This should reset every single file in the Dropbox share back to the correct permissions

Then restart the docker and see if the problem has been solved.

 

Ok Ken-Ji, I've executed that command, and I have also set the environment variables back to User = nobody and UID = 100. Will report back asap.

 

 

Ok so I think this has set everything back to defaults... so now getting lots of those error messages again. But you said it may be the fact I have a single "root" user that everything is running under? 

 

WARNING:tornado.access:404 HEAD /blocks/34712932/DnqzDzgmSy1WYZxCVvQ5Mdl6OFIshqFyS6gOspzA9kQ (172.17.0.1) 2.63ms

 

  • Author

I'm a bit stumped.

Can you issue

# docker inpect Dropbox

then paste the entire output of the command here? Use the insert code "<>" so it doesn't get messed up and is easier to read. Attaching it is also ok. I'm not seeing what's wrong, but that error message is definitely due to incorrect permissions.

Edited by ken-ji

[
    {
        "Id": "6ae0339c839cd8313efa5e35b639d44b0f898f2576716d36491fb0f7fbdd1822",
        "Created": "2017-02-27T09:27:18.959423822Z",
        "Path": "/usr/local/bin/dockerinit.sh",
        "Args": [],
        "State": {
            "Status": "exited",
            "Running": false,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 137,
            "Error": "",
            "StartedAt": "2017-02-27T09:27:19.379679591Z",
            "FinishedAt": "2017-02-28T20:40:05.939033584Z"
        },
        "Image": "sha256:b7cba78d15383f97d21ecd4be069905389d6fee2551325365d13fbfeabea3b1b",
        "ResolvConfPath": "/var/lib/docker/containers/6ae0339c839cd8313efa5e35b639d44b0f898f2576716d36491fb0f7fbdd1822/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/6ae0339c839cd8313efa5e35b639d44b0f898f2576716d36491fb0f7fbdd1822/hostname",
        "HostsPath": "/var/lib/docker/containers/6ae0339c839cd8313efa5e35b639d44b0f898f2576716d36491fb0f7fbdd1822/hosts",
        "LogPath": "/var/lib/docker/containers/6ae0339c839cd8313efa5e35b639d44b0f898f2576716d36491fb0f7fbdd1822/6ae0339c839cd8313efa5e35b639d44b0f898f2576716d36491fb0f7fbdd1822-json.log",
        "Name": "/Dropbox",
        "RestartCount": 0,
        "Driver": "btrfs",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/mnt/user/Dropbox:/dropbox/Dropbox:rw",
                "/etc/localtime:/etc/localtime:ro",
                "/mnt/user/appdata/dropbox:/dropbox:rw"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "bridge",
            "PortBindings": {
                "17500/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "17500"
                    }
                ],
                "17500/udp": [
                    {
                        "HostIp": "",
                        "HostPort": "17500"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DiskQuota": 0,
            "KernelMemory": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": -1,
            "OomKillDisable": false,
            "PidsLimit": 0,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0
        },
        "GraphDriver": {
            "Name": "btrfs",
            "Data": null
        },
        "Mounts": [
            {
                "Source": "/mnt/user/Dropbox",
                "Destination": "/dropbox/Dropbox",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Source": "/etc/localtime",
                "Destination": "/etc/localtime",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            },
            {
                "Source": "/mnt/user/appdata/dropbox",
                "Destination": "/dropbox",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "6ae0339c839c",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "17500/tcp": {},
                "17500/udp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "TZ=Europe/London",
                "HOST_OS=unRAID",
                "DROPBOX_USER=nobody",
                "DROPBOX_USERID=100",
                "DROPBOX_GROUP=users",
                "DROPBOX_GROUPID=100",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
            ],
            "Cmd": null,
            "Image": "roninkenji/dropbox-docker",
            "Volumes": null,
            "WorkingDir": "/dropbox",
            "Entrypoint": [
                "/usr/local/bin/dockerinit.sh"
            ],
            "OnBuild": null,
            "Labels": {}
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "96297b3bb144bbe39cae46542c0d685da7fe15e7c6c2cb3c241e11d3c849a9b7",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": null,
            "SandboxKey": "/var/run/docker/netns/96297b3bb144",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "04463f88ad8bdff8ef7c6a3348f66dd0abd0327373a5cd89028dbfdb40e8423f",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": ""
                }
            }
        }
    }
]

 

  • Author

I see the problem (I think) - you've mistakenly set the USERID to 100. The default value is 99 - which maps to the nobody user in unRAID.

try this

chown -R nobody:users /mnt/user/appdata/dropbox /mnt/user/Dropbox

Then modify the template to set the USERID to 99

Then startup the docker.

 

or

 

You can blow away /mnt/user/appdata/dropbox and /mnt/user/Dropbox (taking car to delete and recreate this share)

then delete the saved template /boot/config/plugins/dockerMan/templates-user/my-Dropbox.xml

then reinstall the docker and accept the defaults.

 

Ken-ji, why is it that everytime I reboot I have to re-authenticate my dropbox with the provided link in the logs?

  • Author
4 hours ago, xhaloz said:

Ken-ji, why is it that everytime I reboot I have to re-authenticate my dropbox with the provided link in the logs?

 

I have no idea why this happens... and I only noticed it now as well (after upgrading to 6.3.2)

I'll run some tests and observe this.

2 hours ago, ken-ji said:

 

I have no idea why this happens... and I only noticed it now as well (after upgrading to 6.3.2)

I'll run some tests and observe this.

Thank you sir!

Hi ken-JI

 

Made the changes as suggested... still back to:

WARNING:tornado.access:404 HEAD /blocks/34712932/CsmL8vUWIm6IIvyqA8-Uqe9HIdRvVB90RmzgDhn_c00 (172.17.0.1) 2.57ms

 

Here is the new dropbox inspection code..

 


[
    {
        "Id": "fe21cf923c0ce72f8a2b5e6981c24353ff6227454a39fc044d78b892f67aa377",
        "Created": "2017-03-02T10:25:19.050247363Z",
        "Path": "/usr/local/bin/dockerinit.sh",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 13034,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2017-03-02T10:25:19.521449158Z",
            "FinishedAt": "0001-01-01T00:00:00Z"
        },
        "Image": "sha256:b7cba78d15383f97d21ecd4be069905389d6fee2551325365d13fbfeabea3b1b",
        "ResolvConfPath": "/var/lib/docker/containers/fe21cf923c0ce72f8a2b5e6981c24353ff6227454a39fc044d78b892f67aa377/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/fe21cf923c0ce72f8a2b5e6981c24353ff6227454a39fc044d78b892f67aa377/hostname",
        "HostsPath": "/var/lib/docker/containers/fe21cf923c0ce72f8a2b5e6981c24353ff6227454a39fc044d78b892f67aa377/hosts",
        "LogPath": "/var/lib/docker/containers/fe21cf923c0ce72f8a2b5e6981c24353ff6227454a39fc044d78b892f67aa377/fe21cf923c0ce72f8a2b5e6981c24353ff6227454a39fc044d78b892f67aa377-json.log",
        "Name": "/Dropbox",
        "RestartCount": 0,
        "Driver": "btrfs",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/mnt/user/appdata/dropbox:/dropbox:rw",
                "/mnt/user/Dropbox:/dropbox/Dropbox:rw",
                "/etc/localtime:/etc/localtime:ro"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "bridge",
            "PortBindings": {
                "17500/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "17500"
                    }
                ],
                "17500/udp": [
                    {
                        "HostIp": "",
                        "HostPort": "17500"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DiskQuota": 0,
            "KernelMemory": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": -1,
            "OomKillDisable": false,
            "PidsLimit": 0,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0
        },
        "GraphDriver": {
            "Name": "btrfs",
            "Data": null
        },
        "Mounts": [
            {
                "Source": "/mnt/user/appdata/dropbox",
                "Destination": "/dropbox",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Source": "/mnt/user/Dropbox",
                "Destination": "/dropbox/Dropbox",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Source": "/etc/localtime",
                "Destination": "/etc/localtime",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "fe21cf923c0c",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "17500/tcp": {},
                "17500/udp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "TZ=Europe/London",
                "HOST_OS=unRAID",
                "DROPBOX_USER=nobody",
                "DROPBOX_USERID=99",
                "DROPBOX_GROUP=users",
                "DROPBOX_GROUPID=100",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
            ],
            "Cmd": null,
            "Image": "roninkenji/dropbox-docker",
            "Volumes": null,
            "WorkingDir": "/dropbox",
            "Entrypoint": [
                "/usr/local/bin/dockerinit.sh"
            ],
            "OnBuild": null,
            "Labels": {}
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "8e47c1096b07647df8ee1f91e18a2e39824b5c78612959eb6d4dd2664d27df30",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {
                "17500/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "17500"
                    }
                ],
                "17500/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "17500"
                    }
                ]
            },
            "SandboxKey": "/var/run/docker/netns/8e47c1096b07",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "05e7c067bf3c66d02956b28b3ea1c3b769182d6cf7b35442cf3d8e3ccfd4fd82",
            "Gateway": "172.17.0.1",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "172.17.0.3",
            "IPPrefixLen": 16,
            "IPv6Gateway": "",
            "MacAddress": "02:42:ac:11:00:03",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "04463f88ad8bdff8ef7c6a3348f66dd0abd0327373a5cd89028dbfdb40e8423f",
                    "EndpointID": "05e7c067bf3c66d02956b28b3ea1c3b769182d6cf7b35442cf3d8e3ccfd4fd82",
                    "Gateway": "172.17.0.1",
                    "IPAddress": "172.17.0.3",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:ac:11:00:03"
                }
            }
        }
    }
]

 

  • Author

@Zangief I'm sorry but I am now totally lost as too what is wrong with your setup.

You are the first to have this kind of issue and I can't seem to figure out why.

Have you tried nuking /mnt/user/appdata/dropbox /mnt/user/Dropbox and starting over?

 

Everybody else: I've been away from my system for a while and will be for the foreseeable future. I'm going to keep this the dropbox issue with the account link in mind and try to determine the exact issue, but I'm not making any promises.

Thanks for trying Ken-Ji... will try nuke and start again when I have more time.

Hi Ken-Ji,

 

I am a new user and I unfortunately (or fortunately if you are looking for debug cases) have seen both the "tornado access" issue that Zangief sees and the loss of Dropbox link issue.

 

How my install and issues transpired:

I installed Dropbox Container last week and successfully download the contents of my Dropbox after linking the container (I believe it was March 8th)

I restarted Unraid several times for various reasons and noticed that Dropbox syncing stopped.

I re-linked Dropbox again this morning (used the same computer ID according to Dropbox logs) -> This seems to have fixed the file syncing issue

Now I see the Tornado warnings.

 

One point to note:  Dropbox logs have an info button.  They say that the app version that I attached to last wed is different that today. Could that be the source of the warnings?

Wed was Ver 20.4.19 (No warnings)

Today was Ver 21.4.25 (Tornado Warnings)

 

Thank you for writing and supporting such a great container!

 

Examples of Warnings:

WARNING:tornado.access:404 HEAD /blocks/80601104/Pt4BW29AkVG9OHQ0p1mEm9iUohoM4wj5ZrzhMKxWRn8 (172.17.0.1) 7.56ms

WARNING:tornado.access:404 HEAD /blocks/80601104/Q4Po9VGoWD2phpWKnpiWcgVApVMVlLtXUPpzRMDUfGw (172.17.0.1) 5.03ms

WARNING:tornado.access:404 HEAD /blocks/80601104/_lLWd7V7qli4yTmNul1-GPcHxv8UAsA9Pzq-DaLMUIY (172.17.0.1) 3.85ms

WARNING:tornado.access:404 HEAD /blocks/80601104/1YrODn5oJ8vw_8_4DV-ivOg6_ynmEYhGls_mmJQU38U (172.17.0.1) 11.21ms

WARNING:tornado.access:404 HEAD /blocks/80601104/mmhWSWkX7oaBNO7rWDvp6A3kQ8IG6a491xsLBGieAdo (172.17.0.1) 6.25ms

WARNING:tornado.access:404 HEAD /blocks/80601104/kM5OdnihEZRTzDHPH6B8-Ejl4adctD7GfwNmFJkzy7k (172.17.0.1) 3.20ms

WARNING:tornado.access:404 HEAD /blocks/80601104/gfTD7I8RHgNPMNoLd4kNOq6Va7BTvFwojlPRaUu4HS0 (172.17.0.1) 11222.82ms

WARNING:tornado.access:404 HEAD /blocks/80601104/ZYgl17MFnN9n4pkCRpXeQnmtH4tMVWbtDSll39Ntzbc (172.17.0.1) 11236.61ms

WARNING:tornado.access:404 HEAD /blocks/80601104/TIxIpqiDCVU5aMefJvd7kUAps0NI5cRbddy5loXs_xM (172.17.0.1) 10209.27ms

WARNING:tornado.access:404 HEAD /blocks/80601104/vG7IWYDMvbQxTeklh3-IHJz4DAc-iQCzaP7l9Sk8QZE (172.17.0.1) 10215.41ms

WARNING:tornado.access:404 HEAD /blocks/80601104/t3xKThU191S3SNQc5Brr6zh2IDdq-RDgcunsQd-ThSI (172.17.0.1) 9215.61ms

WARNING:tornado.access:404 HEAD /blocks/80601104/RD17Z3z1OEDwl46CiPp5K9rrfPL-OfVMYUceleqD2xQ (172.17.0.1) 9225.69ms

 

  • Author

Well, because Dropbox app needs to be updated against their own schdule, I've made sure the docker can upgrade itself as it wants. If it fails to upgrade for a while, eventually Dropbox will complain and refuse to sync.

I'm not sure why you guys are getting the tornado access issues. I'm fairly sure it has to do with permissions and the fact that dropbox needs to be able to access the files as a specific user, which by default is nobody.

Hi Ken-Ji, I've been getting this error for weeks (first a countdown now I'm locked out). This is even after a re-start, which based on your comment on Tuesday should have caused an automated upgrade.

[ALERT]: You're using an old version of Dropbox. Please update to the latest version to continue using Dropbox.

Can I "bash" into the docker and force an update manually? 

  • Author

That's odd. Did you update the docker image?

Dropbox is supposed to upfdate itself and the image is designed to allow it to. You don't need to restart it.

Maybe your base image is too old now and it needs to be updated.

 

1 hour ago, ken-ji said:

That's odd. Did you update the docker image?

Dropbox is supposed to upfdate itself and the image is designed to allow it to. You don't need to restart it.

Maybe your base image is too old now and it needs to be updated.

 

OK, just re-updated from CA-Apps and all good. Not sure what happened there but will keep monitoring it.

Thanks.

  • 2 months later...

Hi,

I am new to unraid. I recently installed the dropbox app, and at first it worked find and now I've getting the few problems I've uploaded the screencap of my problem with the docker. It wont sync with dropbox. I am a complete newbie and I am hoping for some help on the step by step.

 

 

Issue-Dropbox.JPG

  • 1 month later...

It stop work a few days ago.

 

I blew it away and started again but it still doesn't work.

 

Log

usermod: no changes
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_error80rQH3.txt

 

root@UNRAID:~# docker inspect Dropbox
[
    {
        "Id": "ebc1986d7fed1316c17283c90d0c2b277b6abf4175f71a4f09f8000168237f3e",
        "Created": "2017-07-11T03:16:09.957051406Z",
        "Path": "/usr/local/bin/dockerinit.sh",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 505,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2017-07-11T03:34:46.299298507Z",
            "FinishedAt": "2017-07-11T03:25:44.006158611Z"
        },
        "Image": "sha256:b7cba78d15383f97d21ecd4be069905389d6fee2551325365d13fbfeabea3b1b",
        "ResolvConfPath": "/var/lib/docker/containers/ebc1986d7fed1316c17283c90d0c2b277b6abf4175f71a4f09f8000168237f3e/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/ebc1986d7fed1316c17283c90d0c2b277b6abf4175f71a4f09f8000168237f3e/hostname",
        "HostsPath": "/var/lib/docker/containers/ebc1986d7fed1316c17283c90d0c2b277b6abf4175f71a4f09f8000168237f3e/hosts",
        "LogPath": "/var/lib/docker/containers/ebc1986d7fed1316c17283c90d0c2b277b6abf4175f71a4f09f8000168237f3e/ebc1986d7fed1316c17283c90d0c2b277b6abf4175f71a4f09f8000168237f3e-json.log",
        "Name": "/Dropbox",
        "RestartCount": 0,
        "Driver": "btrfs",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/mnt/cache/appdata/dropbox:/dropbox:rw",
                "/mnt/user/Media/Some Folder/:/dropbox/Dropbox:rw",
                "/etc/localtime:/etc/localtime:ro"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "bridge",
            "PortBindings": {
                "17500/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "17500"
                    }
                ],
                "17500/udp": [
                    {
                        "HostIp": "",
                        "HostPort": "17500"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DiskQuota": 0,
            "KernelMemory": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": -1,
            "OomKillDisable": false,
            "PidsLimit": 0,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0
        },
        "GraphDriver": {
            "Name": "btrfs",
            "Data": null
        },
        "Mounts": [
            {
                "Source": "/mnt/cache/appdata/dropbox",
                "Destination": "/dropbox",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Source": "/mnt/user/Media/Some Folder/",
                "Destination": "/dropbox/Dropbox",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Source": "/etc/localtime",
                "Destination": "/etc/localtime",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "ebc1986d7fed",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "17500/tcp": {},
                "17500/udp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "TZ=America/Los_Angeles",
                "HOST_OS=unRAID",
                "DROPBOX_USER=nobody",
                "DROPBOX_USERID=99",
                "DROPBOX_GROUP=users",
                "DROPBOX_GROUPID=100",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
            ],
            "Cmd": null,
            "Image": "roninkenji/dropbox-docker",
            "Volumes": null,
            "WorkingDir": "/dropbox",
            "Entrypoint": [
                "/usr/local/bin/dockerinit.sh"
            ],
            "OnBuild": null,
            "Labels": {}
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "7b23482af83819c60020d9306f1ef489e6021d111b36354fe1cdcd54797dd4ac",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {
                "17500/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "17500"
                    }
                ],
                "17500/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "17500"
                    }
                ]
            },
            "SandboxKey": "/var/run/docker/netns/7b23482af838",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
            "Gateway": "xxxxxxxxxxxxxxxx",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "xxxxxxxxxxxxxxx",
            "IPPrefixLen": 16,
            "IPv6Gateway": "",
            "MacAddress": "xxxxxxxxxxxxxx",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                    "EndpointID": "xxxxxxxxxxxxxxxxxxxxxxxxx",
                    "Gateway": "xxxxxxxxxx",
                    "IPAddress": "xxxxxxxxx",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "xxxxxxxxx"
                }
            }
        }
    }
]
root@UNRAID:~# 

 

For some reason my dropbox data files on /mnt/user/Media/folder is drwx------

I think I need it to be the same as the other folders of drwxrwxrwx

 

 

I fixed the drwx------ by copying the contents to a temp folder and then deleting the original one and then renaming the temp one back to what I use.

 

Dumb question do I need to do port forwarding in my router?  I think awhile back I deleted some port forwarding and that might be when it stopped working.

 

Edited by Paul_Ber

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.