• 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 dies after startup

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Jellyfin dies after startup

    Jellyfin getting SIGTERM, dies after startup
    cptguntner
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #1
    2023-10-31, 12:42 PM
    Just installed Jellyfin 10.8.11 on my Centos 7 server, and when I start it up, it soon dies.  The following are the messages seen:

    [gunther@neuromancer ~]$ sudo systemctl status jellyfin -l
    ● jellyfin.service - Jellyfin Media Server
      Loaded: loaded (/usr/lib/systemd/system/jellyfin.service; disabled; vendor preset: disabled)
      Drop-In: /etc/systemd/system/jellyfin.service.d
              └─override.conf
      Active: inactive (dead)

    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: at Jellyfin.Server.Migrations.Routines.MigrateUserDb.Perform()
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations                                      (IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action1 saveConfiguration, ILogger logger)
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: at Jellyfin.Server.Program.StartApp(StartupOptions options)
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: [08:19:31] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: [08:19:31] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: [08:19:31] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing EmbyTV
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: [08:19:31] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzAlbumProvider
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: [08:19:31] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing SchedulesDirect
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: [08:19:31] [INF] [2] Main: Received a SIGTERM signal, shutting down

    [gunther@neuromancer ~]$ sudo journalctl -xe
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: at System.Xml.Serialization.XmlSerializer..ctor(Type type)
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: at Emby.Server.Implementations.Serialization.MyXmlSerializer.<>c.<GetSerializer>b__1_0(String _, Type
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: at System.Collections.Concurrent.ConcurrentDictionary
    2.GetOrAdd[TArg](TKey key, Func`3 valueFactory,
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: at Emby.Server.Implementations.Serialization.MyXmlSerializer.GetSerializer(Type type)
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromStream(Type type, Stream
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromFile(Type type, String fi
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: at Jellyfin.Server.Migrations.Routines.MigrateUserDb.Perform()
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, Migra
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: at Jellyfin.Server.Program.StartApp(StartupOptions options)
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: [08:19:31] [INF] [1] Main: Running query planner optimizations in the database... This might take a w
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: [08:19:31] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: [08:19:31] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing EmbyTV
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: [08:19:31] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzAlbumProvider
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: [08:19:31] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing SchedulesDirect
    Oct 31 08:19:31 neuromancer.bloodjack.org jellyfin[4860]: [08:19:31] [INF] [2] Main: Received a SIGTERM signal, shutting down
    Oct 31 08:19:34 neuromancer.bloodjack.org sudo[4948]:  gunther : TTY=pts/1 ; PWD=/home/gunther ; USER=root ; COMMAND=/bin/systemctl status jellyfin -l
    Oct 31 08:19:34 neuromancer.bloodjack.org sudo[4948]: pam_unix(sudo:session): session opened for user root by gunther(uid=0)
    Oct 31 08:19:34 neuromancer.bloodjack.org sudo[4948]: pam_unix(sudo:session): session closed for user root
    Oct 31 08:19:36 neuromancer.bloodjack.org sshd[4927]: Connection closed by 146.56.198.86 port 56170 [preauth]
    Oct 31 08:19:40 neuromancer.bloodjack.org sudo[4981]:  gunther : TTY=pts/1 ; PWD=/home/gunther ; USER=root ; COMMAND=/bin/journalctl -xe
    Oct 31 08:19:40 neuromancer.bloodjack.org sudo[4981]: pam_unix(sudo:session): session opened for user root by gunther(uid=0)

    Any ideas why it might be getting SIGTERM?  Any place to get better logs?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-10-31, 01:10 PM
    Check /var/log/jellyfin. Share the full log with us, if they are present. Upload them to https://sourceb.in/ and link back here.
    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]
    cptguntner
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #3
    2023-10-31, 02:12 PM
    Log from last time starting up:

    https://sourceb.in/QLbnqDoTRc
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-10-31, 02:27 PM
    Stop the Jellyfin service

    go to /var/lib/jellyfin/data

    delete jellyfin.db then start Jellyfin
    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]
    cptguntner
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #5
    2023-10-31, 05:28 PM (This post was last modified: 2023-10-31, 05:32 PM by cptguntner. Edited 1 time in total. Edit Reason: Corrected log file URL )
    jellyfin.db deleted, still crashing (Though I think it got farther)

    Last section of jellyfin logs is https://srcb.in/qJU1D7tiBe

    Correction, here is log

    https://srcb.in/qJU1D7tiBe
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2023-10-31, 05:33 PM
    Do you have SELinux enabled?
    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]
    cptguntner
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #7
    2023-10-31, 08:19 PM
    No, SELinux is disabled
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2023-10-31, 09:46 PM
    You said you "just" installed Jellyfin. Did you bring over any data or anything? This error usually happens when someone upgrades or migrates.
    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]
    cptguntner
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #9
    2023-11-01, 11:15 AM
    I did have an older version on Jellyfin on the server, but I uninstalled that version to install this version.. I can uninstall this version, but them what directories should I make sure are gone before reinstalling?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2023-11-01, 12:46 PM
    If you don't care about your old data move these directories somewhere else. Back them up if you care about preserving your data.

    /var/lib/jellyfin
    /etc/jellyfin

    For the record, it is important to provides these kinds of details from the get go. I wouldn't have told you to delete jellyfin.db if I knew you had a previous install.
    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]
    Pages (2): 1 2 Next »

    « 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