jlesage / docker-video-duplicate-finder

Docker container for Video Duplicate Finder
MIT License
44 stars 1 forks source link

Unable to start #1

Closed dsrtusr88 closed 1 year ago

dsrtusr88 commented 1 year ago

Unable to start. It was hanging on the SUP_GROUP_IDS with just "" and I deleted "" to match with how I have your firefox container set up. Not sure what's tripping it up now though.

2023-02-05T14:25:30.792822848Z [cont-env    ] QT_STYLE_OVERRIDE: executing...

2023-02-05T14:25:30.800654967Z [cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.

2023-02-05T14:25:30.801320072Z [cont-env    ] QT_STYLE_OVERRIDE: loading...

2023-02-05T14:25:30.804514474Z [cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...

2023-02-05T14:25:30.825616801Z [cont-env    ] XDG_CACHE_HOME: loading...

2023-02-05T14:25:30.827615177Z [cont-env    ] XDG_CONFIG_HOME: loading...

2023-02-05T14:25:30.858707017Z [cont-env    ] XDG_DATA_HOME: loading...

2023-02-05T14:25:30.867441467Z [cont-env    ] XDG_RUNTIME_DIR: loading...

2023-02-05T14:25:30.876789873Z [cont-env    ] XDG_STATE_HOME: loading...

2023-02-05T14:25:31.124029717Z [cont-env    ] container environment variables initialized.

2023-02-05T14:25:31.124131079Z [cont-secrets] loading container secrets...

2023-02-05T14:25:31.124343813Z [cont-secrets] container secrets loaded.

2023-02-05T14:25:31.124426860Z [cont-init   ] executing container initialization scripts...

2023-02-05T14:25:31.126114774Z [cont-init   ] 10-certs.sh: executing...

2023-02-05T14:25:31.132016572Z [cont-init   ] 10-certs.sh: terminated successfully.

2023-02-05T14:25:31.135003299Z [cont-init   ] 10-check-app-niceness.sh: executing...

2023-02-05T14:25:31.217300766Z [cont-init   ] 10-check-app-niceness.sh: terminated successfully.

2023-02-05T14:25:31.218061631Z [cont-init   ] 10-cjk-font.sh: executing...

2023-02-05T14:25:31.261619112Z [cont-init   ] 10-cjk-font.sh: terminated successfully.

2023-02-05T14:25:31.270667440Z [cont-init   ] 10-clean-logmonitor-states.sh: executing...

2023-02-05T14:25:31.388625997Z [cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.

2023-02-05T14:25:31.389328009Z [cont-init   ] 10-clean-tmp-dir.sh: executing...

2023-02-05T14:25:31.393066075Z [cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.

2023-02-05T14:25:31.393722900Z [cont-init   ] 10-init-users.sh: executing...

2023-02-05T14:25:32.194763492Z [cont-init   ] 10-init-users.sh: terminated successfully.

2023-02-05T14:25:32.198346594Z [cont-init   ] 10-nginx.sh: executing...

2023-02-05T14:25:32.496418090Z [cont-init   ] 10-nginx.sh: terminated successfully.

2023-02-05T14:25:32.500857526Z [cont-init   ] 10-openbox.sh: executing...

2023-02-05T14:25:32.794139703Z [cont-init   ] 10-openbox.sh: terminated successfully.

2023-02-05T14:25:32.799844980Z [cont-init   ] 10-set-tmp-dir-perms.sh: executing...

2023-02-05T14:25:32.942197968Z [cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.

2023-02-05T14:25:32.946091489Z [cont-init   ] 10-vnc-password.sh: executing...

2023-02-05T14:25:33.048803592Z [cont-init   ] 10-vnc-password.sh: terminated successfully.

2023-02-05T14:25:33.049818058Z [cont-init   ] 10-web-data.sh: executing...

2023-02-05T14:25:33.147768824Z [cont-init   ] 10-web-data.sh: terminated successfully.

2023-02-05T14:25:33.148511417Z [cont-init   ] 10-x11-unix.sh: executing...

2023-02-05T14:25:33.169035326Z [cont-init   ] 10-x11-unix.sh: terminated successfully.

2023-02-05T14:25:33.170901722Z [cont-init   ] 10-xdg-runtime-dir.sh: executing...

2023-02-05T14:25:33.187541046Z [cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.

2023-02-05T14:25:33.189449725Z [cont-init   ] 15-install-pkgs.sh: executing...

2023-02-05T14:25:33.285219109Z [cont-init   ] 15-install-pkgs.sh: terminated successfully.

2023-02-05T14:25:33.288007828Z [cont-init   ] 55-vdf.sh: executing...

2023-02-05T14:25:33.659944779Z [cont-init   ] 55-vdf.sh: terminated successfully.

2023-02-05T14:25:33.660665023Z [cont-init   ] 85-take-config-ownership.sh: executing...

2023-02-05T14:25:33.684961772Z [cont-init   ] 85-take-config-ownership.sh: terminated successfully.

2023-02-05T14:25:33.685466670Z [cont-init   ] 89-info.sh: executing...

2023-02-05T14:25:33.699313328Z     ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮

2023-02-05T14:25:33.700174321Z     │                                                                      │

2023-02-05T14:25:33.700682094Z     │ Application:           Video Duplicate Finder                        │

2023-02-05T14:25:33.703022279Z     │ Application Version:   3.0.x-da266f8                                 │

2023-02-05T14:25:33.705684529Z     │ Docker Image Version:  23.02.1                                       │

2023-02-05T14:25:33.708150856Z     │ Docker Image Platform: linux/amd64                                   │

2023-02-05T14:25:33.710233974Z     │                                                                      │

2023-02-05T14:25:33.714735152Z     ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯

2023-02-05T14:25:33.716520280Z [cont-init   ] 89-info.sh: terminated successfully.

2023-02-05T14:25:33.716742362Z [cont-init   ] all container initialization scripts executed.

2023-02-05T14:25:33.719194595Z [init        ] giving control to process supervisor.

2023-02-05T14:25:33.854081241Z [supervisor  ] loading services...

2023-02-05T14:25:33.854100423Z [supervisor  ] loading service 'default'...

2023-02-05T14:25:33.854245725Z [supervisor  ] loading service 'app'...

2023-02-05T14:25:34.146371809Z [supervisor  ] loading service 'gui'...

2023-02-05T14:25:34.146573892Z [supervisor  ] loading service 'certsmonitor'...

2023-02-05T14:25:34.152976107Z [supervisor  ] service 'certsmonitor' is disabled.

2023-02-05T14:25:34.152993158Z [supervisor  ] loading service 'nginx'...

2023-02-05T14:25:34.153697639Z [supervisor  ] loading service 'xvnc'...

2023-02-05T14:25:34.167736413Z [supervisor  ] loading service 'openbox'...

2023-02-05T14:25:34.169557416Z [supervisor  ] loading service 'logmonitor'...

2023-02-05T14:25:34.267619783Z [supervisor  ] service 'logmonitor' is disabled.

2023-02-05T14:25:34.267638423Z [supervisor  ] loading service 'logrotate'...

2023-02-05T14:25:34.428622555Z [supervisor  ] all services loaded.

2023-02-05T14:25:34.428649776Z [supervisor  ] starting services...

2023-02-05T14:25:34.428652832Z [supervisor  ] starting service 'xvnc'...

2023-02-05T14:25:34.544938107Z [xvnc        ] Xvnc TigerVNC 1.12.0 - built Feb  4 2023 15:29:15

2023-02-05T14:25:34.544956528Z [xvnc        ] Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst)

2023-02-05T14:25:34.545013122Z [xvnc        ] See https://www.tigervnc.org for information on TigerVNC.

2023-02-05T14:25:34.545055064Z [xvnc        ] Underlying X server release 12013000, The X.Org Foundation

2023-02-05T14:25:34.545092721Z [xvnc        ] Sun Feb  5 14:25:34 2023

2023-02-05T14:25:34.545129592Z [xvnc        ]  vncext:      VNC extension running!

2023-02-05T14:25:34.545165313Z [xvnc        ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)

2023-02-05T14:25:34.545197826Z [xvnc        ]  vncext:      Listening for VNC connections on all interface(s), port 5900

2023-02-05T14:25:34.545232917Z [xvnc        ]  vncext:      created VNC server for screen 0

2023-02-05T14:25:34.967087407Z [supervisor  ] starting service 'nginx'...

2023-02-05T14:25:34.969322672Z [nginx       ] Listening for HTTP connections on port 5800.

2023-02-05T14:25:35.470211215Z [supervisor  ] starting service 'openbox'...

2023-02-05T14:25:35.802519339Z [openbox     ] Fontconfig error: No writable cache directories

2023-02-05T14:25:36.223494470Z [supervisor  ] starting service 'app'...

2023-02-05T14:25:37.224230792Z [supervisor  ] all services started.

2023-02-05T14:25:38.225389467Z [supervisor  ] service 'app' exited (got signal SIGSEGV).

2023-02-05T14:25:38.225431921Z [supervisor  ] service 'app' exited, shutting down...

2023-02-05T14:25:38.225465027Z [supervisor  ] stopping service 'openbox'...

2023-02-05T14:25:38.275724208Z [supervisor  ] service 'openbox' exited (with status 0).

2023-02-05T14:25:38.476186411Z [supervisor  ] stopping service 'nginx'...

2023-02-05T14:25:38.526474332Z [supervisor  ] service 'nginx' exited (with status 0).

2023-02-05T14:25:38.728830999Z [supervisor  ] stopping service 'xvnc'...

2023-02-05T14:25:38.729196244Z [xvnc        ] Sun Feb  5 14:25:38 2023

2023-02-05T14:25:38.729240662Z [xvnc        ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out

2023-02-05T14:25:38.729246082Z [xvnc        ]  ComparingUpdateTracker: (1:-nan ratio)

2023-02-05T14:25:38.779218711Z [supervisor  ] service 'xvnc' exited (with status 0).

2023-02-05T14:25:38.782131864Z [finish      ] executing container finish scripts...

2023-02-05T14:25:38.785879123Z [finish      ] all container finish scripts executed.
jlesage commented 1 year ago

Are you using a Synology NAS ?

dsrtusr88 commented 1 year ago

@jlesage no, QNAP. initial set up was on container station, have since recreated using portainer and getting the same result

jlesage commented 1 year ago

Ok, I know that Synology has trouble with environment variables without value.

So for QNAP, are you saying that it configured by default the SUP_GROUP_IDS variable with the value "" ?

dsrtusr88 commented 1 year ago

This was the log when I had SUP__GROUP_IDS set to ""

`[init        ] container is starting...

[cont-env    ] loading container environment variables...

[cont-env    ] APP_NAME: loading...

[cont-env    ] APP_VERSION: loading...

[cont-env    ] DISPLAY: executing...

[cont-env    ] DISPLAY: terminated successfully.

[cont-env    ] DISPLAY: loading...

[cont-env    ] DOCKER_IMAGE_PLATFORM: loading...

[cont-env    ] DOCKER_IMAGE_VERSION: loading...

[cont-env    ] GTK_THEME: executing...

[cont-env    ] GTK_THEME: terminated successfully.

[cont-env    ] GTK_THEME: loading...

[cont-env    ] HOME: loading...

[cont-env    ] QT_STYLE_OVERRIDE: executing...

[cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.

[cont-env    ] QT_STYLE_OVERRIDE: loading...

[cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...

[cont-env    ] XDG_CACHE_HOME: loading...

[cont-env    ] XDG_CONFIG_HOME: loading...

[cont-env    ] XDG_DATA_HOME: loading...

[cont-env    ] XDG_RUNTIME_DIR: loading...

[cont-env    ] XDG_STATE_HOME: loading...

[cont-env    ] container environment variables initialized.

[cont-secrets] loading container secrets...

[cont-secrets] container secrets loaded.

[cont-init   ] executing container initialization scripts...

[cont-init   ] 10-certs.sh: executing...

[cont-init   ] 10-certs.sh: terminated successfully.

[cont-init   ] 10-check-app-niceness.sh: executing...

[cont-init   ] 10-check-app-niceness.sh: terminated successfully.

[cont-init   ] 10-cjk-font.sh: executing...

[cont-init   ] 10-cjk-font.sh: terminated successfully.

[cont-init   ] 10-clean-logmonitor-states.sh: executing...

[cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.

[cont-init   ] 10-clean-tmp-dir.sh: executing...

[cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.

[cont-init   ] 10-init-users.sh: executing...

[cont-init   ] 10-init-users.sh: ERROR: SUP_GROUP_IDS contains invalid groupd ID '""'.

[cont-init   ] 10-init-users.sh: terminated with error 1.

`

dsrtusr88 commented 1 year ago

my first log dump is when I set SUP_GROUP_IDS to no-value which is how it is set up in firefox (Which works fine)

jlesage commented 1 year ago

Could you provide the output of docker inspect <container name> in this situation ? That would be useful for me.

jlesage commented 1 year ago

I deleted "" to match with how I have your firefox container set up

Do you mean that you only removed the value, or the environment variable itself ?

dsrtusr88 commented 1 year ago
[~] # docker inspect video-duplicate-finder-1
[
    {
        "Id": "469658d77d7f98066c76bed13f2b1df988c9010df7318a21da57c468575b1e02"                                                                                                                                                                                                                                                                                                             ,
        "Created": "2023-02-05T14:37:16.265218309Z",
        "Path": "/init",
        "Args": [],
        "State": {
            "Status": "exited",
            "Running": false,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 1,
            "Error": "",
            "StartedAt": "2023-02-05T14:37:21.010566968Z",
            "FinishedAt": "2023-02-05T14:37:23.390423167Z"
        },
        "Image": "sha256:e224938442e8147e2ead90c5319c7457bd66c8cd33535912b0f2932                                                                                                                                                                                                                                                                                                             81788f801",
        "ResolvConfPath": "/share/CACHEDEV1_DATA/Container/container-station-dat                                                                                                                                                                                                                                                                                                             a/lib/docker/containers/469658d77d7f98066c76bed13f2b1df988c9010df7318a21da57c468                                                                                                                                                                                                                                                                                                             575b1e02/resolv.conf",
        "HostnamePath": "/share/CACHEDEV1_DATA/Container/container-station-data/                                                                                                                                                                                                                                                                                                             lib/docker/containers/469658d77d7f98066c76bed13f2b1df988c9010df7318a21da57c46857                                                                                                                                                                                                                                                                                                             5b1e02/hostname",
        "HostsPath": "/share/CACHEDEV1_DATA/Container/container-station-data/lib                                                                                                                                                                                                                                                                                                             /docker/containers/469658d77d7f98066c76bed13f2b1df988c9010df7318a21da57c468575b1                                                                                                                                                                                                                                                                                                             e02/hosts",
        "LogPath": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/d                                                                                                                                                                                                                                                                                                             ocker/containers/469658d77d7f98066c76bed13f2b1df988c9010df7318a21da57c468575b1e0                                                                                                                                                                                                                                                                                                             2/469658d77d7f98066c76bed13f2b1df988c9010df7318a21da57c468575b1e02-json.log",
        "Name": "/video-duplicate-finder-1",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "vdf_config:/config",
                "/share/CACHEDEV1_DATA/.qpkg/NVIDIA_GPU_DRV/usr:/usr/local/nvidi                                                                                                                                                                                                                                                                                                             a",
                "/share/Media:/media",
                "/share/MediaVJBOD:/mediavjbod",
                "vdf_storage:/storage"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {
                    "max-file": "10",
                    "max-size": "10m"
                }
            },
            "NetworkMode": "bridge",
            "PortBindings": {
                "5800/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "32765"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": [],
            "CapAdd": [
                "AUDIT_WRITE",
                "CHOWN",
                "DAC_OVERRIDE",
                "FOWNER",
                "FSETID",
                "KILL",
                "MKNOD",
                "NET_BIND_SERVICE",
                "NET_RAW",
                "SETFCAP",
                "SETGID",
                "SETPCAP",
                "SETUID",
                "SYS_CHROOT"
            ],
            "CapDrop": [
                "AUDIT_CONTROL",
                "BLOCK_SUSPEND",
                "DAC_READ_SEARCH",
                "IPC_LOCK",
                "IPC_OWNER",
                "LEASE",
                "LINUX_IMMUTABLE",
                "MAC_ADMIN",
                "MAC_OVERRIDE",
                "NET_ADMIN",
                "NET_BROADCAST",
                "SYSLOG",
                "SYS_ADMIN",
                "SYS_BOOT",
                "SYS_MODULE",
                "SYS_NICE",
                "SYS_PACCT",
                "SYS_PTRACE",
                "SYS_RAWIO",
                "SYS_RESOURCE",
                "SYS_TIME",
                "SYS_TTY_CONFIG",
                "WAKE_ALARM"
            ],
            "CgroupnsMode": "host",
            "Dns": [],
            "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",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 100000,
            "CpuQuota": -1,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [
                {
                    "PathOnHost": "/dev/nvidia0",
                    "PathInContainer": "/dev/nvidia0",
                    "CgroupPermissions": "rwm"
                },
                {
                    "PathOnHost": "/dev/nvidiactl",
                    "PathInContainer": "/dev/nvidiactl",
                    "CgroupPermissions": "rwm"
                },
                {
                    "PathOnHost": "/dev/nvidia-uvm",
                    "PathInContainer": "/dev/nvidia-uvm",
                    "CgroupPermissions": "rwm"
                }
            ],
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "KernelMemory": 0,
            "KernelMemoryTCP": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": false,
            "PidsLimit": null,
            "Ulimits": [
                {
                    "Name": "nofile",
                    "Hard": 65535,
                    "Soft": 65535
                }
            ],
            "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": {
                "LowerDir": "/share/CACHEDEV1_DATA/Container/container-station-d                                                                                                                                                                                                                                                                                                             ata/lib/docker/overlay2/8b706638ebb7adb8cd6692cb2a7ff2f5d6e2afa594ea11e42a13376c                                                                                                                                                                                                                                                                                                             63984186-init/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/do                                                                                                                                                                                                                                                                                                             cker/overlay2/4e43dad319c2fd2b48ccf0b6a03de1032f1f2d71d6fa13c37337cce9f0110e35/d                                                                                                                                                                                                                                                                                                             iff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/e                                                                                                                                                                                                                                                                                                             037e34ffdb2ef2f04161dacdfecc908fe0050349847196352e8b9288ea355d8/diff:/share/CACH                                                                                                                                                                                                                                                                                                             EDEV1_DATA/Container/container-station-data/lib/docker/overlay2/616605328fcdf543                                                                                                                                                                                                                                                                                                             5573fcd2da0f0b3dfe195fa47d82134fd8f5dfeb7e2b5876/diff:/share/CACHEDEV1_DATA/Cont                                                                                                                                                                                                                                                                                                             ainer/container-station-data/lib/docker/overlay2/e3f26962391cfed95547b9268780419                                                                                                                                                                                                                                                                                                             d7dc91ae2d06f938b5d6edd7092d42c90/diff:/share/CACHEDEV1_DATA/Container/container                                                                                                                                                                                                                                                                                                             -station-data/lib/docker/overlay2/d62de51146070a8357be2acf27ddcb576de466acbd9a2d                                                                                                                                                                                                                                                                                                             3656855831fc9fc3ce/diff:/share/CACHEDEV1_DATA/Container/container-station-data/l                                                                                                                                                                                                                                                                                                             ib/docker/overlay2/0dcbfed8024d062258595f67093897f6a91e9dfa3067fb07f0202d78e63cf                                                                                                                                                                                                                                                                                                             6c2/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overl                                                                                                                                                                                                                                                                                                             ay2/8fba3bd4e2ca2f196e2cd34d95c0a47d1a039f7911beda300612b3347a7f27e4/diff:/share                                                                                                                                                                                                                                                                                                             /CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/f5d616f5c74                                                                                                                                                                                                                                                                                                             a71ff5461e7d8a9f3b017d7cbd05ed5a4436c839d50589bb96e57/diff:/share/CACHEDEV1_DATA                                                                                                                                                                                                                                                                                                             /Container/container-station-data/lib/docker/overlay2/15b8b33a2a2347a4ece840cd3f                                                                                                                                                                                                                                                                                                             bdaf47e3cab5051b857fc5236ef65f64d20666/diff:/share/CACHEDEV1_DATA/Container/cont                                                                                                                                                                                                                                                                                                             ainer-station-data/lib/docker/overlay2/8fd18bcdaab220288b09f44ae8bdcd9cbad2bccf1                                                                                                                                                                                                                                                                                                             3ae18194c07774cf13e4128/diff:/share/CACHEDEV1_DATA/Container/container-station-d                                                                                                                                                                                                                                                                                                             ata/lib/docker/overlay2/c0826cfd2d951aee77b0b61df80528132a11f426f424180758b2ba22                                                                                                                                                                                                                                                                                                             49d6893c/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/                                                                                                                                                                                                                                                                                                             overlay2/b3d37e7bef409be63c36a86370d61cbe681e29788db112b8d986c7dfde62424b/diff:/                                                                                                                                                                                                                                                                                                             share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/577064                                                                                                                                                                                                                                                                                                             cc8f1d981a98c13c3c6c184589bb62dbbdfc66480642cbacbc2f0a1214/diff:/share/CACHEDEV1                                                                                                                                                                                                                                                                                                             _DATA/Container/container-station-data/lib/docker/overlay2/e9f4840f37e52274fa185                                                                                                                                                                                                                                                                                                             334ebc18d82bcc7f2464baabe0652e145c2fcb3b4b2/diff:/share/CACHEDEV1_DATA/Container                                                                                                                                                                                                                                                                                                             /container-station-data/lib/docker/overlay2/b0af45d9d438fbd32743667954e0aec8d5ba                                                                                                                                                                                                                                                                                                             467d97242a264be8293c1f44f57e/diff:/share/CACHEDEV1_DATA/Container/container-stat                                                                                                                                                                                                                                                                                                             ion-data/lib/docker/overlay2/5f5227a14ecddb5834bbe13fd5fc36c85379705081673b25948                                                                                                                                                                                                                                                                                                             52b8f87caac35/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/do                                                                                                                                                                                                                                                                                                             cker/overlay2/04b7972e77371fa5b79bf740c20e0c5dfa3ce6dd4857e138cdaf67a3c1133aa1/d                                                                                                                                                                                                                                                                                                             iff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/8                                                                                                                                                                                                                                                                                                             d561049c2cb799e53eab661ec38700e9a70aa61dadbf558313c48b06e245229/diff:/share/CACH                                                                                                                                                                                                                                                                                                             EDEV1_DATA/Container/container-station-data/lib/docker/overlay2/5951e5f5e74de814                                                                                                                                                                                                                                                                                                             19a20f3d4ff07c8fcf02a7dda5fbb6970051b9bb991d37a0/diff:/share/CACHEDEV1_DATA/Cont                                                                                                                                                                                                                                                                                                             ainer/container-station-data/lib/docker/overlay2/2c6d8b03944bd25031968e30504a720                                                                                                                                                                                                                                                                                                             ab01c5c5c427a0a7bf1762598fd96445e/diff:/share/CACHEDEV1_DATA/Container/container                                                                                                                                                                                                                                                                                                             -station-data/lib/docker/overlay2/1d3bc1207c45f41d2720a33569f4b71fe83068aa40b46a                                                                                                                                                                                                                                                                                                             39c5feffa99085eec8/diff:/share/CACHEDEV1_DATA/Container/container-station-data/l                                                                                                                                                                                                                                                                                                             ib/docker/overlay2/b2e4ea0df862e938cd777a5f671cbd430d68da4288895cb60455296cae1a2                                                                                                                                                                                                                                                                                                             dcf/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overl                                                                                                                                                                                                                                                                                                             ay2/4c8df32a8ffd4e2c3af6f0f04f7fc601d08e5c1328fa5399af5fd8a6f7e5f895/diff:/share                                                                                                                                                                                                                                                                                                             /CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/ce7e95f59c5                                                                                                                                                                                                                                                                                                             c575a305bcfdecf2ed4d33f7562b6f7db1e75b068ef4fdfb581f3/diff:/share/CACHEDEV1_DATA                                                                                                                                                                                                                                                                                                             /Container/container-station-data/lib/docker/overlay2/e20d00fefd0f2f222fdc8fcf8a                                                                                                                                                                                                                                                                                                             c6f1b2343b52216bc281ede8561c0352e64c67/diff:/share/CACHEDEV1_DATA/Container/cont                                                                                                                                                                                                                                                                                                             ainer-station-data/lib/docker/overlay2/c7e28a8b3eb6f3e29bf9ff0277bfec89d6752faff                                                                                                                                                                                                                                                                                                             f11080f95596836a4995561/diff:/share/CACHEDEV1_DATA/Container/container-station-d                                                                                                                                                                                                                                                                                                             ata/lib/docker/overlay2/72473ee60dc74bfddaf0b01234c7f88030acaf5fbafd1e227661f0ed                                                                                                                                                                                                                                                                                                             bf564e2e/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/                                                                                                                                                                                                                                                                                                             overlay2/5b0db0c3ee71088c76c96a7b94521384753a6c871641470d73360443eb6107cd/diff:/                                                                                                                                                                                                                                                                                                             share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/20f81e                                                                                                                                                                                                                                                                                                             5ac02e706cbca4dcd8dd88b44c12c5550df30718b580ac8b5fa8ee166b/diff:/share/CACHEDEV1                                                                                                                                                                                                                                                                                                             _DATA/Container/container-station-data/lib/docker/overlay2/9c7f39a5b40c0f8c91b7c                                                                                                                                                                                                                                                                                                             bf5ee140e8ee1bfa4804adc735af0798301963af690/diff:/share/CACHEDEV1_DATA/Container                                                                                                                                                                                                                                                                                                             /container-station-data/lib/docker/overlay2/c74452e42bba99c74c4572549c28b8b0cee9                                                                                                                                                                                                                                                                                                             4330d235e9a98ff46984c200b29a/diff:/share/CACHEDEV1_DATA/Container/container-stat                                                                                                                                                                                                                                                                                                             ion-data/lib/docker/overlay2/65711a1e41d310db8c6e87db59ed14f0d489e3877bd7b968da3                                                                                                                                                                                                                                                                                                             0a2761bcb21cd/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/do                                                                                                                                                                                                                                                                                                             cker/overlay2/00f6007aa177b261d4fc8faef6271143fe38725bf834b49d8aa2868c54c59418/d                                                                                                                                                                                                                                                                                                             iff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/4                                                                                                                                                                                                                                                                                                             0bee2fbf6c62f79c11cad55dc787b624d1913d9a7aa07928c594441b7ab1c52/diff",
                "MergedDir": "/share/CACHEDEV1_DATA/Container/container-station-                                                                                                                                                                                                                                                                                                             data/lib/docker/overlay2/8b706638ebb7adb8cd6692cb2a7ff2f5d6e2afa594ea11e42a13376                                                                                                                                                                                                                                                                                                             c63984186/merged",
                "UpperDir": "/share/CACHEDEV1_DATA/Container/container-station-d                                                                                                                                                                                                                                                                                                             ata/lib/docker/overlay2/8b706638ebb7adb8cd6692cb2a7ff2f5d6e2afa594ea11e42a13376c                                                                                                                                                                                                                                                                                                             63984186/diff",
                "WorkDir": "/share/CACHEDEV1_DATA/Container/container-station-da                                                                                                                                                                                                                                                                                                             ta/lib/docker/overlay2/8b706638ebb7adb8cd6692cb2a7ff2f5d6e2afa594ea11e42a13376c6                                                                                                                                                                                                                                                                                                             3984186/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "bind",
                "Source": "/share/Media",
                "Destination": "/media",
                "Mode": "",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/share/MediaVJBOD",
                "Destination": "/mediavjbod",
                "Mode": "",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "volume",
                "Name": "vdf_storage",
                "Source": "/share/CACHEDEV1_DATA/Container/container-station-dat                                                                                                                                                                                                                                                                                                             a/lib/docker/volumes/vdf_storage/_data",
                "Destination": "/storage",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "volume",
                "Name": "vdf_config",
                "Source": "/share/CACHEDEV1_DATA/Container/container-station-dat                                                                                                                                                                                                                                                                                                             a/lib/docker/volumes/vdf_config/_data",
                "Destination": "/config",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "bind",
                "Source": "/share/CACHEDEV1_DATA/.qpkg/NVIDIA_GPU_DRV/usr",
                "Destination": "/usr/local/nvidia",
                "Mode": "",
                "RW": true,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "03e20661e921",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "5800/tcp": {},
                "5900/tcp": {}
            },
            "Tty": true,
            "OpenStdin": true,
            "StdinOnce": false,
            "Env": [
                "APP_NICENESS=0",
                "CONTAINER_DEBUG=0",
                "DARK_MODE=0",
                "DISPLAY_HEIGHT=1080",
                "DISPLAY_WIDTH=1920",
                "ENABLE_CJK_FONT=0",
                "ENV=/root/.docker_rc",
                "KEEP_APP_RUNNING=0",
                "LANG=en_US.UTF-8",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/b                                                                                                                                                                                                                                                                                                             in:/opt/base/sbin:/opt/base/bin",
                "SECURE_CONNECTION=0",
                "SECURE_CONNECTION_CERTS_CHECK_INTERVAL=60",
                "SECURE_CONNECTION_VNC_METHOD=SSL",
                "SUP_GROUP_IDS=\"\"",
                "TZ=Etc/UTC",
                "UMASK=0022",
                "WEB_LISTENING_PORT=5800",
                "LD_LIBRARY_PATH=/usr/lib:/usr/local/nvidia/lib:/usr/local/nvidi                                                                                                                                                                                                                                                                                                             a/lib64",
                "LIBVA_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri",
                "NVIDIA_DRIVER_CAPABILITIES=compute,video,utility",
                "INSTALL_PACKAGES=",
                "VNC_LISTENING_PORT=5900",
                "VNC_PASSWORD=",
                "USER_ID=1000",
                "GROUP_ID=1000"
            ],
            "Cmd": [
                "/init"
            ],
            "Image": "jlesage/video-duplicate-finder:latest",
            "Volumes": {
                "/config": {},
                "/media": {},
                "/mediavjbod": {},
                "/storage": {},
                "/usr/local/nvidia": {}
            },
            "WorkingDir": "/tmp",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {
                "com.qnap.qcs.gpu": "True",
                "com.qnap.qcs.network.mode": "nat",
                "org.label-schema.description": "Docker container for Video Dupl                                                                                                                                                                                                                                                                                                             icate Finder",
                "org.label-schema.name": "video-duplicate-finder",
                "org.label-schema.schema-version": "1.0",
                "org.label-schema.vcs-url": "https://github.com/jlesage/docker-v                                                                                                                                                                                                                                                                                                             ideo-duplicate-finder",
                "org.label-schema.version": "23.02.1"
            }
        },
        "NetworkSettings": {
            "Bridge": "lxcbr0",
            "SandboxID": "f8110032bb3b4afe707231ebdd2c2d4a86e1e6d3352ddb7c11cec6                                                                                                                                                                                                                                                                                                             7c8944a0db",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {},
            "SandboxKey": "/var/run/docker/netns/f8110032bb3b",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "bridge": {
                    "IPAMConfig": {},
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "b27f83049eea5d786fcfcecf53cb8a8723e2695f7a6880                                                                                                                                                                                                                                                                                                             e99d517c6835960189",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "",
                    "DriverOpts": null
                }
            }
        }
    }
]
dsrtusr88 commented 1 year ago

I deleted "" to match with how I have your firefox container set up

Do you mean that you only removed the value, or the environment variable itself ?

just removed the value

jlesage commented 1 year ago

And this value was automatically set by the container station ?

dsrtusr88 commented 1 year ago

And this value was automatically set by the container station ?

@jlesage Container Station wouldn't let me deploy with a 'null' value, portainer does though. the env config between this and firefox is identical where they have shared variables

jlesage commented 1 year ago

Ok I see. But it didn't complain about INSTALL_PACKAGES and VNC_PASSWORD, which are also variables without value?

dsrtusr88 commented 1 year ago

Ok I see. But it didn't complain about INSTALL_PACKAGES and VNC_PASSWORD, which are also variables without value?

i deleted those

jlesage commented 1 year ago

This is basically the same problem as Synology: they force environment variable to have a value. I don't know why it's like this, because it's perfectly legal to have a variable set to an empty value. In some cases, it can even be necessary!

i deleted those

This is the way to go. In fact people should keep only variables that are needed. If you don't change the default value of a variable, it means that you can remove it.

dsrtusr88 commented 1 year ago

@jlesage configuring in portainer is my new default. unfortunately I'm still using qnap's container station to deploy GPU resources until portainer fixes their bug for deploying a gpu resource. but in this case, container station or portainer (just a docker cli gui) deployment yields the same result.

jlesage commented 1 year ago

container station or portainer (just a docker cli gui) deployment yields the same result.

The difference is that portainer let you have a variables with an empty value, but not container station. So I guess a first deployment with portainer have better chance to succeed (if you don't remove variables)?

dsrtusr88 commented 1 year ago

@jlesage correct, the first log dump at the very top is my deployment on portainer without those variables in play. No clue where the error is that is shutting it down

jlesage commented 1 year ago

Ah sorry, I thought the whole issue was about the SUP_GROUP_IDS variable. Sorry, didn't realized that in your first log dump the application was crashing.

Can you try to disable the GPU ressource ? I see that this sets the LD_LIBRARY_PATH, which might cause issue if some directories are missing (it's value seems truncated in the output you provided).

dsrtusr88 commented 1 year ago

okay, I deleted the LD_LIBRARY_PATH variable and it booted just fine, will test and see if I'm able to use hw acceleration with cuda

jlesage commented 1 year ago

I can tell it will probably won't work, since Nvidia doesn't support Alpine Linux and their libraries are not open source.

dsrtusr88 commented 1 year ago

okay, this resolved my issue. if there's a way to support hw accel in the future with gpu options that would be desired as through duplicate finding on large libraries is a sapper on resources

jlesage commented 1 year ago

Yes, I'm always keeping an eye on this, since other containers I created would also benefit from GPU acceleration.