• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Official jellyfin on truens scale

     
    • 0 Vote(s) - 0 Average

    Official jellyfin on truens scale

    IllSkillz
    Offline

    Junior Member

    Posts: 11
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    Country:Russia
    #1
    2023-10-05, 11:49 AM
    Im trying to setup jellyfin from a docker hub and not from truenas apps. The reason for it is that I need to use an unique ip for my jellyfin server. Jellyfin is failing to start with an error:
    Error: failed to start container "ix-chart": Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy' nvidia-container-cli: initialization error: nvml error: driver not loaded: unknown
    It seems that it's trying to load nvidia drivers but there's basically no gpu in the system. Is there a way to disable gpu support in that jellyfin version? Or is there any other workaround?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-10-05, 01:32 PM
    What does your docker config look like? It shouldn't be trying to load nvidia runtimes unless told to do so.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    IllSkillz
    Offline

    Junior Member

    Posts: 11
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    Country:Russia
    #3
    2023-10-05, 02:14 PM
    gpu setting in truenas container creation gui is blanked
    Code:
    [
        {
            "Id": "413dd028e9c078f2129edc1fd15f4e910a09873a370a06ed64f079b3e52434ef",
            "Created": "2023-10-05T20:10:52.447920147Z",
            "Path": "/pause",
            "Args": [],
            "State": {
                "Status": "running",
                "Running": true,
                "Paused": false,
                "Restarting": false,
                "OOMKilled": false,
                "Dead": false,
                "Pid": 1975293,
                "ExitCode": 0,
                "Error": "",
                "StartedAt": "2023-10-05T20:10:53.038963982Z",
                "FinishedAt": "0001-01-01T00:00:00Z"
            },
            "Image": "sha256:6270bb605e12e581514ada5fd5b3216f727db55dc87d5889c790e4c760683fee",
            "ResolvConfPath": "/mnt/TheVault/ix-applications/docker/containers/413dd028e9c078f2129edc1fd15f4e910a09873a370a06ed64f079b3e52434ef/resolv.conf",
            "HostnamePath": "/mnt/TheVault/ix-applications/docker/containers/413dd028e9c078f2129edc1fd15f4e910a09873a370a06ed64f079b3e52434ef/hostname",
            "HostsPath": "/mnt/TheVault/ix-applications/docker/containers/413dd028e9c078f2129edc1fd15f4e910a09873a370a06ed64f079b3e52434ef/hosts",
            "LogPath": "/mnt/TheVault/ix-applications/docker/containers/413dd028e9c078f2129edc1fd15f4e910a09873a370a06ed64f079b3e52434ef/413dd028e9c078f2129edc1fd15f4e910a09873a370a06ed64f079b3e52434ef-json.log",
            "Name": "/k8s_POD_jellyfin-ix-chart-996cb9d5-hmhtp_ix-jellyfin_4a4352e8-dd90-4113-a683-572060807f17_0",
            "RestartCount": 0,
            "Driver": "overlay2",
            "Platform": "linux",
            "MountLabel": "",
            "ProcessLabel": "",
            "AppArmorProfile": "docker-default",
            "ExecIDs": null,
            "HostConfig": {
                "Binds": null,
                "ContainerIDFile": "",
                "LogConfig": {
                    "Type": "json-file",
                    "Config": {}
                },
                "NetworkMode": "none",
                "PortBindings": {},
                "RestartPolicy": {
                    "Name": "",
                    "MaximumRetryCount": 0
                },
                "AutoRemove": false,
                "VolumeDriver": "",
                "VolumesFrom": null,
                "CapAdd": null,
                "CapDrop": null,
                "CgroupnsMode": "private",
                "Dns": null,
                "DnsOptions": null,
                "DnsSearch": null,
                "ExtraHosts": null,
                "GroupAdd": null,
                "IpcMode": "shareable",
                "Cgroup": "",
                "Links": null,
                "OomScoreAdj": -998,
                "PidMode": "",
                "Privileged": false,
                "PublishAllPorts": false,
                "ReadonlyRootfs": false,
                "SecurityOpt": [
                    "no-new-privileges"
                ],
                "UTSMode": "",
                "UsernsMode": "",
                "ShmSize": 67108864,
                "Runtime": "nvidia",
                "ConsoleSize": [
                    0,
                    0
                ],
                "Isolation": "",
                "CpuShares": 2,
                "Memory": 0,
                "NanoCpus": 0,
                "CgroupParent": "/kubepods/besteffort/pod4a4352e8-dd90-4113-a683-572060807f17",
                "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,
                "KernelMemory": 0,
                "KernelMemoryTCP": 0,
                "MemoryReservation": 0,
                "MemorySwap": 0,
                "MemorySwappiness": null,
                "OomKillDisable": null,
                "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": {
                    "LowerDir": "/mnt/TheVault/ix-applications/docker/overlay2/665b48e38a45f07f7e97d6d2efedb98ea1817f0bdcc30077074b12ff64d85adb-init/diff:/mnt/TheVault/ix-applications/docker/overlay2/84425322223ea0cd2a2f208778fcfca675833cea5e981f0a61706e91f5696c3e/diff",
                    "MergedDir": "/mnt/TheVault/ix-applications/docker/overlay2/665b48e38a45f07f7e97d6d2efedb98ea1817f0bdcc30077074b12ff64d85adb/merged",
                    "UpperDir": "/mnt/TheVault/ix-applications/docker/overlay2/665b48e38a45f07f7e97d6d2efedb98ea1817f0bdcc30077074b12ff64d85adb/diff",
                    "WorkDir": "/mnt/TheVault/ix-applications/docker/overlay2/665b48e38a45f07f7e97d6d2efedb98ea1817f0bdcc30077074b12ff64d85adb/work"
                },
                "Name": "overlay2"
            },
            "Mounts": [],
            "Config": {
                "Hostname": "jellyfin-ix-chart-996cb9d5-hmhtp",
                "Domainname": "",
                "User": "65535:65535",
                "AttachStdin": false,
                "AttachStdout": false,
                "AttachStderr": false,
                "Tty": false,
                "OpenStdin": false,
                "StdinOnce": false,
                "Env": [
                    "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
                ],
                "Cmd": null,
                "Image": "rancher/mirrored-pause:3.6",
                "Volumes": null,
                "WorkingDir": "/",
                "Entrypoint": [
                    "/pause"
                ],
                "OnBuild": null,
                "Labels": {
                    "annotation.kubernetes.io/config.seen": "2023-10-05T23:10:52.097035803+03:00",
                    "annotation.kubernetes.io/config.source": "api",
                    "annotation.rollme": "46nEK",
                    "app.kubernetes.io/instance": "jellyfin",
                    "app.kubernetes.io/name": "ix-chart",
                    "io.kubernetes.container.name": "POD",
                    "io.kubernetes.docker.type": "podsandbox",
                    "io.kubernetes.pod.name": "jellyfin-ix-chart-996cb9d5-hmhtp",
                    "io.kubernetes.pod.namespace": "ix-jellyfin",
                    "io.kubernetes.pod.uid": "4a4352e8-dd90-4113-a683-572060807f17",
                    "pod-template-hash": "996cb9d5"
                }
            },
            "NetworkSettings": {
                "Bridge": "",
                "SandboxID": "8c6766a1413101bebd0348a727641f89db77f54e7ebc2d489612ed4435f6e543",
                "HairpinMode": false,
                "LinkLocalIPv6Address": "",
                "LinkLocalIPv6PrefixLen": 0,
                "Ports": {},
                "SandboxKey": "/var/run/docker/netns/8c6766a14131",
                "SecondaryIPAddresses": null,
                "SecondaryIPv6Addresses": null,
                "EndpointID": "",
                "Gateway": "",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "IPAddress": "",
                "IPPrefixLen": 0,
                "IPv6Gateway": "",
                "MacAddress": "",
                "Networks": {
                    "none": {
                        "IPAMConfig": null,
                        "Links": null,
                        "Aliases": null,
                        "NetworkID": "27cda3f08803d22009bd5d3ba6d2c9f886a394d2789302ed209303e808c52cac",
                        "EndpointID": "1a18721efbd2400e475b66e6edf0e33857a3a46193381686124cc09c281c7237",
                        "Gateway": "",
                        "IPAddress": "",
                        "IPPrefixLen": 0,
                        "IPv6Gateway": "",
                        "GlobalIPv6Address": "",
                        "GlobalIPv6PrefixLen": 0,
                        "MacAddress": "",
                        "DriverOpts": null
                    }
                }
            }
        }
    ]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-10-05, 03:27 PM
    Code:
    "UTSMode": "",
                "UsernsMode": "",
                "ShmSize": 67108864,
                "Runtime": "nvidia",

    Looks like your config is telling it to load Nvidia runtimes.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    IllSkillz
    Offline

    Junior Member

    Posts: 11
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    Country:Russia
    #5
    2023-10-05, 04:04 PM
    is it possible to change Runtime parameter in truenas scale docker? I have tried setting env vars NVIDIA_VISIBLE_DEVICES and NVIDIA_DRIVER_CAPABILITIES to 0, I also disabled gpu support in kubernetes Settings, that doesn't helped
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2023-10-05, 04:08 PM (This post was last modified: 2023-10-05, 04:17 PM by TheDreadPirate. Edited 1 time in total.)
    I don't use TrueNAS and a much smaller percent of people here use it. It may be better, and quicker, to ask that kind of question on a TrueNAS forum or subreddit since your problem is rooted in configuring TrueNAS. Not Jellyfin, specifically. This way you are not waiting for one of the few TrueNAS users here to maybe see your post.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    IllSkillz
    Offline

    Junior Member

    Posts: 11
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    Country:Russia
    #7
    2023-10-05, 04:13 PM
    got it. Thanks
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode