wahyd4 / aria2-ariang-docker

The Docker image for Aria2 + AriaNg + File Browser + Rclone
Apache License 2.0
1.04k stars 232 forks source link

Auto exit after running. #28

Closed Luupw3d closed 5 years ago

Luupw3d commented 5 years ago

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ee5ad52c3ea6 wahyd4/aria2-ui:arm64_20190316_1 "/bin/sh /root/aria2…" 7 seconds ago Exited (159) 6 seconds ago aria2-ui

docker logs ee5ad52c3ea6 outputted nothing.

wahyd4 commented 5 years ago

Are any ports you declared in this command used by any other service?

On 2 May 2019, 1:13 AM +1000, Luupw3d notifications@github.com, wrote:

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ee5ad52c3ea6 wahyd4/aria2-ui:arm64_20190316_1 "/bin/sh /root/aria2…" 7 seconds ago Exited (159) 6 seconds ago aria2-ui docker logs ee5ad52c3ea6 outputted nothing. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Luupw3d commented 5 years ago

I tested docker run -d --name aria2-ui -p 80:80 -p 6800:6800 wahyd4/aria2-ui:arm64 again. Still Exited(159).

My system is Armbian, and the port 80 6800 are not declared.

wahyd4 commented 5 years ago

So your CPU is ARM based? If so, then please go back read the readme and use the arm tag docker image. The default tag is for x64 CPU. On 2 May 2019, 9:54 PM +1000, Luupw3d notifications@github.com, wrote:

I tested docker run -d --name aria2-ui -p 80:80 -p 6800:6800 wahyd4/aria2-ui:arm64 again. Still Exited(159). My system is Armbian, and the port 80 6800 are not declared. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Luupw3d commented 5 years ago

I had pulled image by tag arm64,docker image lsshowed REPOSITORY is wahyd4/aria2-ui with tag arm64.

wahyd4 commented 5 years ago

Are you using raspberry pi? Please provide the brand and model of your CPU.

Luupw3d commented 5 years ago

In fact,I am using phicomm N1. CPU: Amlogic S905,ARM Cortex-A53.

wahyd4 commented 5 years ago

I don't know this too much, but my suggestion is give a go with arm32 tag. Because no matter whether you CPU is ARM 32 or 64, both of them should work with the arm32 one.

On 3 May 2019, 12:42 AM +1000, Luupw3d notifications@github.com, wrote:

In fact,I am using phicomm N1. CPU: Amlogic S905,ARM Cortex-A53. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

wahyd4 commented 5 years ago

Hi @Luupw3d, I will close this issue as there are no further updates. So I assume this has been fixed, let me know if you need further help.

Luupw3d commented 5 years ago

Hi @wahyd4 ,I have fixed those problem by reinstall Docker. Idk how this problem happen but it's fixed now. Thanks for your help again!

loooo139 commented 4 years ago

I also encounter this problem,my os is armbian.The docker image is using the arm64 tag.afer i input the command 'docker pull wahyd4/aria2-ui:arm64',i got the error.the specific log is that. ‘’‘ failed to register layer: Error processing tar file(exit status 2): panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xaaaadb4dd404]

goroutine 1 [running]: github.com/docker/docker/vendor/github.com/docker/swarmkit/manager/allocator/cnmallocator.reconcilePortConfigs(0x40005edc28, 0xaaaada1a7344, 0x10, 0xaaaadc418bc0) /go/src/github.com/docker/docker/vendor/github.com/docker/swarmkit/manager/allocator/cnmallocator/portallocator.go:173 +0x2ec regexp/syntax.(parser).push(0x40005edcb8, 0xaaaada04979c, 0x30) /usr/local/go/src/regexp/syntax/parse.go:136 +0x22c regexp/syntax.(parser).push(0x8, 0x4000604860, 0xaaaadd9c4b60) /usr/local/go/src/regexp/syntax/parse.go:136 +0x22c runtime: unexpected return pc for runtime.growslice called from 0x0 stack: frame={sp:0x40005edc50, fp:0x40005edcb0} stack=[0x40005de000,0x40005ee000) 00000040005edb50: 0000004000351520 00000040005edc18 00000040005edb60: 0000aaaada010560 <runtime.mallocgc+1160> 00000040005edca8 00000040005edb70: 0000aaaada1b443c <regexp/syntax.(Regexp).Simplify+148> 0000004000351500 00000040005edb80: 0000004000351500 00000040005edc18 00000040005edb90: 0000aaaada1a7344 <regexp/syntax.(parser).push+556> 00000040005edc28 00000040005edba0: 0000aaaada1a7344 <regexp/syntax.(parser).push+556> 0000000000000010 00000040005edbb0: 0000aaaadc418bc0 00000040005edc78 00000040005edbc0: 0000aaaada1a8434 <regexp/syntax.(parser).alternate+332> 00000040005edc88 00000040005edbd0: 0000aaaada1a82a4 <regexp/syntax.(parser).concat+348> 0000aaaadc29ec80 00000040005edbe0: 000000400037c4a0 00000040005edca8 00000040005edbf0: 0000aaaada04981c <runtime.growslice+404> 00000040005edcb8 00000040005edc00: 0000aaaada04979c <runtime.growslice+276> 0000000000000030 00000040005edc10: 0000aaaadc327cc0 00000040005edcd8 00000040005edc20: 0000aaaada010b50 <runtime.newobject+56> 0000004000602a00 00000040005edc30: 0000000000000000 00000040005edcf8 00000040005edc40: 0000aaaada010500 <runtime.mallocgc+1064> 0000000000000001 00000040005edc50: <0000000000000000 0000000000000008 00000040005edc60: 0000004000604860 0000aaaadd9c4b60 00000040005edc70: 0000ffffa0bb3d98 0000aaaadd9c4b60 00000040005edc80: 0000ffffa0bb3d98 0000000000000000 00000040005edc90: 0000000000000001 00000040005edd58 00000040005edca0: 0000aaaada04d6d8 <runtime.rawbyteslice+128> 00000040005edd08 00000040005edcb0: >0000aaaada1a4fc0 <regexp/syntax.Compile+648> 00000040005edd18 00000040005edcc0: 0000aaaada0ed4d4 <strings.(Builder).WriteRune+156> 00000040005edd88 00000040005edcd0: 0000aaaada010560 <runtime.mallocgc+1160> 0000000000000000 00000040005edce0: 0000004000604860 0000000000000001 00000040005edcf0: 0000000000000008 0000000000000008 00000040005edd00: 0000000000000008 00000040005eddc8 00000040005edd10: 0000aaaada010560 <runtime.mallocgc+1160> 00000040005eddd8 00000040005edd20: 0000aaaada010560 <runtime.mallocgc+1160> 00000040005edde8 00000040005edd30: 0000aaaada010560 <runtime.mallocgc+1160> 00000040005eddf8 00000040005edd40: 0000aaaada010560 <runtime.mallocgc+1160> 0000000000000001 00000040005edd50: 0000004000604860 00000040005edd98 00000040005edd60: 0000aaaada04d168 <runtime.stringtoslicebyte+160> 000000400060486c 00000040005edd70: 0000000000000004 00000040005edd00 00000040005edd80: 0000004000604868 00000040005ede48 00000040005edd90: 0000aaaada010c4c <runtime.newarray+116> 000000400042e780 00000040005edda0: 0000000000000140 0000000000000130 ’‘’ by the way,the chip is s905d.

wahyd4 commented 4 years ago

Maybe use arm32

On Thu, 5 Mar 2020 at 3:56 pm, lixuefeng notifications@github.com wrote:

I also encounter this problem,my os is armbian.The docker image is using the arm64 tag.afer i input the command 'docker pull wahyd4/aria2-ui:arm64',i got the error.the specific log is that. ‘’‘ failed to register layer: Error processing tar file(exit status 2): panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xaaaadb4dd404]

goroutine 1 [running]:

