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

QNAP Container Station (Erorr)

Open pieromobile opened this issue 2 years ago • 6 comments

After installation on my qnap container station, when starting jdownloader various update errors are displayed with consequent program shutdown.

Error GUI image

image

image

Error Console image

pieromobile avatar Mar 18 '22 09:03 pieromobile

After reinstal application

20220318-100954-SUPERPC-CASA 20220318-101000-SUPERPC-CASA

pieromobile avatar Mar 18 '22 09:03 pieromobile

How did you created the container ? Can you share the docker run command you used and/or the config ?

jlesage avatar Mar 19 '22 00:03 jlesage

I got the same issue on unraid. With both yours and ich777's image. It happened after a recent update.

mLgz0rn avatar Apr 01 '22 19:04 mLgz0rn

After an update of what ?

jlesage avatar Apr 02 '22 13:04 jlesage

After an update of what ?

Of Jdownloader itself.

mLgz0rn avatar Apr 02 '22 20:04 mLgz0rn

Hi ! Exactly the same problem for me. It may be a Container Station update that introduced this malfunction. By digging a bit, I realize that what causes this crash for me is due to the fact that I modify the USER_ID, because I use a shared volume from the NAS to save my downloaded files... JDownloader is therefore no longer usable, because if I leave the default USER_ID=1000, this certainly allows me to correctly install my container and start JDownloader, but I no longer have access to my directory for writing (and I have then an error message from JDownloader)

pom2ter-git avatar Sep 10 '22 15:09 pom2ter-git

Is this still an issue with the latest image?

jlesage avatar Nov 18 '22 18:11 jlesage

Hi @jlesage,

Latest image (v22.11.1) doesn't work with my Qnap Container Station (version 2.6.2.574 2022/10/31).

Last working version for me is 1.72.1.

Below you can find my docker compose file that is working right now:

version: '3'
services:
  jdownloader2:
    image: jlesage/jdownloader-2:v1.7.2
    ports:
      - "5800:5800"
      - "3129:3129"
    volumes:
      - "/share/CACHEDEV1_DATA/Container/container-station-data/application/jdownloader2:/config:rw"
      - "/share/CACHEDEV2_DATA/Download/jd2:/output:rw"

liuk4friends avatar Nov 20 '22 16:11 liuk4friends

What is the problem exactly?

jlesage avatar Nov 20 '22 17:11 jlesage

hi @jlesage,

I reinstalled the latest version to reproduce the problem and to give you some debug information. With latest jdownloader2 version the Container crashes when vnc service is starting.

You can find the log here below: https://pastebin.com/D6XWpzs6

And here you can find a screenshot : screenshot

I hope this can help...

Edited on 23/111/2022

liuk4friends avatar Nov 20 '22 20:11 liuk4friends

Do you also have the log from v1.7.2 ?

jlesage avatar Nov 21 '22 00:11 jlesage

Ok, I restarted the container. Here is the log:

LOG deleted (incomplete)

Message edited on 23/11/2022

liuk4friends avatar Nov 21 '22 07:11 liuk4friends

Log is incomplete. Did you run docker logs <container name> to get it ?

jlesage avatar Nov 21 '22 12:11 jlesage

Sorry, no. I've got the log from Portainer (running "inside" my Container Station). If it could be useful, tonight I could try your suggestion.

liuk4friends avatar Nov 21 '22 16:11 liuk4friends

So here I am. Below you will find the log of 1.7.2 working version, that I obtained following your indication (after I gave the "restart" command of the container).

https://pastebin.com/VwWugbZy

During the boot phase, the web interface on port 5800 reports an error. Only if you close the dialog boxes with the 'ok' button the boot will be successful. I took a screenshot:

Screeny Shot 21 Nov 2022 at 21 47 50

liuk4friends avatar Nov 21 '22 20:11 liuk4friends

Could you expand the error window so we can see the full messages ?

jlesage avatar Nov 21 '22 23:11 jlesage

I was using this on my QNAP for some month. After having some troubles I decided to reinstall and now I can't bring it back to work again. Whenn connecting to the GUI I see similar pictures. It tries to connect to update.appworker.org and fails. Using the terminal I made sure that outbound connections are working correcty. image image image

MeisterBAP avatar Nov 22 '22 17:11 MeisterBAP

Could you expand the error window so we can see the full messages ?

Ok. I restarted again the container. Below you can find two screenshot:

Screeny Shot 22 Nov 2022 at 21 51 59

Screeny Shot 22 Nov 2022 at 21 53 08

As explained in my previous posts, this error appears when starting version 1.7.2. I guess it's the update to version 22.11.1 that doesn't work (at least in my case).

And just to be as clear as possible, version 1.7.2 of the container presents this "update error" during the boot phase but, once the dialog box is closed, jdownloader2 starts and works perfectly. Instead the 22.11.1 version of the container doesn't work at all.

liuk4friends avatar Nov 22 '22 21:11 liuk4friends

I tried to do a fresh install with every version beginnig with the latest back to 1.6.0 and I was not able to start jdownloader. On first boot it tries to connect to update.appwork.org. Anything I did made the container shut down.

My last Test was to set up a proxy server. Instead of direct connection I choose proxy and entered the proxy IP and prort. It downloaded and installed updates. I had to do this a second time. After this jdownloader started completely.

Next step is to use it, i'll get back in some minutes.

MeisterBAP avatar Nov 22 '22 23:11 MeisterBAP

@MeisterBAP, you issue is different. It's probably better to create a new issue if needed.

jlesage avatar Nov 22 '22 23:11 jlesage

@liuk4friends, it's clear. 22.11.1 has a different problem, but I would like first to understand why you get an error with 1.7.2 (the same as originally posted).

Could you provide the output of the following commands:

docker inspect <container name>
docker exec <container name> ls -l /

jlesage avatar Nov 22 '22 23:11 jlesage

I am not sure if it is really different. If liuk4friends has his problem with a fresh install, than i am sure it is a different problem. But if he is using a backup of his 1.7.2 without updating than it might end up the same.

I can confirm that at least I am not possible to install this container anymore (tested with latest down to 1.6.0) when using direct connection. When using a proxy it works without any problems. With proxy settings my container is working again.

MeisterBAP avatar Nov 22 '22 23:11 MeisterBAP

The original issue is about temporary directory that fails to be created, while yours is about failure to reach the Internet. Note that if you normally need to use a proxy on your network, then the container should also need it. But if other applications or machines on your network don't need it, then the container's network settings might have to be reviewed (e.g. are you using the default bridge network?).

jlesage avatar Nov 22 '22 23:11 jlesage

Call me stupid, but as far as I see this topic its origin is about not beeing able to update: image

I know my network very well. When I installed this container I used the terminal connection to assure that the container has full outbound internet access. Unfortunatelly it was not possible to finish the jdownloader installation because it was not able to connect to update.artwork.org.

When using a proxy instead of direct connection it is working. For me this is ok and don't need more help at this time. But looking at the original topic and the messages of other users like "liuk4friends" I have the feeling that there might be a problem with direct connection on QNAP devices.

Anyway, your are doing a great job and I am very thankful.

MeisterBAP avatar Nov 22 '22 23:11 MeisterBAP

Could you provide the output of the following commands:

ok

docker inspect <container name>

https://pastebin.com/REQ0acVX

docker exec <container name> ls -l /

https://pastebin.com/iXJxdAXk

Please, let me know when I could delete all these pastebin Thank you for all your efforts

liuk4friends avatar Nov 23 '22 07:11 liuk4friends

The pastebin for the docker inspect command output is not accessible:

Error, this is a private paste or is pending moderation. If this paste belongs to you, please login to Pastebin to view it.`

jlesage avatar Nov 23 '22 14:11 jlesage

Strange. It is public.

Screeny Shot 23 Nov 2022 at 21 15 22

I have edited it and saved it again as public. May you try again?

liuk4friends avatar Nov 23 '22 20:11 liuk4friends

Same thing :(

jlesage avatar Nov 23 '22 21:11 jlesage

I believe that the problem was not the "public/private" setting of Pastebin website but rather the "pending moderation" by their administrators. I've uploaded another time my "docker inspect result" on Pastebin but also the new version is in "pending moderation" state.

I have no idea how much time it will be "rest" this way so I think that the best is to paste it entirely here:

content deleted by author

liuk4friends avatar Nov 23 '22 21:11 liuk4friends

It's strange, the /tmp folder doesn't have the correct permissions. I'm not sure why.

Could you provide the output of the following commands:

docker run --rm jlesage/jdownloader-2 ls -l /
docker run --rm jlesage/jdownloader-2:v1.7.2 ls -l /

jlesage avatar Nov 23 '22 23:11 jlesage