• 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 Jellyfin container crashes during startup

     
    • 0 Vote(s) - 0 Average

    Jellyfin container crashes during startup

    Jellyfin container exits with status code 139 when started with podman
    Dificator
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    Country:Czech Republic
    #1
    2025-02-28, 02:50 PM
    Hello!

    I'm trying to run Jellyfin in a container via podman, but it crashes immediately when I start it. The container status says "Exited (139) 14 minutes ago (starting)". Here are the container logs:
    Quote:Process terminated. Couldn't find a valid ICU package installed on the system. Please install libicu (or icu-libs) using your package manager and try again. Alternatively you can set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support. Please see https://aka.ms/dotnet-missing-libicu for more information.
      at System.Environment.FailFast(System.String)
      at System.Globalization.GlobalizationMode+Settings..cctor()
      at System.Globalization.CultureData.CreateCultureWithInvariantData()
      at System.Globalization.CultureData.get_Invariant()
      at System.Globalization.CultureInfo..cctor()
      at System.Globalization.CultureInfo.get_InvariantCulture()
      at CommandLine.ParserSettings..ctor()
      at CommandLine.Parser+<>c.<.cctor>b__20_0()
      at System.Lazy1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].ViaFactory(System.Threading.LazyThreadSafetyMode)
      at System.Lazy
    1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].ExecutionAndPublication(System.LazyHelper, Boolean)
      at System.Lazy`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].CreateValue()
      at CommandLine.Parser.get_Default()
      at Jellyfin.Server.Program.Main(System.String[])
      at Jellyfin.Server.Program.<Main>(System.String[])

    Here is the command I'm using to start the container:
    Quote:podman run \
    --detach \
    --label "io.containers.autoupdate=registry" \
    --name jellyfin \
    --publish 8096:8096/tcp \
    --user $(id -u):$(id -g) \
    --userns keep-id \
    --volume /home/jellyfin/cache: /cache:Z \
    --volume /home/jellyfin/config: /config:Z \
    --mount type=bind,source=/data/storage/jellyfin/media,destination=/media,ro=true,relabel=private \
    docker.io/jellyfin/jellyfin:latest

    My OS: Fedora Server 41
    Version: The latest jellyfin docker image (10.10.6)

    I'm not sure if it's important, but I checked, and I have "libicu-74.2-2.fc41.x86_64" installed on the machine.

    When I try to run the same thing on my workstation (Fedora 40), everything works fine.

    Has anyone seen this issue before? Do you know how to fix it?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-02-28, 03:22 PM (This post was last modified: 2025-02-28, 03:23 PM by TheDreadPirate. Edited 1 time in total.)
    Try installing libicu-dev and icu-devtools, if they aren't installed already. Both of those are installed on my server, in addition to libicu.
    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]
    Dificator
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    Country:Czech Republic
    #3
    2025-02-28, 08:20 PM
    Hi, thank you for the reply. I have now installed libicu, libicu-devel, and icu. I didn't find an equivalent for icu-devtools on the Fedora Server. However, I'm still running into the same issue.

    Shouldn't these libraries be packaged inside the container?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-02-28, 08:58 PM
    What is this environment variable set to?

    Code:
    DOTNET_SYSTEM_GLOBALIZATION_INVARIANT
    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]
    Dificator
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    Country:Czech Republic
    #5
    2025-02-28, 09:04 PM
    It's not set. I tried to set it to true with "podman run -e DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true ...". When I did that, the error that I had before disappeared, but a new one popped up. Here is the full log:
    Quote:[20:17:30] [INF] [1] Main: Jellyfin version: 10.10.6
    [20:17:30] [INF] [1] Main: Environment Variables: ["[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_CONFIG_DIR, /config/config]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[JELLYFIN_DATA_DIR, /config]", "[DOTNET_SYSTEM_GLOBALIZATION_INVARIANT, true]"]
    [20:17:30] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll"]
    [20:17:30] [INF] [1] Main: Operating system: Debian GNU/Linux 12 (bookworm)
    [20:17:30] [INF] [1] Main: Architecture: X64
    [20:17:30] [INF] [1] Main: 64-Bit Process: True
    [20:17:30] [INF] [1] Main: User Interactive: True
    [20:17:30] [INF] [1] Main: Processor count: 4
    [20:17:30] [INF] [1] Main: Program data path: /config
    [20:17:30] [INF] [1] Main: Log directory path: /config/log
    [20:17:30] [INF] [1] Main: Config directory path: /config/config
    [20:17:30] [INF] [1] Main: Cache path: /cache
    [20:17:30] [INF] [1] Main: Temp directory path: /tmp/jellyfin
    [20:17:30] [INF] [1] Main: Web resources path: /jellyfin/jellyfin-web
    [20:17:30] [INF] [1] Main: Application directory: /jellyfin/
    [20:17:30] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration", "MigrateMusicBrainzTimeout", "MigrateNetworkConfiguration", "MigrateEncodingOptions"]
    [20:17:30] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /cache
    [20:17:31] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
    [20:17:31] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
    [20:17:31] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
    [20:17:31] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
    [20:17:31] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "192.168.1.105"]
    [20:17:31] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
    [20:17:31] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
    [20:17:31] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
    [20:17:31] [FTL] [1] Main: Error while starting server
    System.TypeInitializationException: The type initializer for 'Jellyfin.Drawing.Skia.SkiaEncoder' threw an exception.
    ---> System.DllNotFoundException: Unable to load shared library 'libSkiaSharp' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:
    /lib/x86_64-linux-gnu/libfontconfig.so.1: file too short
    libSkiaSharp.so: cannot open shared object file: No such file or directory
    /jellyfin/liblibSkiaSharp.so: cannot open shared object file: No such file or directory
    /jellyfin/libSkiaSharp: cannot open shared object file: No such file or directory
    /jellyfin/liblibSkiaSharp: cannot open shared object file: No such file or directory

      at SkiaSharp.SkiaApi.sk_imagefilter_new_matrix_convolution(SKSizeI* kernelSize, Single* kernel, Single gain, Single bias, SKPointI* kernelOffset, SKShaderTileMode tileMode, Boolean convolveAlpha, IntPtr input, IntPtr cropRect)
      at SkiaSharp.SKImageFilter.CreateMatrixConvolution(SKSizeI kernelSize, ReadOnlySpan1 kernel, Single gain, Single bias, SKPointI kernelOffset, SKShaderTileMode tileMode, Boolean convolveAlpha, SKImageFilter input, CropRect cropRect)
      at SkiaSharp.SKImageFilter.CreateMatrixConvolution(SKSizeI kernelSize, ReadOnlySpan
    1 kernel, Single gain, Single bias, SKPointI kernelOffset, SKShaderTileMode tileMode, Boolean convolveAlpha)
      at Jellyfin.Drawing.Skia.SkiaEncoder..cctor()
      --- End of inner exception stack trace ---
      at Jellyfin.Drawing.Skia.SkiaEncoder.IsNativeLibAvailable()
      at Jellyfin.Server.CoreAppHost.RegisterServices(IServiceCollection serviceCollection)
      at Emby.Server.Implementations.ApplicationHost.Init(IServiceCollection serviceCollection)
      at Jellyfin.Server.Program.<>c__DisplayClass8_0.<StartServer>b__0(IServiceCollection services)
      at Microsoft.Extensions.Hosting.HostBuilder.InitializeServiceProvider()
      at Microsoft.Extensions.Hosting.HostBuilder.Build()
      at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
    [20:17:31] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
    [20:17:31] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing PluginManager
    « 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