Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] v1.10.0 docker container broken? #37

Open
lolouk44 opened this issue Sep 17, 2021 · 11 comments
Open

[BUG] v1.10.0 docker container broken? #37

lolouk44 opened this issue Sep 17, 2021 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@lolouk44
Copy link

Describe the bug
The container keeps restarting.

Versions:

  • Docker (docker --version):
    20.10.8, build 3967b7b
  • Docker Compose (if used) (docker-compose --version):
    1.27.4, build 4052192
  • Image Name: (docker inspect --format='{{.Config.Image}}' [container name])
    otherguy/dropbox:latest
  • Image ID: (docker inspect --format='{{.Image}}' [container name])
    sha256:19b642c36f22217d6e719c0960b37bdda057b5efe155191f36d7d66197431226
  • Labels: (docker inspect --format='{{json .Config.Labels}}' [container name])
    bash: {"com.docker.compose.config-hash":"a51ca3fada082bc4b3d0444a0a0308a1910e1b20831b356954709a35d6044e65","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"nas","com.docker.compose.project.config_files":"docker-compose.yml","com.docker.compose.project.working_dir":"/NAS","com.docker.compose.service":"dropbox","com.docker.compose.version":"1.27.4","maintainer":"Alexander: File name too long

Run Command:
How did you start the container? If you use docker-compose, also add your compose file here.
docker-compose:

    dropbox:
      image: otherguy/dropbox:latest
      container_name: dropbox
      volumes:
        - /home/cctv/dropbox/contents:/opt/dropbox/Dropbox
        - /home/cctv/dropbox/settings:/opt/dropbox/.dropbox
      restart: unless-stopped

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
I get this in my portainer logs:

,
goroutine 0 [idle]:,
runtime: unknown pc 0x7f3ecc8fb603,
stack: frame={sp:0x7fff8f6cdba0, fp:0x0} stack=[0x7fff8eecf050,0x7fff8f6ce090),
00007fff8f6cdaa0:  000000000000000a  00007f3ecc978777 ,
00007fff8f6cdab0:  00000000ffffffff  00007f3ecca7a703 ,
00007fff8f6cdac0:  00007f3ecca7c720  000000000000002e ,
00007fff8f6cdad0:  0000000000000000  0000000000000130 ,
00007fff8f6cdae0:  000000000000037f  00007f3ecca8e510 ,
00007fff8f6cdaf0:  0000000000000013  0002ffff00001fa0 ,
00007fff8f6cdb00:  0000000000000000  0000000000000000 ,
00007fff8f6cdb10:  0000000000000000  0000000000000000 ,
00007fff8f6cdb20:  0000000000000000  0000000000000000 ,
00007fff8f6cdb30:  0000000000000000  0000000000000000 ,
00007fff8f6cdb40:  0000000000000000  0000000000000000 ,
00007fff8f6cdb50:  0000000000000000  0000000000000000 ,
00007fff8f6cdb60:  0000000000000000  0000000000000000 ,
00007fff8f6cdb70:  0000000000000000  0000000000000000 ,
00007fff8f6cdb80:  00000000000000ff  0000000000000000 ,
00007fff8f6cdb90:  2525252525252525  00007f3ecc8fb5f5 ,
00007fff8f6cdba0: <00000000ff000000  0000000000000006 ,
00007fff8f6cdbb0:  000000000057e0cf  00007f3ecc8a7466 ,
00007fff8f6cdbc0:  00007fff8f6cde00  00007f3ecc88d7b7 ,
00007fff8f6cdbd0:  0000000000000020  0000000000000000 ,
00007fff8f6cdbe0:  0000000000000000  0000000000000000 ,
00007fff8f6cdbf0:  0000000000000000  0000000000000000 ,
00007fff8f6cdc00:  0000000000000000  0000000000000000 ,
00007fff8f6cdc10:  0000000000000000  0000000000000000 ,
00007fff8f6cdc20:  0000000000000000  0000000000000000 ,
00007fff8f6cdc30:  0000000000000000  0000000000000000 ,
00007fff8f6cdc40:  0000000000000000  0000000000000000 ,
00007fff8f6cdc50:  0000000000000000  0000000000000000 ,
00007fff8f6cdc60:  0000000000000000  0000000000000000 ,
00007fff8f6cdc70:  0000000000000000  0000000000000000 ,
00007fff8f6cdc80:  00007fff006f6d2e  000000000000000a ,
00007fff8f6cdc90:  00007f3ecca7a680  000000000000000a ,
runtime: unknown pc 0x7f3ecc8fb603,
stack: frame={sp:0x7fff8f6cdba0, fp:0x0} stack=[0x7fff8eecf050,0x7fff8f6ce090),
00007fff8f6cdaa0:  000000000000000a  00007f3ecc978777 ,
00007fff8f6cdab0:  00000000ffffffff  00007f3ecca7a703 ,
00007fff8f6cdac0:  00007f3ecca7c720  000000000000002e ,
00007fff8f6cdad0:  0000000000000000  0000000000000130 ,
00007fff8f6cdae0:  000000000000037f  00007f3ecca8e510 ,
00007fff8f6cdaf0:  0000000000000013  0002ffff00001fa0 ,
00007fff8f6cdb00:  0000000000000000  0000000000000000 ,
00007fff8f6cdb10:  0000000000000000  0000000000000000 ,
00007fff8f6cdb20:  0000000000000000  0000000000000000 ,
00007fff8f6cdb30:  0000000000000000  0000000000000000 ,
00007fff8f6cdb40:  0000000000000000  0000000000000000 ,
00007fff8f6cdb50:  0000000000000000  0000000000000000 ,
00007fff8f6cdb60:  0000000000000000  0000000000000000 ,
00007fff8f6cdb70:  0000000000000000  0000000000000000 ,
00007fff8f6cdb80:  00000000000000ff  0000000000000000 ,
00007fff8f6cdb90:  2525252525252525  00007f3ecc8fb5f5 ,
00007fff8f6cdba0: <00000000ff000000  0000000000000006 ,
00007fff8f6cdbb0:  000000000057e0cf  00007f3ecc8a7466 ,
00007fff8f6cdbc0:  00007fff8f6cde00  00007f3ecc88d7b7 ,
00007fff8f6cdbd0:  0000000000000020  0000000000000000 ,
00007fff8f6cdbe0:  0000000000000000  0000000000000000 ,
00007fff8f6cdbf0:  0000000000000000  0000000000000000 ,
00007fff8f6cdc00:  0000000000000000  0000000000000000 ,
00007fff8f6cdc10:  0000000000000000  0000000000000000 ,
00007fff8f6cdc20:  0000000000000000  0000000000000000 ,
00007fff8f6cdc30:  0000000000000000  0000000000000000 ,
00007fff8f6cdc40:  0000000000000000  0000000000000000 ,
00007fff8f6cdc50:  0000000000000000  0000000000000000 ,
00007fff8f6cdc60:  0000000000000000  0000000000000000 ,
00007fff8f6cdc70:  0000000000000000  0000000000000000 ,
00007fff8f6cdc80:  00007fff006f6d2e  000000000000000a ,
00007fff8f6cdc90:  00007f3ecca7a680  000000000000000a ,
,
goroutine 1 [running]:,
runtime.systemstack_switch(),
	runtime/asm_amd64.s:330 fp=0xc00002c788 sp=0xc00002c780 pc=0x466220,
runtime.main(),
	runtime/proc.go:134 +0x70 fp=0xc00002c7e0 sp=0xc00002c788 pc=0x438410,
runtime.goexit(),
	runtime/asm_amd64.s:1374 +0x1 fp=0xc00002c7e8 sp=0xc00002c7e0 pc=0x468001,
,
rax    0x0,
rbx    0x7f3ecc85e740,
rcx    0x7f3ecc8fb603,
rdx    0x6,
rdi    0x2e,
rsi    0x2e,
rbp    0x2e,
rsp    0x7fff8f6cdba0,
r8     0x7fff8f6cdbd0,
r9     0x0,
r10    0x8,�
r11    0x206,
r12    0x6,
r13    0x7fff8f6cdec0,
r14    0x573398,
r15    0x0,
rip    0x7f3ecc8fb603,�
rflags 0x206,
cs     0x33,
fs     0x0,
gs     0x0
@lolouk44 lolouk44 added the bug Something isn't working label Sep 17, 2021
@lolouk44
Copy link
Author

lolouk44 commented Sep 17, 2021

in addition, I've reverted to 1.9.0 and the container doesn't restart...

@reverendj1
Copy link

I had the same issue and the same log on a new install. I had to switch to 1.9.0 and turn on DROPBOX_SKIP_UPDATE to get it working.

@mneimeyer
Copy link

I'm also getting the same log/error but the DROPBOX_SKIP_UPDATE isn't helping me unless I've implemented that wrong.

@reverendj1
Copy link

@mneimeyer you may have to stop the container and do a docker system prune --all --force --volumes first to clear out all your old containers. Be warned, this deletes all stopped containers, their non-persistent volumes, and your image cache.

Here is my working docker-compose.yml

version: "2"
# Need to run on host on new install to be able to watch all files:
# echo fs.inotify.max_user_watches=100000 | sudo tee -a /etc/sysctl.conf; sudo sysctl -p
services:
  dropbox:
    image: otherguy/dropbox:1.9.0
    container_name: dropbox
    environment:
      - TZ=America/Detroit
      - DROPBOX_UID=1000
      - DROPBOX_GID=1000
      # Can't update Dropbox client or Docker image until this bug is fixed. https://github.com/otherguy/docker-dropbox/issues/37
      - DROPBOX_SKIP_UPDATE=true
    volumes:
      - ./config:/opt/dropbox/.dropbox
      - /data:/opt/dropbox/Dropbox
    restart: unless-stopped

@otherguy
Copy link
Owner

Thanks everyone for looking into this. I’m extremely busy this week since I’m moving to another state but I will look into it as soon as I can.

It looks like it’s related to a new dropbox version (building a new image like 1.10.0 always builds with the latest dropbox version so the skip update flag has no effect).

I will need to recreate the build pipeline as well as look into why the latest version of dropbox is failing.

Thanks for your patience!

@viv-garot
Copy link

Faced this issue with dropbox client 131.4.3968 trying to use janeczku/dropbox image

Then tried your docker image 1.10.0 and observed same go crash described here. Those 2 are most likely related.

I confirm reverting to 1.9.0 with DROP_SKIP_UPDATE flag to true is also working for me

@jonneymendoza
Copy link

This doesnt work either. i am getting same error:

runtime: unknown pc 0x7f97fc22f603 stack: frame={sp:0x7fff355474d0, fp:0x0} stack=[0x7fff34d48980,0x7fff355479c0) 00007fff355473d0: 00007f97d5820fff 0000000000000400 00007fff355473e0: 20636f6c6c616d00 203a64656c696166 00007fff355473f0: 0000000000000000 0000000000000000 00007fff35547400: 0000000000000000 0000000000000000 00007fff35547410: 0000000000000000 0000000000000000 00007fff35547420: 0000000000000000 0000000000000000 00007fff35547430: 0000000000000000 0000000000000000 00007fff35547440: 0000000000000000 0000000000000000 00007fff35547450: 0000000000000000 0000000000000000 00007fff35547460: 0000000000000000 0000000000000000 00007fff35547470: 0000000000000000 0000000000000000 00007fff35547480: 0000000000203000 0000000000000400 00007fff35547490: 0000000000000000 0000000000000000 00007fff355474a0: 0000000000000000 0000000000000000 00007fff355474b0: 00007f97d5820fff 0000000000000400 00007fff355474c0: 0000000000000002 00007f97fc22f5f5 00007fff355474d0: <0000000000000000 0000000000000006 00007fff355474e0: 000000000057e0cf 00007f97fc1db466 00007fff355474f0: 00007fff35547730 00007f97fc1c17b7 00007fff35547500: 0000000000000020 0000000000000000 00007fff35547510: 0000000000000000 0000000000000000 00007fff35547520: 0000000000000000 0000000000000000 00007fff35547530: 0000000000000000 0000000000000000 00007fff35547540: 0000000000000000 0000000000000000 00007fff35547550: 0000000000000000 0000000000000000 00007fff35547560: 00000000ffffffff 00007f97fc223e5d 00007fff35547570: 000000000057e0c1 00007f97fc223e5d 00007fff35547580: 00007f97fc3ae680 00007f97fc3ae680 00007fff35547590: 0000000000000001 00007f97fc3ae703 00007fff355475a0: 0000000000000d68 00007f97fc225961 00007fff355475b0: 00007fff006f6d2e 000000000000000a 00007fff355475c0: 00007f97fc3ae680 000000000000000a goroutine 1 [running]: runtime.systemstack_switch() runtime/asm_amd64.s:330 fp=0xc000040788 sp=0xc000040780 pc=0x466220 runtime.main() runtime/proc.go:134 +0x70 fp=0xc0000407e0 sp=0xc000040788 pc=0x438410 runtime.goexit() runtime/asm_amd64.s:1374 +0x1 fp=0xc0000407e8 sp=0xc0000407e0 pc=0x468001 rax 0x0 rbx 0x7f97fc192740 rcx 0x7f97fc22f603 rdx 0x6 rdi 0x2c rsi 0x2c rbp 0x2c rsp 0x7fff355474d0 r8 0x7fff35547500 r9 0x0 r10 0x8 r11 0x202 r12 0x6 r13 0x7fff355477f0 r14 0x573398 r15 0x0 rip 0x7f97fc22f603 rflags 0x202 cs 0x33 fs 0x0 gs 0x0

@erlendk
Copy link

erlendk commented Mar 2, 2022

Today my logs tells me, running version 1.9.0 with DROPBOX_SKIP_UPDATE=true: "You're using an old version of Dropbox. Please update within the next 13 days to continue using Dropbox."

So that workaround might not work much longer.

@bossanova808
Copy link

Started seeing things not syncing, so yes this workaround is no longer working I think...

@bossanova808
Copy link

...I decided to give 'latest' a go (and without the skip update thing) - and my container updated, then Dropbox updated to v143.4.4161 and then it proceeded to sync the latest changes ok and (so far at least...) has not crashed.

@knu
Copy link

knu commented Mar 29, 2022

Same here. The latest image without DROPBOX_SKIP_UPDATE gets me Dropbox 144.4.4491 and it is working well so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants