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] Container stops after running for 10 seconds #227

Closed
NutchapolSal opened this issue Sep 30, 2024 · 8 comments
Closed

[Bug] Container stops after running for 10 seconds #227

NutchapolSal opened this issue Sep 30, 2024 · 8 comments
Labels

Comments

@NutchapolSal
Copy link

Current Behavior

Accessing the container from browser shows a black screen for a while before disconnecting. Looking in the logs, the JDownloader app seems to do nothing and stop itself, causing the container to stop.

Expected Behavior

JDownloader works

Steps To Reproduce

unknown

Environment

  • OS: Debian
  • OS version: 12 (bookworm)
  • CPU: x86-64
  • Docker version: 26.0.0
  • Device model: PC
  • Browser/OS: Browser (Brave, Windows 11, reverse proxy)

Container creation

docker-compose.yaml

services:
  jdownloader-2:
    image: jlesage/jdownloader-2
    environment:
      CONTAINER_DEBUG: 1
    ports:
      - "1128:5800" # this is for a reverse proxy
    volumes:
      - config:/config
      - output:/output


volumes:
  config:
    driver: local
    driver_opts:
      type: nfs
      o: addr=192.168.1.xxx
      device: :/xxx/xxx/config
  output:
    driver: local
    driver_opts:
      type: nfs
      o: addr=192.168.1.xxx
      device: :/xxx/xxx/downloads

Container log

$ docker compose up
[+] Running 2/2
 ✔ Network jdownloader_default            Created                                                                                                                                                                                       0.1s
 ✔ Container jdownloader-jdownloader-2-1  Created                                                                                                                                                                                       0.1s
Attaching to jdownloader-2-1
jdownloader-2-1  | [init        ] container is starting...
jdownloader-2-1  | [cont-env    ] loading container environment variables...
jdownloader-2-1  | [cont-env    ] APP_NAME: loading...
jdownloader-2-1  | [cont-env    ] DISPLAY: executing...
jdownloader-2-1  | [cont-env    ] DISPLAY: terminated successfully.
jdownloader-2-1  | [cont-env    ] DISPLAY: loading...
jdownloader-2-1  | [cont-env    ] DOCKER_IMAGE_PLATFORM: loading...
jdownloader-2-1  | [cont-env    ] DOCKER_IMAGE_VERSION: loading...
jdownloader-2-1  | [cont-env    ] EGL_LOG_LEVEL: executing...
jdownloader-2-1  | [cont-env    ] EGL_LOG_LEVEL: terminated successfully.
jdownloader-2-1  | [cont-env    ] EGL_LOG_LEVEL: loading...
jdownloader-2-1  | [cont-env    ] GSK_RENDERER: executing...
jdownloader-2-1  | [cont-env    ] GSK_RENDERER: terminated successfully.
jdownloader-2-1  | [cont-env    ] GSK_RENDERER: loading...
jdownloader-2-1  | [cont-env    ] GTK2_RC_FILES: executing...
jdownloader-2-1  | [cont-env    ] GTK2_RC_FILES: terminated successfully.
jdownloader-2-1  | [cont-env    ] GTK2_RC_FILES: not setting variable.
jdownloader-2-1  | [cont-env    ] GTK_THEME: executing...
jdownloader-2-1  | [cont-env    ] GTK_THEME: terminated successfully.
jdownloader-2-1  | [cont-env    ] GTK_THEME: not setting variable.
jdownloader-2-1  | [cont-env    ] HOME: loading...
jdownloader-2-1  | [cont-env    ] INSTALL_PACKAGES_INTERNAL: executing...
jdownloader-2-1  | [cont-env    ] INSTALL_PACKAGES_INTERNAL: terminated successfully.
jdownloader-2-1  | [cont-env    ] INSTALL_PACKAGES_INTERNAL: not setting variable.
jdownloader-2-1  | [cont-env    ] LIBGL_DRIVERS_PATH: executing...
jdownloader-2-1  | [cont-env    ] LIBGL_DRIVERS_PATH: terminated successfully.
jdownloader-2-1  | [cont-env    ] LIBGL_DRIVERS_PATH: loading...
jdownloader-2-1  | [cont-env    ] PULSE_CONFIG_PATH: executing...
jdownloader-2-1  | [cont-env    ] PULSE_CONFIG_PATH: terminated successfully.
jdownloader-2-1  | [cont-env    ] PULSE_CONFIG_PATH: not setting variable.
jdownloader-2-1  | [cont-env    ] PULSE_COOKIE: executing...
jdownloader-2-1  | [cont-env    ] PULSE_COOKIE: terminated successfully.
jdownloader-2-1  | [cont-env    ] PULSE_COOKIE: not setting variable.
jdownloader-2-1  | [cont-env    ] PULSE_SERVER: executing...
jdownloader-2-1  | [cont-env    ] PULSE_SERVER: terminated successfully.
jdownloader-2-1  | [cont-env    ] PULSE_SERVER: not setting variable.
jdownloader-2-1  | [cont-env    ] QT_STYLE_OVERRIDE: executing...
jdownloader-2-1  | [cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
jdownloader-2-1  | [cont-env    ] QT_STYLE_OVERRIDE: not setting variable.
jdownloader-2-1  | [cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
jdownloader-2-1  | [cont-env    ] XDG_CACHE_HOME: loading...
jdownloader-2-1  | [cont-env    ] XDG_CONFIG_HOME: loading...
jdownloader-2-1  | [cont-env    ] XDG_DATA_HOME: loading...
jdownloader-2-1  | [cont-env    ] XDG_RUNTIME_DIR: loading...
jdownloader-2-1  | [cont-env    ] XDG_STATE_HOME: loading...
jdownloader-2-1  | [cont-env    ] container environment variables initialized.
jdownloader-2-1  | [cont-secrets] loading container secrets...
jdownloader-2-1  | [cont-secrets] container secrets loaded.
jdownloader-2-1  | [cont-init   ] executing container initialization scripts...
jdownloader-2-1  | [cont-init   ] 10-certs.sh: executing...
jdownloader-2-1  | [cont-init   ] 10-certs.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 10-check-app-niceness.sh: executing...
jdownloader-2-1  | [cont-init   ] 10-check-app-niceness.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 10-clean-logmonitor-states.sh: executing...
jdownloader-2-1  | [cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 10-clean-tmp-dir.sh: executing...
jdownloader-2-1  | [cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 10-fontconfig-cache-dir.sh: executing...
jdownloader-2-1  | [cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 10-init-users.sh: executing...
jdownloader-2-1  | [cont-init   ] 10-init-users.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 10-nginx.sh: executing...
jdownloader-2-1  | [cont-init   ] 10-nginx.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 10-openbox.sh: executing...
jdownloader-2-1  | [cont-init   ] 10-openbox.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 10-pkgs-mirror.sh: executing...
jdownloader-2-1  | [cont-init   ] 10-pkgs-mirror.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 10-pulse.sh: executing...
jdownloader-2-1  | [cont-init   ] 10-pulse.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 10-set-tmp-dir-perms.sh: executing...
jdownloader-2-1  | [cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 10-vnc-password.sh: executing...
jdownloader-2-1  | [cont-init   ] 10-vnc-password.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 10-web-data.sh: executing...
jdownloader-2-1  | [cont-init   ] 10-web-data.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 10-webauth.sh: executing...
jdownloader-2-1  | [cont-init   ] 10-webauth.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 10-x11-unix.sh: executing...
jdownloader-2-1  | [cont-init   ] 10-x11-unix.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 10-xdg-runtime-dir.sh: executing...
jdownloader-2-1  | [cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 15-cjk-font.sh: executing...
jdownloader-2-1  | [cont-init   ] 15-cjk-font.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 15-install-pkgs.sh: executing...
jdownloader-2-1  | [cont-init   ] 15-install-pkgs.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 55-jdownloader2.sh: executing...
jdownloader-2-1  | [cont-init   ] 55-jdownloader2.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 85-take-config-ownership.sh: executing...
jdownloader-2-1  | [cont-init   ] 85-take-config-ownership.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] 89-info.sh: executing...
jdownloader-2-1  |     ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
jdownloader-2-1  |     │                                                                      │
jdownloader-2-1  |     │ Application:           JDownloader 2                                 │
jdownloader-2-1  |     │ Application Version:   n/a                                           │
jdownloader-2-1  |     │ Docker Image Version:  24.09.1                                       │
jdownloader-2-1  |     │ Docker Image Platform: linux/amd64                                   │
jdownloader-2-1  |     │                                                                      │
jdownloader-2-1  |     ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
jdownloader-2-1  | [cont-init   ] 89-info.sh: terminated successfully.
jdownloader-2-1  | [cont-init   ] all container initialization scripts executed.
jdownloader-2-1  | [init        ] giving control to process supervisor.
jdownloader-2-1  | [supervisor  ] loading services...
jdownloader-2-1  | [supervisor  ] loading service 'default'...
jdownloader-2-1  | [supervisor  ] loading service 'logrotate'...
jdownloader-2-1  | [supervisor  ] loading service 'logmonitor'...
jdownloader-2-1  | [supervisor  ] service 'logmonitor' is disabled.
jdownloader-2-1  | [supervisor  ] loading service 'app'...
jdownloader-2-1  | [supervisor  ] loading service 'gui'...
jdownloader-2-1  | [supervisor  ] loading service 'pulseaudio'...
jdownloader-2-1  | [supervisor  ] service 'pulseaudio' is disabled.
jdownloader-2-1  | [supervisor  ] loading service 'xcompmgr'...
jdownloader-2-1  | [supervisor  ] loading service 'openbox'...
jdownloader-2-1  | [supervisor  ] loading service 'xvnc'...
jdownloader-2-1  | [supervisor  ] loading service 'audiorecorder'...
jdownloader-2-1  | [supervisor  ] service 'audiorecorder' is disabled.
jdownloader-2-1  | [supervisor  ] loading service 'nginx'...
jdownloader-2-1  | [supervisor  ] loading service 'webauth'...
jdownloader-2-1  | [supervisor  ] service 'webauth' is disabled.
jdownloader-2-1  | [supervisor  ] loading service 'certsmonitor'...
jdownloader-2-1  | [supervisor  ] service 'certsmonitor' is disabled.
jdownloader-2-1  | [supervisor  ] all services loaded.
jdownloader-2-1  | [supervisor  ] starting services...
jdownloader-2-1  | [supervisor  ] starting service 'logrotate'...
jdownloader-2-1  | [supervisor  ] started service 'logrotate'.
jdownloader-2-1  | [supervisor  ] starting service 'xvnc'...
jdownloader-2-1  | [supervisor  ] started service 'xvnc'.
jdownloader-2-1  | [logrotate   ] reading config file /opt/base/etc/logrotate.conf
jdownloader-2-1  | [logrotate   ] including /etc/cont-logrotate.d
jdownloader-2-1  | [logrotate   ] reading config file nginx
jdownloader-2-1  | [logrotate   ] acquired lock on state file /config/xdg/state/logrotate/logrotate.status
jdownloader-2-1  | [logrotate   ] Reading state from file: /config/xdg/state/logrotate/logrotate.status
jdownloader-2-1  | [logrotate   ] Allocating hash table for state file, size 64 entries
jdownloader-2-1  | [logrotate   ] Creating new state
jdownloader-2-1  | [logrotate   ] Creating new state
jdownloader-2-1  | [logrotate   ] Handling 1 logs
jdownloader-2-1  | [logrotate   ] rotating pattern: /config/log/nginx/access.log /config/log/nginx/error.log  monthly (6 rotations)
jdownloader-2-1  | [logrotate   ] empty log files are not rotated, old logs are removed
jdownloader-2-1  | [logrotate   ] considering log /config/log/nginx/access.log
jdownloader-2-1  | [logrotate   ]   Now: 2024-09-30 09:23
jdownloader-2-1  | [logrotate   ]   Last rotated at 2024-09-01 09:50
jdownloader-2-1  | [logrotate   ]   log does not need rotating (log has been rotated at 2024-09-01 09:50, which is less than a month ago)
jdownloader-2-1  | [logrotate   ] considering log /config/log/nginx/error.log
jdownloader-2-1  | [logrotate   ]   Now: 2024-09-30 09:23
jdownloader-2-1  | [logrotate   ]   Last rotated at 2024-08-27 14:00
jdownloader-2-1  | [logrotate   ]   log does not need rotating (log is empty)
jdownloader-2-1  | [logrotate   ] not running postrotate script, since no logs were rotated
jdownloader-2-1  | [xvnc        ] Mon Sep 30 09:23:08 2024
jdownloader-2-1  | [xvnc        ]  Config:      set rfbport(Int) to 5900
jdownloader-2-1  | [xvnc        ]  Config:      set UseIPv6(Bool) to yes(1)
jdownloader-2-1  | [xvnc        ]  Config:      set rfbunixpath(String) to /tmp/vnc.sock
jdownloader-2-1  | [xvnc        ]  Config:      set rfbunixmode(Int) to 0660
jdownloader-2-1  | [xvnc        ]  Config:      set SecurityTypes(String) to None
jdownloader-2-1  | [xvnc        ]  Config:      set desktop(String) to JDownloader 2
jdownloader-2-1  | [xvnc        ] Xvnc TigerVNC 1.13.1 - built Aug 31 2024 13:06:50
jdownloader-2-1  | [xvnc        ] Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)
jdownloader-2-1  | [xvnc        ] See https://www.tigervnc.org for information on TigerVNC.
jdownloader-2-1  | [xvnc        ] Underlying X server release 12014000
jdownloader-2-1  | [xvnc        ]  vncext:      VNC extension running!
jdownloader-2-1  | [xvnc        ]  Config:      set immutable AllowOverride
jdownloader-2-1  | [xvnc        ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
jdownloader-2-1  | [xvnc        ]  vncext:      Listening for VNC connections on all interface(s), port 5900
jdownloader-2-1  | [xvnc        ]  VNCServerST: creating single-threaded server JDownloader 2
jdownloader-2-1  | [xvnc        ]  vncext:      created VNC server for screen 0
jdownloader-2-1  | [supervisor  ] waiting for service 'xvnc' to be ready...
jdownloader-2-1  | [supervisor  ] starting service 'openbox'...
jdownloader-2-1  | [supervisor  ] started service 'openbox'.
jdownloader-2-1  | [xvnc        ] Mon Sep 30 09:23:09 2024
jdownloader-2-1  | [xvnc        ]  Selection:   Selection owner change for WM_S0
jdownloader-2-1  | [supervisor  ] waiting for service 'openbox' to be ready...
jdownloader-2-1  | [supervisor  ] starting service 'xcompmgr'...
jdownloader-2-1  | [supervisor  ] started service 'xcompmgr'.
jdownloader-2-1  | [xvnc        ]  Selection:   Selection owner change for _NET_WM_CM_S0
jdownloader-2-1  | [supervisor  ] starting service 'nginx'...
jdownloader-2-1  | [supervisor  ] started service 'nginx'.
jdownloader-2-1  | [nginx       ] Listening for HTTP connections on port 5800.
jdownloader-2-1  | [supervisor  ] waiting for service 'nginx' to be ready...
jdownloader-2-1  | [nginx       ] ./is_ready: Connection to 127.0.0.1 5800 port [tcp/*] succeeded!
jdownloader-2-1  | [supervisor  ] starting service 'app'...
jdownloader-2-1  | [supervisor  ] started service 'app'.
jdownloader-2-1  | [app         ] starting JDownloader2...
jdownloader-2-1  | [app         ] JDownloader2 exited, checking if it is restarting...
jdownloader-2-1  | [supervisor  ] all services started.
jdownloader-2-1  | [supervisor  ] service 'logrotate' exited (with status 0).
jdownloader-2-1  | [supervisor  ] waiting termination of logger thread of service 'logrotate'...
jdownloader-2-1  | [supervisor  ] logger thread of service 'logrotate' successfully terminated.
jdownloader-2-1  | [app         ] JDownloader2 not restarting, exiting...
jdownloader-2-1  | [supervisor  ] service 'app' exited (with status 0).
jdownloader-2-1  | [supervisor  ] waiting termination of logger thread of service 'app'...
jdownloader-2-1  | [supervisor  ] logger thread of service 'app' successfully terminated.
jdownloader-2-1  | [supervisor  ] service 'app' exited, shutting down...
jdownloader-2-1  | [supervisor  ] stopping service 'nginx'...
jdownloader-2-1  | [supervisor  ] service 'nginx' exited (with status 0).
jdownloader-2-1  | [supervisor  ] waiting termination of logger thread of service 'nginx'...
jdownloader-2-1  | [supervisor  ] logger thread of service 'nginx' successfully terminated.
jdownloader-2-1  | [supervisor  ] stopping service 'xcompmgr'...
jdownloader-2-1  | [supervisor  ] service 'xcompmgr' exited (got signal SIGTERM).
jdownloader-2-1  | [supervisor  ] waiting termination of logger thread of service 'xcompmgr'...
jdownloader-2-1  | [supervisor  ] logger thread of service 'xcompmgr' successfully terminated.
jdownloader-2-1  | [supervisor  ] stopping service 'openbox'...
jdownloader-2-1  | [supervisor  ] service 'openbox' exited (with status 0).
jdownloader-2-1  | [supervisor  ] waiting termination of logger thread of service 'openbox'...
jdownloader-2-1  | [supervisor  ] logger thread of service 'openbox' successfully terminated.
jdownloader-2-1  | [supervisor  ] stopping service 'xvnc'...
jdownloader-2-1  | [xvnc        ] Mon Sep 30 09:23:22 2024
jdownloader-2-1  | [xvnc        ]  VNCServerST: shutting down server JDownloader 2
jdownloader-2-1  | [xvnc        ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
jdownloader-2-1  | [xvnc        ]  ComparingUpdateTracker: (1:-nan ratio)
jdownloader-2-1  | [supervisor  ] service 'xvnc' exited (with status 0).
jdownloader-2-1  | [supervisor  ] waiting termination of logger thread of service 'xvnc'...
jdownloader-2-1  | [supervisor  ] logger thread of service 'xvnc' successfully terminated.
jdownloader-2-1  | [finish      ] executing container finish scripts...
jdownloader-2-1  | [finish      ] all container finish scripts executed.
jdownloader-2-1 exited with code 0

Container inspect

# this was ran after the container has stopped
$ docker inspect jdownloader-jdownloader-2-1
[
    {
        "Id": "7a0fb3cac2d6bdf0aaf4566182fcc5e12b4e3e532d65beb8aa8c3bbccf6027f4",
        "Created": "2024-09-30T09:22:57.479490731Z",
        "Path": "/init",
        "Args": [],
        "State": {
            "Status": "exited",
            "Running": false,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2024-09-30T09:22:58.006864598Z",
            "FinishedAt": "2024-09-30T09:23:22.820118122Z"
        },
        "Image": "sha256:e58375eb19550f75ee947b08e09db835b84be55337bfe8d7af9bc29c1d5eb17d",
        "ResolvConfPath": "/var/lib/docker/containers/7a0fb3cac2d6bdf0aaf4566182fcc5e12b4e3e532d65beb8aa8c3bbccf6027f4/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/7a0fb3cac2d6bdf0aaf4566182fcc5e12b4e3e532d65beb8aa8c3bbccf6027f4/hostname",
        "HostsPath": "/var/lib/docker/containers/7a0fb3cac2d6bdf0aaf4566182fcc5e12b4e3e532d65beb8aa8c3bbccf6027f4/hosts",
        "LogPath": "/var/lib/docker/containers/7a0fb3cac2d6bdf0aaf4566182fcc5e12b4e3e532d65beb8aa8c3bbccf6027f4/7a0fb3cac2d6bdf0aaf4566182fcc5e12b4e3e532d65beb8aa8c3bbccf6027f4-json.log",
        "Name": "/jdownloader-jdownloader-2-1",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "docker-default",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": null,
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "jdownloader_default",
            "PortBindings": {
                "5800/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "1128"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "ConsoleSize": [
                0,
                0
            ],
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "private",
            "Dns": null,
            "DnsOptions": null,
            "DnsSearch": null,
            "ExtraHosts": [],
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": null,
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": null,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "Mounts": [
                {
                    "Type": "volume",
                    "Source": "jdownloader_config",
                    "Target": "/config",
                    "VolumeOptions": {}
                },
                {
                    "Type": "volume",
                    "Source": "jdownloader_output",
                    "Target": "/output",
                    "VolumeOptions": {}
                }
            ],
            "MaskedPaths": [
                "/proc/asound",
                "/proc/acpi",
                "/proc/kcore",
                "/proc/keys",
                "/proc/latency_stats",
                "/proc/timer_list",
                "/proc/timer_stats",
                "/proc/sched_debug",
                "/proc/scsi",
                "/sys/firmware",
                "/sys/devices/virtual/powercap"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ]
        },
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/f66b9a5471fc13b5390126c180bf4e679644428874167aaa1f0510263b0417ed-init/diff:/var/lib/docker/overlay2/e718c1d12b8029eb5ae7c9993f04b3cd5e07ac910fb25675b7263d0021af63fe/diff:/var/lib/docker/overlay2/3a4c1198192ba8f311f8246bec536399a7b13811df979c98bddbf77fa57ad370/diff:/var/lib/docker/overlay2/aa18aa8df2a4b8707a6019d360ff91df6e6c5b4961cda9b08a27ad7e534963c9/diff:/var/lib/docker/overlay2/84b67b9d64783c4ce5e3ab76a2bc68fcdcf764d421dc521e7c1a039ffe94049d/diff:/var/lib/docker/overlay2/a88cbbb07e958e39ecfa9ca436c082cec4dc039fe3070a3130336f4f6c34cd4f/diff:/var/lib/docker/overlay2/afefd0e91f01e9ee05c8812a5369e4fbc7565e9a7e079f79f3cc382e9c860efa/diff:/var/lib/docker/overlay2/742e9964a9f46b1919506ad2bfb4f546eef5fc52dc1751ad547ff2cf07a0f40d/diff:/var/lib/docker/overlay2/189651e752292aeb58657c4c316e31248fb65198adbbe1ce183584bd33bad7b6/diff:/var/lib/docker/overlay2/e09aa09853104381dcbb2f0e810d257b7474d9022bf8ce179d5a1d3de8937e9e/diff:/var/lib/docker/overlay2/cbc05161f349679abccfdb5a72608c3957ffbd7a30389d131a822a74d4d258ed/diff:/var/lib/docker/overlay2/4bad25920d0fc879d77ff9f81eaae52488f6a65a51acdddb7296eb7eb2055e7f/diff:/var/lib/docker/overlay2/68e68460ebee7553066c4734b06b8b2fbada735ce1373284d719f1a4d887b05e/diff:/var/lib/docker/overlay2/4a90b7ecf77aa67a470350742cd2a47ab250f8d2fa682e47f033e475d6aa8a84/diff:/var/lib/docker/overlay2/15ca9f7b242e11c277c3c5f8066a22e88e176e6ca4a9fd469ec650cf26d07915/diff:/var/lib/docker/overlay2/f1e32eacd76f37fa4fbdeca19888af28d0c7b0e466330ce2d6316a21e73d966e/diff:/var/lib/docker/overlay2/7b724ffbe86f4d200962254c70e2b28d4bc49ec473437a6107d8acc164093752/diff:/var/lib/docker/overlay2/58902d0b25a86eaacc703f99a3c7cf1e2b9243ce83b3c4356602713ce28b184a/diff:/var/lib/docker/overlay2/0c46afea81b53e35b89def27fa53d65845df06209d8f7979ae378ed98fbc4f77/diff:/var/lib/docker/overlay2/62cb425f498225b873549a459893002c9fd906b1c999515ef083cbe63cee2639/diff:/var/lib/docker/overlay2/25f4c3ef708b529319797cbe6c4027add08ccf773f54c2809a3fee9e84f19cc2/diff:/var/lib/docker/overlay2/713dcf57b0fcce24e741282c12c0aabb5a20516a064971b2b6668f2cac18cbc3/diff:/var/lib/docker/overlay2/6ac3ed437b576bfc5e5519710ff77c73388598468c82e3bb8244ae58d9b8bff2/diff:/var/lib/docker/overlay2/2986ff064dad0b86babd1ed71e9ee0ba4768c5edcee3eadb911de0fdedf02e8d/diff:/var/lib/docker/overlay2/6c9ace1bcb1ce8852df03a8a236a5b149b0d6e0edcbe4409fa8052960cb459b9/diff:/var/lib/docker/overlay2/42ac839e3e5dc93fddf076e888458eb1bc3bd9f0c53057b91d2be181bfe995c5/diff:/var/lib/docker/overlay2/0f668172105ffbad3bc96d17fd89b70fd7ecb1be23830d6c901435159d484e47/diff:/var/lib/docker/overlay2/031055f154b6d716b8bce5fe98c637056e17ba3ed1256fd8c609274f8843818f/diff:/var/lib/docker/overlay2/6ede2fffaecfebd9b1616c90d808cf44faf46e8e91cc8b8a2ade1a4824bde646/diff:/var/lib/docker/overlay2/b1112cfdd3d6eca3a7d52ebd470376f4c844733230d4080b15e81a1065a5d46c/diff:/var/lib/docker/overlay2/dba538efd48e907ce0f510b15ff83ede7f6a5a8b162cf9002dbf8059ca6fa51d/diff:/var/lib/docker/overlay2/2b7d65a510d88be320b4dfd50c621cf272ecdd5cfea71b99aab4b6a77ef8a4b0/diff:/var/lib/docker/overlay2/09d8adc50509769e1857fb40f5e8d2f85e5390a2963d59f087dc00f65397369a/diff:/var/lib/docker/overlay2/ca148f5f6c3bc3a6616027174e9efc778ac26d309eb03cda4160cdf86dc814a8/diff:/var/lib/docker/overlay2/f871cd5a0cd59620d93381fca093ac19e1bc26e80432f05d925b69b14481bcfe/diff:/var/lib/docker/overlay2/be20cba720fe5964a0fc4b515869e34d838c7847be67feeee433aa9dfad444d5/diff:/var/lib/docker/overlay2/558be71e9af1cec4bf9311fb901f180dc1e5311aad7addd202ea77c7560fbbc5/diff:/var/lib/docker/overlay2/5b68c9f66ab3a98612c8878807dbba489493005b6d1a1cd509ddaeeeab2657ef/diff:/var/lib/docker/overlay2/a9d993ddcf9b3ca0c1c21d250b9aee98a63c3f71be12c86d795f172334b8baf6/diff:/var/lib/docker/overlay2/0a3dbae46dcbe9e68db4c5b9b42a14c25a01abb743467538a9efed4dc772c415/diff:/var/lib/docker/overlay2/d62e00a1096e62bd18efcd67963e69ecfc46fadc548639dd76e1a946874beb0d/diff:/var/lib/docker/overlay2/c6613d4c1a308558ad580d63e9b322516024cc0bd3967a3fb81affe7720efbf0/diff",
                "MergedDir": "/var/lib/docker/overlay2/f66b9a5471fc13b5390126c180bf4e679644428874167aaa1f0510263b0417ed/merged",
                "UpperDir": "/var/lib/docker/overlay2/f66b9a5471fc13b5390126c180bf4e679644428874167aaa1f0510263b0417ed/diff",
                "WorkDir": "/var/lib/docker/overlay2/f66b9a5471fc13b5390126c180bf4e679644428874167aaa1f0510263b0417ed/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "volume",
                "Name": "jdownloader_output",
                "Source": "/var/lib/docker/volumes/jdownloader_output/_data",
                "Destination": "/output",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "volume",
                "Name": "jdownloader_config",
                "Source": "/var/lib/docker/volumes/jdownloader_config/_data",
                "Destination": "/config",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            }
        ],
        "Config": {
            "Hostname": "7a0fb3cac2d6",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": true,
            "AttachStderr": true,
            "ExposedPorts": {
                "3129/tcp": {},
                "5800/tcp": {},
                "5900/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "CONTAINER_DEBUG=1",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/base/sbin:/opt/base/bin",
                "ENV=/root/.docker_rc",
                "USER_ID=1000",
                "GROUP_ID=1000",
                "SUP_GROUP_IDS=",
                "UMASK=0022",
                "LANG=en_US.UTF-8",
                "TZ=Etc/UTC",
                "KEEP_APP_RUNNING=0",
                "APP_NICENESS=0",
                "INSTALL_PACKAGES=",
                "PACKAGES_MIRROR=",
                "DISPLAY_WIDTH=1920",
                "DISPLAY_HEIGHT=1080",
                "DARK_MODE=0",
                "SECURE_CONNECTION=0",
                "SECURE_CONNECTION_VNC_METHOD=SSL",
                "SECURE_CONNECTION_CERTS_CHECK_INTERVAL=60",
                "WEB_LISTENING_PORT=5800",
                "VNC_LISTENING_PORT=5900",
                "VNC_PASSWORD=",
                "ENABLE_CJK_FONT=0",
                "WEB_AUDIO=0",
                "WEB_AUTHENTICATION=0",
                "WEB_AUTHENTICATION_DEFAULT_USERNAME=",
                "WEB_AUTHENTICATION_DEFAULT_PASSWORD=",
                "MYJDOWNLOADER_EMAIL=",
                "MYJDOWNLOADER_PASSWORD=",
                "MYJDOWNLOADER_DEVICE_NAME=",
                "JDOWNLOADER_HEADLESS=0",
                "JDOWNLOADER_MAX_MEM="
            ],
            "Cmd": [
                "/init"
            ],
            "Image": "jlesage/jdownloader-2",
            "Volumes": {
                "/config": {},
                "/output": {}
            },
            "WorkingDir": "/tmp",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {
                "com.docker.compose.config-hash": "4844976cce446b2ec7de20124462c074cabdc47c381879b3960c3afe9097ca7d",
                "com.docker.compose.container-number": "1",
                "com.docker.compose.depends_on": "",
                "com.docker.compose.image": "sha256:e58375eb19550f75ee947b08e09db835b84be55337bfe8d7af9bc29c1d5eb17d",
                "com.docker.compose.oneoff": "False",
                "com.docker.compose.project": "jdownloader",
                "com.docker.compose.project.config_files": "/home/nutch/dockercompose/jdownloader/docker-compose.yaml",
                "com.docker.compose.project.working_dir": "/home/nutch/dockercompose/jdownloader",
                "com.docker.compose.service": "jdownloader-2",
                "com.docker.compose.version": "2.25.0",
                "org.label-schema.description": "Docker container for JDownloader 2",
                "org.label-schema.name": "jdownloader-2",
                "org.label-schema.schema-version": "1.0",
                "org.label-schema.vcs-url": "https://github.com/jlesage/docker-jdownloader-2",
                "org.label-schema.version": "24.09.1"
            }
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "cdbfab6f3d7d7931a69288ddce7caf3aeaa2f0036649a7d9546caf22237c6ac1",
            "SandboxKey": "/var/run/docker/netns/cdbfab6f3d7d",
            "Ports": {},
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "jdownloader_default": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": [
                        "jdownloader-jdownloader-2-1",
                        "jdownloader-2"
                    ],
                    "MacAddress": "",
                    "NetworkID": "c13833747e597dde11f074d1259e3c5752c461ed075436ccb7a518f24f84395b",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "DriverOpts": null,
                    "DNSNames": [
                        "jdownloader-jdownloader-2-1",
                        "jdownloader-2",
                        "7a0fb3cac2d6"
                    ]
                }
            }
        }
    }
]

Anything else?

could be a configuration error?

@tbayart
Copy link

tbayart commented Oct 7, 2024

Hi @NutchapolSal
just solved a similar issue, jd2 not starting / crashing after upgrade

  1. Stop the container
  2. Delete the following files/folders in your [JD installation directory]:
  • Files: Core.jar, JDownloader.jar
  • Folders: tmp, update
  1. Start the container again

It will download Files again and process with the update
Source

let us know if this fixes your issue
also please note that this will not make you lose your settings as soon as you don't remove other files than mentioned

@gemini0x2
Copy link

@tbayart this worked, thanks!

@tbayart
Copy link

tbayart commented Oct 12, 2024

Great news
Can you please close this ticket as resolve ?

@NutchapolSal
Copy link
Author

Does not work for me.
Not sure what version the container was at but now at v24.09.1 still not working. Core.jar and update folder seems to not be downloaded/created also. I think I'm going to delete everything except cfg and see if that helps

@majindageta
Copy link

Great news Can you please close this ticket as resolve ?

this helped me too, but the issue seems to repeat every now and then.
This is the forth or fifth time that i need to download the jar files.

@tbayart
Copy link

tbayart commented Oct 14, 2024

Does not work for me.

My bad, i wasn't fully awake when I replied, I mitaken the ticket author, sorry
So the issue is still there for you

Did you only upgraded JD2 container with latest image
or did you upgrade something else at the same time ?

@jlesage
Copy link
Owner

jlesage commented Oct 15, 2024

FYI, this is also documented here: https://github.com/jlesage/docker-jdownloader-2?tab=readme-ov-file#jdownloader-fails-to-start

Also, if after the procedure JDownloader is still not able to start, please share a screenshot of the error shown by JD.

@NutchapolSal
Copy link
Author

NutchapolSal commented Oct 20, 2024

sorry, forgot to update but

I think I'm going to delete everything except cfg and see if that helps

did help

JDownloader is downloaded and the web UI shows a JDownloader window now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants