JAAlperin 3 Posted March 2, 2025 Posted March 2, 2025 Running well for years in TrueNAS jail (FreeBSD 13.1). pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.8.10.0/emby-server-freebsd13_4.8.10.0_amd64.pkg [Emby_4.7] Fetching emby-server-freebsd13_4.8.10.0_amd64.pkg: 32% 26 MiB 27.7MB/s 0[Emby_4.7] Fetching emby-server-freebsd13_4.8.10.0_amd64.pkg: 71% 58 MiB 33.1MB/s 0[Emby_4.7] Fetching emby-server-freebsd13_4.8.10.0_amd64.pkg: 100% 81 MiB 42.5MB/s 00:02 [Emby_4.7] Installing emby-server-4.8.10.0_1... Newer FreeBSD version for package emby-server: To ignore this error set IGNORE_OSVERSION=yes - package: 1302001 - running userland: 1301000 Ignore the mismatch and continue? [y/N]: y package emby-server is already installed, forced install pkg: Missing dependency 'mbedtls' Failed to install the following 1 package(s): https://github.com/MediaBrowser/Emby.Releases/releases/download/4.8.10.0/emby-server-freebsd13_4.8.10.0_amd64.pkg root@Emby_4:~ # Tried pkg install mbedtls and pkg install security/mbedtls, but the package is not found. Suggestions, please?
Solution JAAlperin 3 Posted March 3, 2025 Author Solution Posted March 3, 2025 Forget it. I now see the ongoing conversations about mbedtls.
Luke 42077 Posted March 3, 2025 Posted March 3, 2025 Hi, yes we are working on getting our package updated based on the newer mbedtls. Thanks.
jkdebuhr 4 Posted March 14, 2025 Posted March 14, 2025 good to know.. same issue going form 4.8.10.0 to 4.8.11.0 mbedlts2 pkg add [-IAfqM] <protocol>://<path>/<pkg-name> ... For more information see 'pkg help add'. root@Emby-Server:~ # pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.8.11.0/emby-server-freebsd13_4.8.11.0_amd64.pkg [Emby-Server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg: 2% 2 MiB [Emby-Server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg: 19% 16 MiB [Emby-Server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg: 31% 26 MiB[ Emby-Server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg: 44% 36 MiB [Emby-Server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg: 56% 46 MiB [Emby-Server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg: 74% 61 MiB [Emby-Server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg: 90% 74 MiB [Emby-Server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg: 100% 82 MiB 12.2MB/s 00:07 [Emby-Server] Installing emby-server-4.8.11.0_1... package emby-server is already installed, forced install pkg: Missing dependency 'mbedtls2' Failed to install the following 1 package(s): https://github.com/MediaBrowser/Emby.Releases/releases/download/4.8.11.0/emby-server-freebsd13_4.8.11.0_amd64.pkg root@Emby-Server:~ # root@Emby-Server:~ # root@Emby-Server:~ #
Luke 42077 Posted March 14, 2025 Posted March 14, 2025 2 minutes ago, jkdebuhr said: good to know.. same issue going form 4.8.10.0 to 4.8.11.0 mbedlts2 pkg add [-IAfqM] <protocol>://<path>/<pkg-name> ... For more information see 'pkg help add'. root@Emby-Server:~ # pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.8.11.0/emby-server-freebsd13_4.8.11.0_amd64.pkg [Emby-Server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg: 2% 2 MiB [Emby-Server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg: 19% 16 MiB [Emby-Server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg: 31% 26 MiB[ Emby-Server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg: 44% 36 MiB [Emby-Server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg: 56% 46 MiB [Emby-Server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg: 74% 61 MiB [Emby-Server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg: 90% 74 MiB [Emby-Server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg: 100% 82 MiB 12.2MB/s 00:07 [Emby-Server] Installing emby-server-4.8.11.0_1... package emby-server is already installed, forced install pkg: Missing dependency 'mbedtls2' Failed to install the following 1 package(s): https://github.com/MediaBrowser/Emby.Releases/releases/download/4.8.11.0/emby-server-freebsd13_4.8.11.0_amd64.pkg root@Emby-Server:~ # root@Emby-Server:~ # root@Emby-Server:~ # Hi, where did you get this install process from? For the stable release our install instructions indicate to use freebsd ports.
jkdebuhr 4 Posted March 14, 2025 Posted March 14, 2025 I don't recall, it was from a previous update to 4.8.10.0. Is that not the correct path? Could you point me to the correct procedure to updating on TrueNAS Core?
Luke 42077 Posted March 14, 2025 Posted March 14, 2025 Just now, jkdebuhr said: I don't recall, it was from a previous update to 4.8.10.0. Is that not the correct path? Could you point me to the correct procedure to updating on TrueNAS Core? https://emby.media/truenas-server.html But I am not sure what will happen if you just suddenly try to switch install methods, so you may not want to do that.
jkdebuhr 4 Posted March 14, 2025 Posted March 14, 2025 it looks like 4.8.11.0 is not ready or available in the path (setup I use) So I will wait a few days (4.8.11.0) dropped 4 days ago
jkdebuhr 4 Posted March 14, 2025 Posted March 14, 2025 (edited) Looked through my old posts I did this before iocage console EMBY JAIL NAME HERE service emby-server stop pkg update pkg upgrade pkg install -f DEPENDENCIES LISTED ON https://emby.media/freebsd-server.html pkg add -f LINK TO VERSION OF EMBY TAKEN FROM https://github.com/MediaBrowser/Emby.Releases/releases/ service emby-server start exit based off that I did this and still got he same issue with mbedlts2 Stopping emby_server. root@Emby-Server:~ # pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.9.0.41/emby-server-freebsd13_4.9.0.41_amd64.pkg [Emby-Server] Fetching emby-server-freebsd13_4.9.0.41_amd64.pkg: 16% 17 MiB [Emby-Server] Fetching emby-server-freebsd13_4.9.0.41_amd64.pkg: 63% 63 MiB [Emby-Server] Fetching emby-server-freebsd13_4.9.0.41_amd64.pkg: 100% 98 MiB 51.6MB/s 00:02 [Emby-Server] Installing emby-server-4.9.0.41_1... package emby-server is already installed, forced install pkg: Missing dependency 'mbedtls2' Failed to install the following 1 package(s): https://github.com/MediaBrowser/Emby.Releases/releases/download/4.9.0.41/emby-server-freebsd13_4.9.0.41_amd64.pkg root@Emby-Server:~ # Edited March 14, 2025 by jkdebuhr
theBodega 6 Posted March 17, 2025 Posted March 17, 2025 Hey - I just had a successful install in a13.3 iocage jail I hit the error pkg: Missing dependency 'mbedtls2' then just did pkg install mbedtls2 which was fine, and then installed Emby without issue
Luke 42077 Posted March 17, 2025 Posted March 17, 2025 4 hours ago, theBodega said: Hey - I just had a successful install in a13.3 iocage jail I hit the error pkg: Missing dependency 'mbedtls2' then just did pkg install mbedtls2 which was fine, and then installed Emby without issue So we had already updated our instructions here: https://emby.media/freebsd-server.html The step to install dependencies is something we recommend doing with every new build in case they change.
jkdebuhr 4 Posted March 17, 2025 Posted March 17, 2025 @Luke the Dependencies ont he page show mbedlts3, not mbedlts2, so I assume it should work without issue? 1
jkdebuhr 4 Posted March 21, 2025 Posted March 21, 2025 manual install of mbedtls2 then followed your page and all updated.. 1
msturtz 0 Posted March 21, 2025 Posted March 21, 2025 I also went to update from 4.8.10 to 4.8.11 -- I use TrueNAS but its a regular Jail, not the plugin. Since my Emby is now exposed to Internet for remote viewing, I thought its probably worth keeping it updated more reguarly. TrueNAS reports the jail is 13.2-p12, but uname -a says 13.1-p9, not sure why the difference. I did complete an upgrade from TrueNAS, and then restart. I updated deps: root@Emby-os13:/tmp # pkg install dotnet libass fontconfig freetype2 mbedtls3 fribidi gnutls iconv opus sqlite3 libtheora libva ocl-icd libvorbis webp libzvbi libraw ImageMagick6 tesseract intel-media-sdk libunwind libinotify openssl icu krb5 libexif libjxl libheif libimagequant openexr openjpeg orc pango tiff Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The most recent versions of packages are already installed root@Emby-os13:/tmp # I completely removed Emby -- from testing, I had the OS-provided 4.8.10.0_2: root@Emby-os13:/tmp # pkg remove emby-server Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: emby-server: 4.8.10.0_2 Number of packages to be removed: 1 The operation will free 254 MiB. Proceed with deinstalling packages? [y/N]: y [Emby-os13] [1/1] Deinstalling emby-server-4.8.10.0_2... ==> If you are uninstalling Emby Server permanently, and you do *NOT* want to retain the database, logs configuration and media metadata, you should manually delete directory /var/db/emby-server [Emby-os13] [1/1] Deleting files for emby-server-4.8.10.0_2: 100% ==> You should manually remove the "emby" user ==> You should manually remove the "emby" group root@Emby-os13:/tmp # I attempted to install a fresh install of 4.8.11: root@Emby-os13:/tmp # pkg add -f emby-server-freebsd13_4.8.11.0_amd64.pkg [Emby-os13] Installing emby-server-4.8.11.0_1... pkg: Missing dependency 'mbedtls2' Failed to install the following 1 package(s): emby-server-freebsd13_4.8.11.0_amd64.pkg root@Emby-os13:/tmp # I attempted to downgrade mbedtls -- this succeeds, but the 4.8.11 package still won't install. If I re-install the OS page, everything works... So for now I'll leave it there, and try again in a couple weeks. root@Emby-os13:/tmp # pkg install emby-server Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: emby-server: 4.8.10.0_2 Number of packages to be installed: 1 The process will require 254 MiB more space. Proceed with this action? [y/N]: y [Emby-os13] [1/1] Installing emby-server-4.8.10.0_2... ===> Creating groups Using existing group 'emby' ===> Creating users Using existing user 'emby' [Emby-os13] [1/1] Extracting emby-server-4.8.10.0_2: 100% root@Emby-os13:/tmp # service emby-server start (BTW I *LOVE* that the package can be completely removed and re-installed, and it doesn't lose any configuration. I had to completely re-build my Plex setup so many times after failed upgrades -- this is so great)
netnerd 0 Posted March 22, 2025 Posted March 22, 2025 Hi just to let everyone know the instructions have you install mbedtls3 but emby looks for mbedtls2. As well Message from mbedtls2-2.28.9: -- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it:
Luke 42077 Posted March 22, 2025 Posted March 22, 2025 3 hours ago, netnerd said: Hi just to let everyone know the instructions have you install mbedtls3 but emby looks for mbedtls2. As well Message from mbedtls2-2.28.9: -- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Hi, yes we are looking into this as well. Thanks for reporting.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now