• 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 [NixOS] Core dump when running as a service.

     
    • 0 Vote(s) - 0 Average

    [NixOS] Core dump when running as a service.

    Hey everyone! I was having some issues since the v10.11.0 update, but it seems as they finally went away with the latest release. However, there still seems to exist a migration related error when running as a service.
    Tomás Guinzburg
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2025 Nov
    Reputation: 0
    #1
    3 hours ago
    Hey everyone, so Jellyfin is working great when i just start it manually from my server's SSH interface. However, if I set it up to run as a service, whenever it autostarts it fails and dumps the core.

    The issue seems to still be related to migrations, here's what I think is the relevant snippet from my logs:

    Code:
    Nov 10 13:59:43 filmotheque jellyfin[63849]: [13:59:43] [INF] [9] Jellyfin.Server.Startup: Storage path `/tmp/jellyfin` (Fixed) success
    fully checked with 124.3GiB free which is over the minimum of 512MiB.
    Nov 10 13:59:43 filmotheque jellyfin[63849]: [13:59:43] [INF] [9] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting
    cache path: /var/cache/jellyfin
    Nov 10 13:59:43 filmotheque jellyfin[63849]: [13:59:43] [INF] [9] Jellyfin.Database.Providers.Sqlite.SqliteDatabaseProvider: SQLite con
    nection string: Data Source=/var/lib/jellyfin/data/jellyfin.db;Cache=Default;Pooling=True
    Nov 10 13:59:44 filmotheque jellyfin[63849]: [13:59:44] [INF] [9] Jellyfin.Database.Providers.Sqlite.SqliteDatabaseProvider: SQLITE con
    nection pragma command set to:
    Nov 10 13:59:44 filmotheque jellyfin[63849]: PRAGMA locking_mode=NORMAL;
    Nov 10 13:59:44 filmotheque jellyfin[63849]: PRAGMA journal_size_limit=134217728;
    Nov 10 13:59:44 filmotheque jellyfin[63849]: PRAGMA synchronous=1;
    Nov 10 13:59:44 filmotheque jellyfin[63849]: PRAGMA temp_store=2;
    Nov 10 13:59:44 filmotheque jellyfin[63849]: [13:59:44] [INF] [9] Jellyfin.Database.Implementations.Locking.NoLockBehavior: The databas
    e locking mode has been set to: NoLock.
    Nov 10 13:59:44 filmotheque jellyfin[63849]: [13:59:44] [INF] [9] Jellyfin.Server.Migrations.JellyfinMigrationService: Initialise Migra
    tion service.
    Nov 10 13:59:44 filmotheque jellyfin[63849]: [13:59:44] [INF] [9] Jellyfin.Server.Migrations.JellyfinMigrationService: Old migration st
    yle migration.xml detected. Migrate now.
    Nov 10 13:59:45 filmotheque jellyfin[63849]: [13:59:45] [FTL] [9] Jellyfin.Server.Migrations.JellyfinMigrationService: Failed to apply
    migrations
    Nov 10 13:59:45 filmotheque jellyfin[63849]: System.InvalidOperationException: Sequence contains no elements
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at System.Linq.ThrowHelper.ThrowNoElementsException()
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source)
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IAp
    plicationPaths appPaths) in /build/source/Jellyfin.Server/Migrations/JellyfinMigrationService.cs:line 150
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IAp
    plicationPaths appPaths) in /build/source/Jellyfin.Server/Migrations/JellyfinMigrationService.cs:line 175
    Nov 10 13:59:45 filmotheque jellyfin[63849]: [13:59:45] [FTL] [1] Main: Unhandled Exception
    Nov 10 13:59:45 filmotheque jellyfin[63849]: System.InvalidOperationException: Sequence contains no elements
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at System.Linq.ThrowHelper.ThrowNoElementsException()
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source)
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IAp
    plicationPaths appPaths) in /build/source/Jellyfin.Server/Migrations/JellyfinMigrationService.cs:line 150
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IAp
    plicationPaths appPaths) in /build/source/Jellyfin.Server/Migrations/JellyfinMigrationService.cs:line 175
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at Jellyfin.Server.Program.ApplyStartupMigrationAsync(ServerApplicationPaths appPaths,
    IConfiguration startupConfig) in /build/source/Jellyfin.Server/Program.cs:line 296
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at Jellyfin.Server.Program.StartApp(StartupOptions options) in /build/source/Jellyfin.S
    erver/Program.cs:line 140
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at Jellyfin.Server.Program.<Main>(String[] args)
    Nov 10 13:59:45 filmotheque jellyfin[63849]: Unhandled exception. System.InvalidOperationException: Sequence contains no elements
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at System.Linq.ThrowHelper.ThrowNoElementsException()
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source)
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths) in /build/source/Jellyfin.Server/Migrations/JellyfinMigrationService.cs:line 150
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths) in /build/source/Jellyfin.Server/Migrations/JellyfinMigrationService.cs:line 175
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at Jellyfin.Server.Program.ApplyStartupMigrationAsync(ServerApplicationPaths appPaths, IConfiguration startupConfig) in /build/source/Jellyfin.Server/Program.cs:line 296
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at Jellyfin.Server.Program.StartApp(StartupOptions options) in /build/source/Jellyfin.Server/Program.cs:line 140
    Nov 10 13:59:45 filmotheque jellyfin[63849]:    at Jellyfin.Server.Program.<Main>(String[] args)
    Nov 10 13:59:46 filmotheque systemd-coredump[63886]: Process 63849 (jellyfin) of user 994 dumped core.

                                                        Module liburcu-common.so.8 without build-id.
                                                        Module libatomic.so.1 without build-id.
                                                        Module liburcu-cds.so.8 without build-id.
                                                        Module liburcu-bp.so.8 without build-id.
                                                        Module libnuma.so.1 without build-id.
                                                        Module liblttng-ust-tracepoint.so.0 without build-id.
                                                        Module liblttng-ust.so.0 without build-id.
                                                        Module libicudata.so.76 without build-id.
                                                        Module libkeyutils.so.1 without build-id.
                                                        Module libkrb5support.so.0 without build-id.
                                                        Module libcom_err.so.3 without build-id.
                                                        Module libk5crypto.so.3 without build-id.
                                                        Module libkrb5.so.3 without build-id.
                                                        Module libgcc_s.so.1 without build-id.
                                                        Module libstdc++.so.6 without build-id.
    ...

    For the record, I'm installing as a nixOS service, so it might be related to the nixpkgs derivation?
    I rarely turn my server off, so there's no urgency as I can always SSH and start jellyfin manually every so often, but it bugs me because it was working perfectly before 10.11. 

    Any help is appreciated, and thanks for working on such an amazing software.

    Cheerio.
    « Next Oldest | Next Newest »

    Users browsing this thread: 9 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