github.com/docker/docker/vendor/github.com/docker/swarmkit/manager/allocator/cnmallocator.reconcilePortConfigs(0x40005edc28, 0xaaaada1a7344, 0x10, 0xaaaadc418bc0) /go/src/ github.com/docker/docker/vendor/github.com/docker/swarmkit/manager/allocator/cnmallocator/portallocator.go:173 +0x2ec regexp/syntax.(parser).push(0x40005edcb8, 0xaaaada04979c, 0x30) /usr/local/go/src/regexp/syntax/parse.go:136 +0x22c regexp/syntax.(parser).push(0x8, 0x4000604860, 0xaaaadd9c4b60) /usr/local/go/src/regexp/syntax/parse.go:136 +0x22c runtime: unexpected return pc for runtime.growslice called from 0x0 stack: frame={sp:0x40005edc50, fp:0x40005edcb0} stack=[0x40005de000,0x40005ee000) 00000040005edb50: 0000004000351520 00000040005edc18 00000040005edb60: 0000aaaada010560 <runtime.mallocgc+1160> 00000040005edca8 00000040005edb70: 0000aaaada1b443c <regexp/syntax.(Regexp).Simplify+148> 0000004000351500 00000040005edb80: 0000004000351500 00000040005edc18 00000040005edb90: 0000aaaada1a7344 <regexp/syntax.(parser).push+556> 00000040005edc28 00000040005edba0: 0000aaaada1a7344 <regexp/syntax.(parser).push+556> 0000000000000010 00000040005edbb0: 0000aaaadc418bc0 00000040005edc78 00000040005edbc0: 0000aaaada1a8434 <regexp/syntax.(parser).alternate+332> 00000040005edc88 00000040005edbd0: 0000aaaada1a82a4 <regexp/syntax.(parser).concat+348> 0000aaaadc29ec80 00000040005edbe0: 000000400037c4a0 00000040005edca8 00000040005edbf0: 0000aaaada04981c <runtime.growslice+404> 00000040005edcb8 00000040005edc00: 0000aaaada04979c <runtime.growslice+276> 0000000000000030 00000040005edc10: 0000aaaadc327cc0 00000040005edcd8 00000040005edc20: 0000aaaada010b50 <runtime.newobject+56> 0000004000602a00 00000040005edc30: 0000000000000000 00000040005edcf8 00000040005edc40: 0000aaaada010500 <runtime.mallocgc+1064> 0000000000000001 00000040005edc50: <0000000000000000 0000000000000008 00000040005edc60: 0000004000604860 0000aaaadd9c4b60 00000040005edc70: 0000ffffa0bb3d98 0000aaaadd9c4b60 00000040005edc80: 0000ffffa0bb3d98 0000000000000000 00000040005edc90: 0000000000000001 00000040005edd58 00000040005edca0: 0000aaaada04d6d8 <runtime.rawbyteslice+128> 00000040005edd08 00000040005edcb0: >0000aaaada1a4fc0 <regexp/syntax.Compile+648> 00000040005edd18 00000040005edcc0: 0000aaaada0ed4d4 <strings.(Builder).WriteRune+156> 00000040005edd88 00000040005edcd0: 0000aaaada010560 <runtime.mallocgc+1160> 0000000000000000 00000040005edce0: 0000004000604860 0000000000000001 00000040005edcf0: 0000000000000008 0000000000000008 00000040005edd00: 0000000000000008 00000040005eddc8 00000040005edd10: 0000aaaada010560 <runtime.mallocgc+1160> 00000040005eddd8 00000040005edd20: 0000aaaada010560 <runtime.mallocgc+1160> 00000040005edde8 00000040005edd30: 0000aaaada010560 <runtime.mallocgc+1160> 00000040005eddf8 00000040005edd40: 0000aaaada010560 <runtime.mallocgc+1160> 0000000000000001 00000040005edd50: 0000004000604860 00000040005edd98 00000040005edd60: 0000aaaada04d168 <runtime.stringtoslicebyte+160> 000000400060486c 00000040005edd70: 0000000000000004 00000040005edd00 00000040005edd80: 0000004000604868 00000040005ede48 00000040005edd90: 0000aaaada010c4c <runtime.newarray+116> 000000400042e780 00000040005edda0: 0000000000000140 0000000000000130 ’‘’ by the way,the chip is s905d.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-docker/issues/28?email_source=notifications&email_token=AAGMHYAXM2HBUTDH6IMNY5DRF4WHVA5CNFSM4HJUEEW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN3WV7I#issuecomment-595028733, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGMHYDQRRC2CJKQGTYRCPDRF4WHVANCNFSM4HJUEEWQ .

-- Kind regards, Junwei Zhao

loooo139 commented 4 years ago

@loooo139 maybe you should use arm tag no arm64 you can try my docker image github

as you can see,there is no arm tag.there are there tags for this image.latest is for x86,arm32,arm64. before i could run this container normally.today,i removed the container and delete the image.i tried reinstall the image,then i met this problem.it is certain that the chip is arm64.thans anyway.

wahyd4 commented 4 years ago

If you are using raspberry pi, then probably the operating system you have only supports arm32. Give a try.

On Thu, 5 Mar 2020 at 4:07 pm, lixuefeng notifications@github.com wrote:

@loooo139 https://github.com/loooo139 maybe you should use arm tag no arm64 you can try my docker image github https://github.com/huangzulin/aria2-ui

as you can see,there is no arm tag.there are there tags for this image.latest is for x86,arm32,arm64. before i could run this container normally.today,i removed the container and delete the image.i tried reinstall the image,then i met this problem.it is certain that the chip is arm64.thans anyway.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-docker/issues/28?email_source=notifications&email_token=AAGMHYDRYGDMOAORGJFJVXLRF4XR3A5CNFSM4HJUEEW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN3XLBA#issuecomment-595031428, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGMHYG4TJRY3M5ZHO55S6LRF4XR3ANCNFSM4HJUEEWQ .

-- Kind regards, Junwei Zhao

loooo139 commented 4 years ago

after i restart the system,it run well.thanks alot.

If you are using raspberry pi, then probably the operating system you have only supports arm32. Give a try. On Thu, 5 Mar 2020 at 4:07 pm, lixuefeng @.***> wrote: @loooo139 https://github.com/loooo139 maybe you should use arm tag no arm64 you can try my docker image github https://github.com/huangzulin/aria2-ui as you can see,there is no arm tag.there are there tags for this image.latest is for x86,arm32,arm64. before i could run this container normally.today,i removed the container and delete the image.i tried reinstall the image,then i met this problem.it is certain that the chip is arm64.thans anyway. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#28?email_source=notifications&email_token=AAGMHYDRYGDMOAORGJFJVXLRF4XR3A5CNFSM4HJUEEW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN3XLBA#issuecomment-595031428>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGMHYG4TJRY3M5ZHO55S6LRF4XR3ANCNFSM4HJUEEWQ . -- Kind regards, Junwei Zhao