Trouble Accessing Jellyfin Web UI After Update on TrueNAS 13.0-U6.1

Hello TrueNAS Community,

I recently updated my Jellyfin instance, which is running in a jail on my TrueNAS system (version 13.0-U6.1). Since the update, I am unable to access the Jellyfin web UI. When I attempt to connect, I receive the following message:

Unable to connect

Firefox can’t establish a connection to the server at 192.168.1.115:8096.

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the web.

Additional Details:

Jellyfin version: 10.9.4
TrueNAS version: 13.0-U6.1
The jail configuration includes VNET enabled and IPv6 set to inherit.
Jellyfin service is running as per service jellyfin status, but it is not binding to port 8096 (verified via sockstat -l | grep jellyfin).

Troubleshooting Steps Taken:

Verified that the Jellyfin service is running.
Checked the log file /var/db/jellyfin/log/log_20240625.log for errors. Logs indicate Jellyfin is starting but not binding to the port.
Ensured that allow.mlock is enabled in the jail settings.
Reinstalled Jellyfin and checked for the necessary .NET dependencies.
Verified that VNET and network settings are properly configured in the TrueNAS GUI.
Attempted to start Jellyfin manually and monitored logs for additional errors.

Despite these efforts, Jellyfin still fails to bind to port 8096, and I am unable to access the web UI. I was working for a couple of years, updates are normally fine.

EDIT:
I dont even seem to be able to execute the jellyfin file but it exists. Very confused.

root@jellyfin:~ # /usr/local/jellyfin/jellyfin --version
Failed to create CoreCLR, HRESULT: 0x8007054F
root@jellyfin:~ # ls -l /usr/local/jellyfin/jellyfin
-r-xr-xr-x  1 root  wheel  64720 Jun  2 00:42 /usr/local/jellyfin/jellyfin

I would greatly appreciate any guidance or suggestions on how to resolve this issue. Thank you in advance for your help!

I think the 10.9.4 version is broken. Switch your jail branch to latest instead of quarterly and do a pkg upgrade to get to 10.9.6

Switching to latest repo is done by


mkdir -p /usr/local/etc/pkg/repos
echo 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }' > /usr/local/etc/pkg/repos/FreeBSD.conf

i did that but no luck. I dont see version 10.9.6 anyhow?

root@jellyfin:~ # echo 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }' > /usr/local/etc/pkg/repos/FreeBSD.conf
root@jellyfin:~ # cat /usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }
root@jellyfin:~ # pkg upgrade
Updating FreeBSD repository catalogue...
[jellyfin] Fetching meta.conf: 100%    178 B   0.2kB/s    00:01    
[jellyfin] Fetching data.pkg: 100%    7 MiB   7.8MB/s    00:01    
Processing entries: 100%
FreeBSD repository update completed. 37397 packages processed.
Updating iocage-plugins repository catalogue...
iocage-plugins repository is up to date.
All repositories are up to date.
Checking for upgrades (0 candidates): 100%
Processing candidates (0 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
root@jellyfin:~ # pkg update
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating iocage-plugins repository catalogue...
iocage-plugins repository is up to date.
All repositories are up to date.
root@jellyfin:~ # /usr/local/jellyfin/jellyfin --version
Failed to create CoreCLR, HRESULT: 0x8007054F

I reset the jail, still the same.

root@jellyfin:~ # freebsd-version ; uname -a
13.2-RELEASE-p11
FreeBSD jellyfin 13.1-RELEASE-p9 FreeBSD 13.1-RELEASE-p9 n245429-296d095698e TRUENAS amd64
root@jellyfin:~ # pkg info jellyfin
jellyfin-10.9.4
Name           : jellyfin
Version        : 10.9.4
Installed on   : Tue Jun 25 09:36:50 2024 BST
Origin         : multimedia/jellyfin
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : multimedia
Licenses       : GPLv2 and BSD3CLAUSE
Maintainer     : michiel@vanbaak.eu
WWW            : https://jellyfin.org/
Comment        : Jellyfin Server Component with WebUI
Shared Libs required:
        libunwind.so.8
        libunwind-x86_64.so.8
        libinotify.so.0
        libgssapi_krb5.so.2.2
Shared Libs provided:
        libmscordbi.so
        libmscordaccore.so
        libhostpolicy.so
        libhostfxr.so
        libcoreclr.so
        libclrjit.so
        libclrgc.so
        libSystem.Security.Cryptography.Native.OpenSsl.so
        libSystem.Net.Security.Native.so
        libSystem.Native.so
        libSystem.IO.Compression.Native.so
        libSystem.Globalization.Native.so
        libSkiaSharp.so
Annotations    :
        FreeBSD_version: 1302001
        build_timestamp: 2024-06-23T23:43:10+0000
        built_by       : poudriere-git-3.4.1-30-g79e3edcd
        port_checkout_unclean: no
        port_git_hash  : e0d2a696623
        ports_top_checkout_unclean: no
        ports_top_git_hash: 2517bfad2ac
        repo_type      : binary
        repository     : iocage-plugins
Flat size      : 188MiB
Description    :
Jellyfin is the volunteer-built media solution that
puts you in control of your media.
Stream to any device from your own server, with no strings attached.

Your media, your server, your way.
root@jellyfin:~ # 

did i do it wrong? i added the repo line in the jellyfin jail not the truenas ssh, i assume that was what you mean me to do.

Yes from the jail
Try

pkg upgrade -f

Its not listed in the upgrade list at all? so i stopped it.


New packages to be INSTALLED:
        abseil: 20230125.3 [FreeBSD]
        alsa-lib: 1.2.11 [FreeBSD]
        at-spi2-core: 2.52.0 [FreeBSD]
        avahi-app: 0.8_2 [FreeBSD]
        cairo: 1.17.4_2,3 [FreeBSD]
        compat10x-amd64: 10.4.1004000.20181014 [FreeBSD]
        cups: 2.4.10_1 [FreeBSD]
        cyrus-sasl: 2.1.28_4 [FreeBSD]
        dbus: 1.14.10_5,1 [FreeBSD]
        dbus-glib: 0.112_1 [FreeBSD]
        dotconf: 1.3_1 [FreeBSD]
        duktape-lib: 2.7.0 [FreeBSD]
        fftw3-float: 3.3.10_5 [FreeBSD]
        flac: 1.4.3_1,1 [FreeBSD]
        gdbm: 1.23 [FreeBSD]
        gnome_subr: 1.0 [FreeBSD]
        gstreamer1: 1.22.10 [FreeBSD]
        libICE: 1.1.1,1 [FreeBSD]
        libSM: 1.2.3_1,1 [FreeBSD]
        libXcomposite: 0.4.6_1,1 [FreeBSD]
        libXcursor: 1.2.2 [FreeBSD]
        libXdamage: 1.1.6 [FreeBSD]
        libXi: 1.8_1,1 [FreeBSD]
        libXinerama: 1.1.4_3,1 [FreeBSD]
        libXtst: 1.2.3_3 [FreeBSD]
        libXv: 1.0.12_1,1 [FreeBSD]
        libXxf86vm: 1.1.4_4 [FreeBSD]
        libdaemon: 0.14_1 [FreeBSD]
        libdatrie: 0.2.13_2 [FreeBSD]
        libepoxy: 1.5.9 [FreeBSD]
        libevent: 2.1.12 [FreeBSD]
        libfontenc: 1.1.8 [FreeBSD]
        libgcrypt: 1.10.3_1 [FreeBSD]
        libgpg-error: 1.49 [FreeBSD]
        libgudev: 237 [FreeBSD]
        libgusb: 0.3.10_1 [FreeBSD]
        libltdl: 2.4.7 [FreeBSD]
        libpaper: 1.1.28_1 [FreeBSD]
        libpci: 3.13.0 [FreeBSD]
        libsndfile: 1.2.2_1 [FreeBSD]
        libsoxr: 0.1.3_3 [FreeBSD]
        libsysinfo: 0.0.3_3 [FreeBSD]
        libthai: 0.1.29_1 [FreeBSD]
        libxcvt: 0.1.2_2 [FreeBSD]
        libxkbcommon: 1.7.0_1 [FreeBSD]
        libxkbfile: 1.1.3 [FreeBSD]
        libxshmfence: 1.3.2 [FreeBSD]
        libxslt: 1.1.37_1 [FreeBSD]
        lmdb: 0.9.33,1 [FreeBSD]
        lua53: 5.3.6_1 [FreeBSD]
        mesa-libs: 24.0.9 [FreeBSD]
        mozjpeg: 4.1.5 [FreeBSD]
        mpg123: 1.32.6 [FreeBSD]
        nspr: 4.35 [FreeBSD]
        nss: 3.100 [FreeBSD]
        openh264: 2.3.0,2 [FreeBSD]
        openldap26-client: 2.6.8 [FreeBSD]
        orc: 0.4.36 [FreeBSD]
        pcaudiolib: 1.2_1 [FreeBSD]
        pciids: 20240531 [FreeBSD]
        pixman: 0.42.2 [FreeBSD]
        sndio: 1.9.0 [FreeBSD]
        speexdsp: 1.2.1 [FreeBSD]
        svt-av1-psy: 2.1.0_1 [FreeBSD]
        tcl86: 8.6.14_2 [FreeBSD]
        webrtc-audio-processing0: 0.3.1_3 [FreeBSD]
        xkeyboard-config: 2.41_4 [FreeBSD]

Installed packages to be REINSTALLED:
        Imath-3.1.11 [iocage-plugins]
        aom-3.9.1 [iocage-plugins]
        brotli-1.1.0,1 [iocage-plugins]
        ca_root_nss-3.93_2 [iocage-plugins]
        curl-8.8.0 [iocage-plugins]
        dav1d-1.4.3 [iocage-plugins]
        expat-2.6.2 [iocage-plugins]
        ffmpeg-6.1.1_5,1 [iocage-plugins]
        fontconfig-2.15.0_2,1 [iocage-plugins]
        freetype2-2.13.2 [iocage-plugins]
        fribidi-1.0.15 [iocage-plugins]
        gdk-pixbuf2-2.42.10_3 [iocage-plugins]
        gettext-runtime-0.22.5 [iocage-plugins]
        giflib-5.2.2 [iocage-plugins]
        glib-2.80.3,2 [iocage-plugins]
        gmmlib-22.3.18 [iocage-plugins]
        gmp-6.3.0 [iocage-plugins]
        gnutls-3.8.5_3 [iocage-plugins]
        graphite2-1.3.14 [iocage-plugins]
        harfbuzz-8.5.0 [iocage-plugins]
        highway-1.2.0 [iocage-plugins]
        icu-74.2_1,1 [iocage-plugins]
        indexinfo-0.3.1 [iocage-plugins]
        jbigkit-2.1_3 [iocage-plugins]
        jellyfin-10.9.4 [iocage-plugins]
        jpeg-turbo-3.0.3 [iocage-plugins]
        krb5-1.21.2_3 [iocage-plugins]
        lame-3.100_5 [iocage-plugins]
        lcms2-2.16_2 [iocage-plugins]
        lerc-4.0.0 [iocage-plugins]
        libX11-1.8.9,1 [iocage-plugins]
        libXau-1.0.9_1 [iocage-plugins]
        libXdmcp-1.1.5 [iocage-plugins]
        libXext-1.3.6,1 [iocage-plugins]
        libXfixes-6.0.0_1 [iocage-plugins]
        libXrandr-1.5.2_1 [iocage-plugins]
        libXrender-0.9.10_2 [iocage-plugins]
        libass-0.17.2 [iocage-plugins]
        libdeflate-1.20 [iocage-plugins]
        libdrm-2.4.121,1 [iocage-plugins]
        libedit-3.1.20240517,1 [iocage-plugins]
        libepoll-shim-0.0.20240608 [iocage-plugins]
        libffi-3.4.6 [iocage-plugins]
        libglvnd-1.7.0 [iocage-plugins]
        libiconv-1.17_1 [iocage-plugins]
        libidn2-2.3.7 [iocage-plugins]
        libinotify-20211018_1 [iocage-plugins]
        libjxl-0.10.2 [iocage-plugins]
        liblz4-1.9.4_1,1 [iocage-plugins]
        libmediainfo-24.05 [iocage-plugins]
        libnghttp2-1.62.1 [iocage-plugins]
        libogg-1.3.5,4 [iocage-plugins]
        libpciaccess-0.18 [iocage-plugins]
        libplacebo-6.338.2 [iocage-plugins]
        libpsl-0.21.5_1 [iocage-plugins]
        libssh2-1.11.0_1,3 [iocage-plugins]
        libtasn1-4.19.0_1 [iocage-plugins]
        libudev-devd-0.5.2 [iocage-plugins]
        libunibreak-6.1,1 [iocage-plugins]
        libunistring-1.2 [iocage-plugins]
        libunwind-20240221 [iocage-plugins]
        libv4l-1.23.0_4 [iocage-plugins]
        libva-2.22.0 [iocage-plugins]
        libva-intel-media-driver-23.4.3 [iocage-plugins]
        libva-utils-2.22.0 [iocage-plugins]
        libvdpau-1.5 [iocage-plugins]
        libvorbis-1.3.7_2,3 [iocage-plugins]
        libvpx-1.14.1 [iocage-plugins]
        libx264-0.164.3095 [iocage-plugins]
        libxcb-1.17.0 [iocage-plugins]
        libxml2-2.11.8 [iocage-plugins]
        libzen-0.4.41.24.05,3 [iocage-plugins]
        mediainfo-24.05 [iocage-plugins]
        mpdecimal-4.0.0 [iocage-plugins]
        nano-8.0 [iocage-plugins]
        nettle-3.10_1 [iocage-plugins]
        openexr-3.2.4 [iocage-plugins]
        opus-1.5.2 [iocage-plugins]
        p11-kit-0.25.3_2 [iocage-plugins]
        pcre2-10.43 [iocage-plugins]
        pkg-1.21.3 [iocage-plugins]
        png-1.6.43 [iocage-plugins]
        py311-packaging-24.1 [iocage-plugins]
        python311-3.11.9 [iocage-plugins]
        python39-3.9.19 [iocage-plugins]
        readline-8.2.10 [iocage-plugins]
        shaderc-2024.1 [iocage-plugins]
        shared-mime-info-2.2_2 [iocage-plugins]
        sqlite3-3.46.0,1 [iocage-plugins]
        svt-av1-2.1.0 [iocage-plugins]
        tiff-4.6.0 [iocage-plugins]
        tinyxml2-10.0.0_3,1 [iocage-plugins]
        vmaf-3.0.0 [iocage-plugins]
        vulkan-loader-1.3.288 [iocage-plugins]
        wayland-1.23.0 [iocage-plugins]
        webp-1.4.0_1 [iocage-plugins]
        x265-3.5_2 [iocage-plugins]
        xorgproto-2024.1 [iocage-plugins]
        xxhash-0.8.2_1 [iocage-plugins]
        zstd-1.5.6 [iocage-plugins]

pkg search jellyfin

What does this return?

Also is your jail 13.1 or 13.2?

13.1 is EOL

root@jellyfin:~ # pkg search jellyfin
jellyfin-10.9.4                Jellyfin Server Component with WebUI
jellyfin-10.9.4                Jellyfin Server Component with WebUI
root@jellyfin:~ # 

^^, novel, i get 2 for the price of one. but yea, 10.9.4

Well i dont know what that means. (i know it means end of life) but other than that i dont. I would try recreating the jail but i did spend quite a lot of time getting the settings how i wanted it and the user accounts.

The jail is 13.2-RELEASE-p11

According to this post 10.9.4 doesn’t work on a 13.2 jail.

2 Likes

Ahh, we have ignition, thank you.

So i removed the jellyfin package, found the /var/cache/pkg/jellyfin-10.8.13_1.pkg and installed it. then i locked it. Reset the jail and we are back in business. I just have to try and remember that i locked it whenever that 13.3 updates comes around.

root@jellyfin:~ # pkg remove jellyfin
root@jellyfin:~ # pkg add /var/cache/pkg/jellyfin-10.8.13_1.pkg
root@jellyfin:~ # pkg lock jellyfin

:+1:

2 Likes

You can also use pkg lock -l to list all locked packages, in case you forget if something is locked.

2 Likes