Open sadmam opened 1 year ago
How did you created the container, or what are the container settings ?
I used:
docker run -d --name=jdownloader2 \ -p 3129:3129 \ -p 5800:5800 \ -p 5900:5900 \ -e TZ=Europe/Lisbon \ -v /volume1/Docker/jdownload2/config:/config:rw \ -v /volume1/Docker/jdownload2/output:/output:rw \ --restart always \ jlesage/jdownloader-2
Looks like the content of the container is wrong. app.dep
is a file from the Docker image that doesn't have execute permission. In you case, the file seems that have it...
Did you try the delete the container and image and re-create them ?
Yap... i tried also a couple of params from the documentation... changed some values but the result is the same... as i said on an ubuntu VM it woked "out of the box"...
How do you create the container on the Asustor ?
It has docker running on it... so i just use the cmd I posted above... I have other containers running fine on the Asustor... to do a GUI management I use portainer... thats it
Ok, could you provide the output of:
docker inspect <container name>
[ { "Id": "c44d03cdef95203563e9a6a348e0367bfc99bb4b678f2defd9f5697dcdd22820", "Created": "2023-01-06T21:54:09.230849537Z", "Path": "/init", "Args": [], "State": { "Status": "restarting", "Running": true, "Paused": false, "Restarting": true, "OOMKilled": false, "Dead": false, "Pid": 0, "ExitCode": 1, "Error": "", "StartedAt": "2023-01-06T21:54:42.438177425Z", "FinishedAt": "2023-01-06T21:54:43.180534637Z" }, "Image": "sha256:717805b0e624b5e8db46749770984db77e52f175a34903f387f6fed3915f55f0", "ResolvConfPath": "/volume1/.@plugins/AppCentral/docker-ce/docker_lib/containers/c44d03cdef95203563e9a6a348e0367bfc99bb4b678f2defd9f5697dcdd22820/resolv.conf", "HostnamePath": "/volume1/.@plugins/AppCentral/docker-ce/docker_lib/containers/c44d03cdef95203563e9a6a348e0367bfc99bb4b678f2defd9f5697dcdd22820/hostname", "HostsPath": "/volume1/.@plugins/AppCentral/docker-ce/docker_lib/containers/c44d03cdef95203563e9a6a348e0367bfc99bb4b678f2defd9f5697dcdd22820/hosts", "LogPath": "/volume1/.@plugins/AppCentral/docker-ce/docker_lib/containers/c44d03cdef95203563e9a6a348e0367bfc99bb4b678f2defd9f5697dcdd22820/c44d03cdef95203563e9a6a348e0367bfc99bb4b678f2defd9f5697dcdd22820-json.log", "Name": "/jdownloader2", "RestartCount": 5, "Driver": "btrfs", "Platform": "linux", "MountLabel": "", "ProcessLabel": "", "AppArmorProfile": "", "ExecIDs": null, "HostConfig": { "Binds": [ "/volume1/Docker/jdownload2/config:/config:rw", "/volume1/Docker/jdownload2/output:/output:rw" ], "ContainerIDFile": "", "LogConfig": { "Type": "json-file", "Config": {} }, "NetworkMode": "default", "PortBindings": { "3129/tcp": [ { "HostIp": "", "HostPort": "3129" } ], "5800/tcp": [ { "HostIp": "", "HostPort": "5800" } ], "5900/tcp": [ { "HostIp": "", "HostPort": "5900" } ] }, "RestartPolicy": { "Name": "always", "MaximumRetryCount": 0 }, "AutoRemove": false, "VolumeDriver": "", "VolumesFrom": null, "CapAdd": null, "CapDrop": null, "CgroupnsMode": "host", "Dns": [], "DnsOptions": [], "DnsSearch": [], "ExtraHosts": null, "GroupAdd": null, "IpcMode": "private", "Cgroup": "", "Links": null, "OomScoreAdj": 0, "PidMode": "", "Privileged": false, "PublishAllPorts": false, "ReadonlyRootfs": false, "SecurityOpt": null, "UTSMode": "", "UsernsMode": "", "ShmSize": 67108864, "Runtime": "runc", "ConsoleSize": [ 0, 0 ], "Isolation": "", "CpuShares": 0, "Memory": 0, "NanoCpus": 0, "CgroupParent": "", "BlkioWeight": 0, "BlkioWeightDevice": [], "BlkioDeviceReadBps": null, "BlkioDeviceWriteBps": null, "BlkioDeviceReadIOps": null, "BlkioDeviceWriteIOps": null, "CpuPeriod": 0, "CpuQuota": 0, "CpuRealtimePeriod": 0, "CpuRealtimeRuntime": 0, "CpusetCpus": "", "CpusetMems": "", "Devices": [], "DeviceCgroupRules": null, "DeviceRequests": null, "KernelMemory": 0, "KernelMemoryTCP": 0, "MemoryReservation": 0, "MemorySwap": 0, "MemorySwappiness": null, "OomKillDisable": false, "PidsLimit": null, "Ulimits": null, "CpuCount": 0, "CpuPercent": 0, "IOMaximumIOps": 0, "IOMaximumBandwidth": 0, "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" ], "ReadonlyPaths": [ "/proc/bus", "/proc/fs", "/proc/irq", "/proc/sys", "/proc/sysrq-trigger" ] }, "GraphDriver": { "Data": null, "Name": "btrfs" }, "Mounts": [ { "Type": "bind", "Source": "/volume1/Docker/jdownload2/config", "Destination": "/config", "Mode": "rw", "RW": true, "Propagation": "rprivate" }, { "Type": "bind", "Source": "/volume1/Docker/jdownload2/output", "Destination": "/output", "Mode": "rw", "RW": true, "Propagation": "rprivate" } ], "Config": { "Hostname": "c44d03cdef95", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "ExposedPorts": { "3129/tcp": {}, "5800/tcp": {}, "5900/tcp": {} }, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "PUID=1000", "PGID=100", "GROUP_ID=100", "TZ=Europe/Lisbon", "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", "SUP_GROUP_IDS=", "UMASK=0022", "LANG=en_US.UTF-8", "KEEP_APP_RUNNING=0", "APP_NICENESS=0", "INSTALL_PACKAGES=", "CONTAINER_DEBUG=0", "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" ], "Cmd": [ "/init" ], "Image": "jlesage/jdownloader-2", "Volumes": { "/config": {}, "/output": {} }, "WorkingDir": "/tmp", "Entrypoint": null, "OnBuild": null, "Labels": { "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": "22.12.1" } }, "NetworkSettings": { "Bridge": "", "SandboxID": "61676b47c90dacc2e8a20722ea00ba34e8c4335ca4979f264e2a81060ea16bcc", "HairpinMode": false, "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "Ports": {}, "SandboxKey": "/var/run/docker/netns/61676b47c90d", "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null, "EndpointID": "", "Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "MacAddress": "", "Networks": { "bridge": { "IPAMConfig": null, "Links": null, "Aliases": null, "NetworkID": "2b53d3131b3299bd11a0b4342a3d773faaaaa114e962f429d3b626c4b0a153e3", "EndpointID": "", "Gateway": "", "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "MacAddress": "", "DriverOpts": null } } }
Sure, thanks for your help!
Could you provide the output of:
docker run --rm jlesage/jdownloader-2 ls -l /etc/services.d/default
here you go: `total 0 -rw-r--r-- 1 root root 0 Nov 27 02:11 app.dep
-rw-r--r-- 1 root root 0 Nov 27 02:11 logmonitor.dep`
Could you do another test by running the following commands ?
echo '#!/bin/sh' > /tmp/test.sh
echo 'ls -l /etc/services.d/*/' >> /tmp/test.sh
chmod +x /tmp/test.sh
docker run --rm -v /tmp/test.sh:/etc/cont-init.d/88-test.sh jlesage/jdownloader-2
Please then share the output.
Can you try the latest image to see if it's better ?
Hello there,
I'm trying to use you container on a asustor AS3102T v2, i'm able to run other containers fine, also i have tried to run on a ubuntu VM and it did work fine... but every time i try to run it on the NAS it fails to start... I don't have a lot to go on.
Can you guys help out? bellow the log:
I have tried different versions... the error is always the same... I have also changed the debug to 1, the info is the same... am I missing something?