truecharts / public

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.16k stars 617 forks source link

[jdownloader2] not starting (can't create directory '') #21451

Closed cinema-ONE closed 7 months ago

cinema-ONE commented 7 months ago

chart Name

jdownloader2

Operating System

TrueNAS SCALE 24.04.0

Deployment Method

TrueNAS SCALE charts

Chart Version

17.0.3

Kubernetes Events

2024-05-01 07:52:24
Back-off restarting failed container jdownloader2 in pod jdownloader2-774b89d5b5-9rcjl_ix-jdownloader2(bee2246d-e682-43ad-8682-a0efc34564ae)
2024-05-01 07:52:17
Created container jdownloader2
2024-05-01 07:52:17
Started container jdownloader2
2024-05-01 07:52:16
Add eth0 [172.16.0.182/16] from ix-net
2024-05-01 07:52:16
Container image "jlesage/jdownloader-2:v24.01.1@sha256:b020fd3132a1e1f4b3d13b85df0c3046e13ce4b5d2d3e4234c0e2af62cb5d472" already present on machine
2024-05-01 07:52:14
Successfully assigned ix-jdownloader2/jdownloader2-774b89d5b5-9rcjl to ix-truenas
2024-05-01 07:52:13
Updated LoadBalancer with new IPs: [] -> [192.168.0.60]
2024-05-01 07:52:13
Updated LoadBalancer with new IPs: [] -> [192.168.0.60]
2024-05-01 07:52:13
Updated LoadBalancer with new IPs: [] -> [192.168.0.60]
2024-05-01 07:52:12
Successfully provisioned volume pvc-4a97b0b8-a449-4987-a3b3-0015f4221a14
2024-05-01 07:52:12
0/1 nodes are available: pod has unbound immediate PersistentVolumeClaims. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod..
2024-05-01 07:52:12
Successfully provisioned volume pvc-3e3148d0-47f6-4cef-bbb2-52fa1d8f0e16
2024-05-01 07:52:11
Ensuring load balancer
2024-05-01 07:52:11
waiting for a volume to be created, either by external provisioner "zfs.csi.openebs.io" or manually created by system administrator
2024-05-01 07:52:11
There are no available nodes for LoadBalancer
2024-05-01 07:52:11
External provisioner is provisioning volume for claim "ix-jdownloader2/jdownloader2-config"
2024-05-01 07:52:11
External provisioner is provisioning volume for claim "ix-jdownloader2/jdownloader2-output"
2024-05-01 07:52:11
waiting for a volume to be created, either by external provisioner "zfs.csi.openebs.io" or manually created by system administrator
2024-05-01 07:52:11
Ensuring load balancer
2024-05-01 07:52:11
Applied LoadBalancer DaemonSet kube-system/svclb-jdownloader2-158c15d4
2024-05-01 07:52:11
There are no available nodes for LoadBalancer
2024-05-01 07:52:11
Scaled up replica set jdownloader2-774b89d5b5 to 1
2024-05-01 07:52:11
Ensuring load balancer
2024-05-01 07:52:11
Applied LoadBalancer DaemonSet kube-system/svclb-jdownloader2-vnc-030f8891
2024-05-01 07:52:11
There are no available nodes for LoadBalancer
2024-05-01 07:52:11
Created pod: jdownloader2-774b89d5b5-9rcjl
2024-05-01 07:52:11
0/1 nodes are available: pod has unbound immediate PersistentVolumeClaims. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod..
2024-05-01 07:52:11
Applied LoadBalancer DaemonSet kube-system/svclb-jdownloader2-myjd-cbdf8b15

chartlication Logs

2024-05-01T07:53:58.863464695+02:00 [init        ] container is starting...
2024-05-01T07:53:58.863527825+02:00 [cont-env    ] loading container environment variables...
2024-05-01T07:53:58.866930296+02:00 [cont-env    ] APP_NAME: executing...
2024-05-01T07:53:58.869617862+02:00 [cont-env    ] APP_NAME: /etc/cont-env.d/APP_NAME: line 1: JDownloader: not found
2024-05-01T07:53:58.870824046+02:00 [cont-env    ] APP_NAME: terminated successfully.
2024-05-01T07:53:58.871252303+02:00 [cont-env    ] APP_NAME: loading...
2024-05-01T07:53:58.872686951+02:00 [cont-env    ] DISPLAY: executing...
2024-05-01T07:53:58.877790129+02:00 [cont-env    ] DISPLAY: terminated successfully.
2024-05-01T07:53:58.878142180+02:00 [cont-env    ] DISPLAY: loading...
2024-05-01T07:53:58.879913239+02:00 [cont-env    ] DOCKER_IMAGE_PLATFORM: executing...
2024-05-01T07:53:58.882908663+02:00 [cont-env    ] DOCKER_IMAGE_PLATFORM: /etc/cont-env.d/DOCKER_IMAGE_PLATFORM: line 1: linux/amd64: not found
2024-05-01T07:53:58.884134852+02:00 [cont-env    ] DOCKER_IMAGE_PLATFORM: terminated successfully.
2024-05-01T07:53:58.884589442+02:00 [cont-env    ] DOCKER_IMAGE_PLATFORM: loading...
2024-05-01T07:53:58.886347778+02:00 [cont-env    ] DOCKER_IMAGE_VERSION: executing...
2024-05-01T07:53:58.888779470+02:00 [cont-env    ] DOCKER_IMAGE_VERSION: /etc/cont-env.d/DOCKER_IMAGE_VERSION: line 1: 24.01.1: not found
2024-05-01T07:53:58.889825483+02:00 [cont-env    ] DOCKER_IMAGE_VERSION: terminated successfully.
2024-05-01T07:53:58.890169626+02:00 [cont-env    ] DOCKER_IMAGE_VERSION: loading...
2024-05-01T07:53:58.891605884+02:00 [cont-env    ] GTK2_RC_FILES: executing...
2024-05-01T07:53:58.897283600+02:00 [cont-env    ] GTK2_RC_FILES: terminated successfully.
2024-05-01T07:53:58.897645078+02:00 [cont-env    ] GTK2_RC_FILES: loading...
2024-05-01T07:53:58.899082339+02:00 [cont-env    ] GTK_THEME: executing...
2024-05-01T07:53:58.904358884+02:00 [cont-env    ] GTK_THEME: terminated successfully.
2024-05-01T07:53:58.904666435+02:00 [cont-env    ] GTK_THEME: loading...
2024-05-01T07:53:58.906057582+02:00 [cont-env    ] HOME: executing...
2024-05-01T07:53:58.912579099+02:00 [cont-env    ] HOME: terminated successfully.
2024-05-01T07:53:58.912938101+02:00 [cont-env    ] HOME: loading...
2024-05-01T07:53:58.914298289+02:00 [cont-env    ] INSTALL_PACKAGES_INTERNAL: executing...
2024-05-01T07:53:58.917458451+02:00 [cont-env    ] INSTALL_PACKAGES_INTERNAL: terminated successfully.
2024-05-01T07:53:58.917908636+02:00 [cont-env    ] INSTALL_PACKAGES_INTERNAL: loading...
2024-05-01T07:53:58.919411982+02:00 [cont-env    ] QT_STYLE_OVERRIDE: executing...
2024-05-01T07:53:58.925164592+02:00 [cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
2024-05-01T07:53:58.925527488+02:00 [cont-env    ] QT_STYLE_OVERRIDE: loading...
2024-05-01T07:53:58.926979038+02:00 [cont-env    ] TAKE_CONFIG_OWNERSHIP: executing...
2024-05-01T07:53:58.932670853+02:00 [cont-env    ] TAKE_CONFIG_OWNERSHIP: /etc/cont-env.d/TAKE_CONFIG_OWNERSHIP: line 1: 1: not found
2024-05-01T07:53:58.933978035+02:00 [cont-env    ] TAKE_CONFIG_OWNERSHIP: terminated successfully.
2024-05-01T07:53:58.934503532+02:00 [cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
2024-05-01T07:53:58.936065083+02:00 [cont-env    ] XDG_CACHE_HOME: executing...
2024-05-01T07:53:58.938906074+02:00 [cont-env    ] XDG_CACHE_HOME: /etc/cont-env.d/XDG_CACHE_HOME: line 1: /config/xdg/cache: Permission denied
2024-05-01T07:53:58.939964950+02:00 [cont-env    ] XDG_CACHE_HOME: terminated successfully.
2024-05-01T07:53:58.940274686+02:00 [cont-env    ] XDG_CACHE_HOME: loading...
2024-05-01T07:53:58.941639434+02:00 [cont-env    ] XDG_CONFIG_HOME: executing...
2024-05-01T07:53:58.944566283+02:00 [cont-env    ] XDG_CONFIG_HOME: /etc/cont-env.d/XDG_CONFIG_HOME: line 1: /config/xdg/config: not found
2024-05-01T07:53:58.945667596+02:00 [cont-env    ] XDG_CONFIG_HOME: terminated successfully.
2024-05-01T07:53:58.945995864+02:00 [cont-env    ] XDG_CONFIG_HOME: loading...
2024-05-01T07:53:58.947721410+02:00 [cont-env    ] XDG_DATA_HOME: executing...
2024-05-01T07:53:58.950546577+02:00 [cont-env    ] XDG_DATA_HOME: /etc/cont-env.d/XDG_DATA_HOME: line 1: /config/xdg/data: not found
2024-05-01T07:53:58.951682486+02:00 [cont-env    ] XDG_DATA_HOME: terminated successfully.
2024-05-01T07:53:58.952048861+02:00 [cont-env    ] XDG_DATA_HOME: loading...
2024-05-01T07:53:58.954096679+02:00 [cont-env    ] XDG_RUNTIME_DIR: executing...
2024-05-01T07:53:58.957056958+02:00 [cont-env    ] XDG_RUNTIME_DIR: /etc/cont-env.d/XDG_RUNTIME_DIR: line 1: /tmp/run/user/app: not found
2024-05-01T07:53:58.958270556+02:00 [cont-env    ] XDG_RUNTIME_DIR: terminated successfully.
2024-05-01T07:53:58.958690993+02:00 [cont-env    ] XDG_RUNTIME_DIR: loading...
2024-05-01T07:53:58.960623009+02:00 [cont-env    ] XDG_STATE_HOME: executing...
2024-05-01T07:53:58.963445726+02:00 [cont-env    ] XDG_STATE_HOME: /etc/cont-env.d/XDG_STATE_HOME: line 1: /config/xdg/state: not found
2024-05-01T07:53:58.964616779+02:00 [cont-env    ] XDG_STATE_HOME: terminated successfully.
2024-05-01T07:53:58.965124876+02:00 [cont-env    ] XDG_STATE_HOME: loading...
2024-05-01T07:53:58.966453167+02:00 [cont-env    ] container environment variables initialized.
2024-05-01T07:53:58.966499071+02:00 [cont-secrets] loading container secrets...
2024-05-01T07:53:58.966620186+02:00 [cont-secrets] container secrets loaded.
2024-05-01T07:53:58.966647504+02:00 [cont-init   ] executing container initialization scripts...
2024-05-01T07:53:58.969359795+02:00 [cont-init   ] 10-certs.sh: executing...
2024-05-01T07:53:58.974202842+02:00 [cont-init   ] 10-certs.sh: terminated successfully.
2024-05-01T07:53:58.975525634+02:00 [cont-init   ] 10-check-app-niceness.sh: executing...
2024-05-01T07:53:58.978091753+02:00 [cont-init   ] 10-check-app-niceness.sh: terminated successfully.
2024-05-01T07:53:58.979475473+02:00 [cont-init   ] 10-clean-logmonitor-states.sh: executing...
2024-05-01T07:53:58.982784556+02:00 [cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
2024-05-01T07:53:58.984082654+02:00 [cont-init   ] 10-clean-tmp-dir.sh: executing...
2024-05-01T07:53:58.987581258+02:00 [cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
2024-05-01T07:53:58.988967235+02:00 [cont-init   ] 10-fontconfig-cache-dir.sh: executing...
2024-05-01T07:53:58.991319248+02:00 [cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
2024-05-01T07:53:58.992745420+02:00 [cont-init   ] 10-init-users.sh: executing...
2024-05-01T07:53:59.028950223+02:00 [cont-init   ] 10-init-users.sh: terminated successfully.
2024-05-01T07:53:59.030105618+02:00 [cont-init   ] 10-nginx.sh: executing...
2024-05-01T07:53:59.057516173+02:00 [cont-init   ] 10-nginx.sh: terminated successfully.
2024-05-01T07:53:59.059082769+02:00 [cont-init   ] 10-openbox.sh: executing...
2024-05-01T07:53:59.088599032+02:00 [cont-init   ] 10-openbox.sh: terminated successfully.
2024-05-01T07:53:59.090253482+02:00 [cont-init   ] 10-pkgs-mirror.sh: executing...
2024-05-01T07:53:59.093478435+02:00 [cont-init   ] 10-pkgs-mirror.sh: terminated successfully.
2024-05-01T07:53:59.095010776+02:00 [cont-init   ] 10-set-tmp-dir-perms.sh: executing...
2024-05-01T07:53:59.098639635+02:00 [cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.
2024-05-01T07:53:59.099958262+02:00 [cont-init   ] 10-vnc-password.sh: executing...
2024-05-01T07:53:59.101726556+02:00 [cont-init   ] 10-vnc-password.sh: creating VNC password file from environment variable...
2024-05-01T07:53:59.108434756+02:00 [cont-init   ] 10-vnc-password.sh: terminated successfully.
2024-05-01T07:53:59.109787486+02:00 [cont-init   ] 10-web-data.sh: executing...
2024-05-01T07:53:59.116566806+02:00 [cont-init   ] 10-web-data.sh: terminated successfully.
2024-05-01T07:53:59.117900107+02:00 [cont-init   ] 10-x11-unix.sh: executing...
2024-05-01T07:53:59.122183290+02:00 [cont-init   ] 10-x11-unix.sh: terminated successfully.
2024-05-01T07:53:59.124262527+02:00 [cont-init   ] 10-xdg-runtime-dir.sh: executing...
2024-05-01T07:53:59.128174681+02:00 [cont-init   ] 10-xdg-runtime-dir.sh: mkdir: can't create directory '': No such file or directory
2024-05-01T07:53:59.129301736+02:00 [cont-init   ] 10-xdg-runtime-dir.sh: terminated with error 1.

Chart Configuration

I left all default settings except for VNC_PASSWORD.

Describe the bug

After update to App Version 1.4.2 / Chart Version 20.0.4, jdownloader2 does not start anymore. I seems to be stuck at "Deploying".

I have deleted the App and installed it fresh (with default settings).

The last 2 lines in the log:

2024-05-01T07:53:59.128174681+02:00 [cont-init   ] 10-xdg-runtime-dir.sh: mkdir: can't create directory '': No such file or directory
2024-05-01T07:53:59.129301736+02:00 [cont-init   ] 10-xdg-runtime-dir.sh: terminated with error 1.

To Reproduce

  1. install jdownloader2
  2. leave ALL settings as default
  3. click "Install"
  4. start jdownloader2

Expected Behavior

App starting successfully.

Screenshots

image

Additional Context

I have recently upgraded TrueNAS Scale from Cobia to Dragonfish-24.04.0, and have followed your migration instructions.

I've read and agree with the following

PrivatePuffin commented 7 months ago

I would suggest filing a support ticket on Discord first

Godferdom commented 7 months ago

Hi, I have the same issue with a Synology NAS @cinema-ONE : Did you find the solution?

cinema-ONE commented 7 months ago

Hi, I have the same issue with a Synology NAS @cinema-ONE : Did you find the solution?

@Godferdom: No solution yet unfortunately. As suggested by @Ornias1993, I have opened a ticked on Discord.

As workaround, I have installed JDownloader2 on a Windows machine.

Godferdom commented 7 months ago

Hi, I found the solution. You have to delete all the containers and image (last one is important) of jlesage and install them again. Uninstalling jdownloader is not enough.

cinema-ONE commented 7 months ago

Hi, I found the solution. You have to delete all the containers and image (last one is important) of jlesage and install them again. Uninstalling jdownloader is not enough.

Thanks a lot, @Godferdom! As I'm pretty much a noob in this topic, I didn't know how I could access these containers and images. After some googling, I found that # midclt call container.prune '{"remove_unused_images": true, "remove_stopped_containers": true}' did the trick (not sure though if it's really the "correct" solution).

Godferdom commented 7 months ago

I found it on a German website. Thanks to Google Translate 😅. The issue is in the "basic image" but you can only delete it when you delete everything from jlesage and then installing it again. It then install the new "basic image".

truecharts-admin commented 1 month ago

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists