docker-jdownloader-2 icon indicating copy to clipboard operation
docker-jdownloader-2 copied to clipboard

Error when running on Raspberry PI4

Open spaxxilein opened this issue 5 years ago • 14 comments

Hello!

When running on Raspbian Buster i get this error:

Step` 1/16 : FROM jlesage/baseimage-gui:alpine-3.9-glibc-v3.5.2
 ---> 3522a694a0b5
Step 2/16 : ARG JAVAJRE_VERSION=8.212.04.2
 ---> Using cache
 ---> 0606fc64ac36
Step 3/16 : ARG JDOWNLOADER_URL=http://installer.jdownloader.org/JDownloader.jar
 ---> Using cache
 ---> 083d0663b0a1
Step 4/16 : ARG JAVAJRE_URL=https://d3pxv6yz143wms.cloudfront.net/${JAVAJRE_VERSION}/amazon-corretto-${JAVAJRE_VERSION}-linux-x64.tar.gz
 ---> Using cache
 ---> c34708fdfd5a
Step 5/16 : WORKDIR /tmp
 ---> Using cache
 ---> 9600f830e23d
Step 6/16 : RUN     mkdir -p /defaults &&     wget ${JDOWNLOADER_URL} -O /defaults/JDownloader.jar
 ---> Running in 1d80a40fab2a
standard_init_linux.go:211: exec user process caused "exec format error"
ERROR: Service 'jdownloader-2' failed to build: The command '/bin/sh -c mkdir -p /defaults &&     wget ${JDOWNLOADER_URL} -O /defaults/JDownloader.jar' returned a non-zero code: 1

Cannot run with commandline docker nor docker-compose.

Any ideas how to fix this?

Regards,

spaxxilein

spaxxilein avatar Sep 21 '19 16:09 spaxxilein

Hi, this container doesn't support ARM currently... only x86-64 architecture.

jlesage avatar Sep 22 '19 00:09 jlesage

Hi I have a short question, unfortunately the Dockerfile does not work on the Raspbarry PI4. How does it work to redirect the GUI to a webpage? I couldn't find anything in the dockerfile that points to it. I want to try to make it work on the Raspbarry and that would be unbelievable for it. So i wouldn't have to use headless mode anymore (because myjdownloader doesn't offer all settings).

Thanks

DevZiegler avatar Nov 26 '19 20:11 DevZiegler

A lot of logic is also implemented in the baseimage... which also doesn't support arm :(

jlesage avatar Nov 30 '19 01:11 jlesage

Hi @DevZiegler ,

I'm working on it. It works since today on my rpi3. But a little laggy and it seems have aliazing. Once I'm finished, I'll propose to @jlesage the result.

Sincerely, Turiok

Turiok avatar Feb 14 '20 19:02 Turiok

Hi @Turiok, nice to hear. In the meantime I also built an image from different sources for ARM systems (in my repo). But it is not that handy and it has no additional functions. Therefore a simpler solution is of course nice. Regards DevZiegler

DevZiegler avatar Feb 14 '20 21:02 DevZiegler

I guys I'm going to be crazy for find a good download manager (no torrent) for raspberry pi 4 on docker, what I can do? there are alternative to jd?

Stephen988 avatar May 19 '20 19:05 Stephen988

@Turiok aqui hay uno para la Pi

markosc avatar Jul 06 '20 06:07 markosc

Hi @jlesage

I have forked this repo and modified it to support aarch64, which has been tested on my Raspberry Pi 4. (link)

Also, based on your repo baseimage and baseimage-gui, I also modified them to support aarch64 (using ubuntu20.04) If PR is welcomed I can help with the aarch64 support.

I think your idea of baseimage-gui is brilliant and I am looking forward to the support of multi-arch.

daniel0076 avatar Sep 17 '20 04:09 daniel0076

Hi @jlesage

I have forked this repo and modified it to support aarch64, which has been tested on my Raspberry Pi 4. (link)

Also, based on your repo baseimage and baseimage-gui, I also modified them to support aarch64 (using ubuntu20.04) If PR is welcomed I can help with the aarch64 support.

I think your idea of baseimage-gui is brilliant and I am looking forward to the support of multi-arch.

Hey I wanna use this on my rpi as well in order to replace pyload. Do you maintain your docker image? I see it wasn't been updated since quite some time.

Thanks for your help!

Matssa56 avatar Jun 09 '21 16:06 Matssa56

Hi @Matssa56,

The image is working, and I don't think it needs further update if it is working fine. Docker images can last for a long time if there is not big changes in the software or the platform. You can report an issue to my repo if you encounter any problem.

Thanks

daniel0076 avatar Jun 09 '21 16:06 daniel0076

Hi @Matssa56,

The image is working, and I don't think it needs further update if it is working fine. Docker images can last for a long time if there is not big changes in the software or the platform. You can report an issue to my repo if you encounter any problem.

Thanks

Hi again,

Thanks for you speedy feedback! In that case I'll test it out on my debian install :) I was asking since I saw that your github was several commits behind this one, so maybe you stopped using it or something ;-)

Matssa56 avatar Jun 09 '21 17:06 Matssa56

Hi @daniel0076 I would like to install the docker container for raspberry pi4...

I m trying to install your fork and I cannot succeed... Docker not find your container...

Can you help me ?

Big thanks for the adaptation project for the raspberry pi4...

titou4307 avatar Oct 09 '21 07:10 titou4307

Cheers @titou4307, you need to specify a tag/version as well. As there's only one available, use daniel0076/jdownloader-2:aarch64-v0.1 instead of daniel0076/jdownloader-2 (see https://stackoverflow.com/a/68173568).

But I just realized, that its aarch64 and as I cannot update my pi4 to 64bit, because of other software I use, I still cannot use this, unfortunately.

ureimers avatar Oct 19 '21 22:10 ureimers

Hello @ureimers

I'm a new bee of Docker but the community here is very very good many thanks for your response and help, I will use the version Daniel0076 with the tag

Have a good day

titou4307 avatar Oct 20 '21 06:10 titou4307

The latest image now supports ARM (64bit).

jlesage avatar Nov 18 '22 19:11 jlesage