Jump to content

Can't figure out how to get 4.8.11.0 installed on TrueNAS Core 13.0; upgrade, new install both fail


Recommended Posts

nmalinoski
Posted

  Started with:

  • TrueNAS Core 13.0-U6.7
  • Plugin-backed emby-server Jail on 13.2-RELEASE
  • Emby 4.8.10.0_2

I have been having nothing but issues trying to get 4.8.10.0 updated to 4.8.11.0. This instance was created using the instructions at https://emby.media/truenas-server.html, before the `freebsd12` branch was dropped in favor of the `freebsd13` branch and the `master` branch started targeting 14.1. And, yes, I have considered migrating to Scale; and, no, it's not feasible for me right now.

  • Stopping the emby-server service and running `iocage update emby-server` gets me this:
    Snapshot: main/iocage/jails/emby-server@ioc_update_13.2-RELEASE-p9_2025-04-09_12-58-03 created.
    Updating plugin...
    Snapshotting emby-server...
    Updating plugin INDEX...
    
    Host: 13.1-RELEASE is not greater than target: 14.1
    This is unsupported.
  • If I don't use iocage and pop into the console to run `pkg update` and `pkg upgrade`, I get the following install errors and a nonresponsive (but still startable/stoppable emby-server service):
    ...
    Newer FreeBSD version for package ztrack:
    To ignore this error set IGNORE_OSVERSION=yes
    - package: 1304000
    - running userland: 1302001
    Ignore the mismatch and continue? [y/N]: y
    ...
    [emby-server] [37/37] Extracting vulkan-loader-1.4.311: 100%
    ==> Cleaning up trigger: gdk-pixbuf-query-loaders.ucl
    Removing gdk-pixbuf cache directory
    ==> Running trigger: gdk-pixbuf-query-loaders.ucl
    Generating gdk-pixbuf modules cache
    g_module_open() failed for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-heif.so: /usr/local/lib/libx265.so.209: Undefined symbol "_ZNSt3__122__libcpp_verbose_abortEPKcz"
    g_module_open() failed for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jxl.so: /usr/local/lib/libjxl.so.0.11: Undefined symbol "_ZNSt3__122_libcpp_verbose_abortEPKcz"
    =====
    Message from gdk-pixbuf2-2.42.12_1:
    
    --
    Loaders for ANI, BMP, ICNS, ICO, PNM, QTIF, TGA, XBM and XPM have
    been moved to a separate graphics/gdk-pixbuf-extra port. Install
    the aforementioned port if artefacts in those formats no longer
    load or otherwise cause errors.
  • Thinking I should try updating the jail to its new target release, I stopped the jail, rolled it back to its last-known-good snapshot, started it, shut down the emby-server service, and tried running `iocage upgrade emby-server -r 13.4-RELEASE`. This also got me the target mismatch error:

    Host: 13.1-RELEASE is not greater than target: 14.1

    I navigated to /mnt/main/iocage/jails/emby-server to see what the config looked like. emby-server.json was old, still targeted 13.2.
    I checked with `git branch` that the `freebsd13` branch was selected (it was), but there were also `master` and `list` branches. I did `git pull` (which applied a couple changes), and tried updating and upgrading the release again, but continued to get the same target mismatch error.

 

After feeling like I hit a dead-end with upgrading, I decided to try reinstalling fresh, directly in a 13.4 jail. I renamed my existing jail and the original clone of the iocage-amd64 directory in /root.

I followed the freebsd12 instructions at https://emby.media/truenas-server.html, swapping "truenas12" for "freebsd13", and that results in the following:

Running post_isntall.sh
[emby-server] Fetching emby-server-freebsd13_4.8.11.0_amd64.pkg .......... done
[emby-server] Installing emby-server-4.8.11.0_1...
[emby-server] Installing emby-server-4.8.11.0_1...
pkg: Missing shlib dependency: libfftw3.so.3

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
pkg: Missing shlib dependency: libfftw3.so.3
emby_server_enable:  -> YES
pkg: Missing shlib dependency: libfftw3.so.3
emby-server does not exist in /etc/rc.d or the local startup directories (/usr/local/etc/rc.d), or is not executable
pkg: Missing shlib dependency: libfftw3.so.3
Last 10 lines:
pkg: Missing shlib dependency: libfftw3.so.3
emby-server had a failure
Exception: SystemExit Message: 1
Partial plugin destroyed

What am I doing wrong, besides continuing to run Core and [probably] relying on the plugin?

  • 3 weeks later...
nmalinoski
Posted

@LukeNo, I gave up and went back to my existing 4.8.10.0 instance running on 13.2-RELEASE. I'm not able to create a new jail on anything older than 13.4 (Upstream repos for 13.2 have been removed. Might just need to refetch 13.3 to create something on that), but 4.8.11.0 won't start on it, just 4.9.x; and 4.9.0.50 seems to have a bug that prevents my libraries from being rescanned, so I don't want to jump to that.

  • 3 weeks later...
Ricoche
Posted

Hi there, I got the same problem.
Tried to reinstall without success, any ideas ?

Impossible to update iocage to the 14.1-RELEASE as I'm on Truenas CORE, do I have to migrate to Truenas SCALE Fangtooth 25.04 ?
Thank's

 

  • 2 weeks later...
Baenwort
Posted (edited)

Have you moved to TrueNAS-13.3-U1.2? 

 

if you are on TrueNAS 13.3 you can run Jails that are using 13.4 or 13.5 and those can successfully install and run Emby.

Edited by Baenwort
nmalinoski
Posted

I personally haven't moved to TrueNAS Core 13.3, because the manual update process gives me the impression that it's not something they wanted to support from the beginning, and what little support it has for jails is going to be gone by April next year, with FreeBSD 13.5's EOL--once they pull the plug on the 13.5 pkg repo, we won't be able to create any new jails on a TrueNAS Core system (at least not with official FreeBSD support)--so migrating to Scale seems to be a requirement to continue using TrueNAS for any containerized app.

Posted
On 5/28/2025 at 8:06 PM, nmalinoski said:

I personally haven't moved to TrueNAS Core 13.3, because the manual update process gives me the impression that it's not something they wanted to support from the beginning, and what little support it has for jails is going to be gone by April next year, with FreeBSD 13.5's EOL--once they pull the plug on the 13.5 pkg repo, we won't be able to create any new jails on a TrueNAS Core system (at least not with official FreeBSD support)--so migrating to Scale seems to be a requirement to continue using TrueNAS for any containerized app.

From Emby's standpoint we'll keep building the packages as long as we can.

But yes TrueNAS scale is a lot easier.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...