• 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 won't launch since 10.9.11 update

    Pages (3): 1 2 3 Next »

     
    • 0 Vote(s) - 0 Average

    jellyfin won't launch since 10.9.11 update

    jellyhank
    Offline

    Junior Member

    Posts: 15
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #1
    2024-09-15, 12:03 AM
    Hi all,

    I've been enjoying Jellyfin for the past month or so, and recently decided to update to 10.9.11. I'm running a baremetal (Intel NUC) Ubuntu to host my Jellyfin. 

    When I run jellyfin in the terminal, this is what i get:


    hank@jellyfin:~$ jellyfin
    [23:51:51] [INF] [1] Main: Jellyfin version: 10.9.11
    [23:51:51] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /home/hank/jellyfin/log]"]
    [23:51:51] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll"]
    [23:51:51] [INF] [1] Main: Operating system: Ubuntu 24.04.1 LTS
    [23:51:51] [INF] [1] Main: Architecture: X64
    [23:51:51] [INF] [1] Main: 64-Bit Process: True
    [23:51:51] [INF] [1] Main: User Interactive: True
    [23:51:51] [INF] [1] Main: Processor count: 4
    [23:51:51] [INF] [1] Main: Program data path: /home/hank/jellyfin
    [23:51:51] [INF] [1] Main: Log directory path: /home/hank/jellyfin/log
    [23:51:51] [INF] [1] Main: Config directory path: /home/hank/jellyfin
    [23:51:51] [INF] [1] Main: Cache path: /home/hank/.cache/jellyfin
    [23:51:51] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web
    [23:51:51] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
    [23:51:51] [FTL] [1] Main: Unhandled Exception
    System.InvalidOperationException: There is an error in XML document (400, 26).
    ---> System.Xml.XmlException: Unexpected end of file while parsing Name has occurred. Line 400, position 26.
      at System.Xml.XmlTextReaderImpl.Throw(Exception e)
      at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
      at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos)
      at System.Xml.XmlTextReaderImpl.ParseElement()
      at System.Xml.XmlTextReaderImpl.ParseElementContent()
      at System.Xml.XmlReader.MoveToContent()
      at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderMigrationOptions.Read3_MigrationOptions(Boolean isNullable, Boolean checkType)
      at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderMigrationOptions.Read4_MigrationOptions()
      at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
      at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
      at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
      at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromStream(Type type, Stream stream)
      at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromFile(Type type, String file)
      at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
      at Jellyfin.Server.Program.StartApp(StartupOptions options)
      at Jellyfin.Server.Program.<Main>(String[] args)
    Unhandled exception. System.InvalidOperationException: There is an error in XML document (400, 26).
    ---> System.Xml.XmlException: Unexpected end of file while parsing Name has occurred. Line 400, position 26.
      at System.Xml.XmlTextReaderImpl.Throw(Exception e)
      at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
      at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos)
      at System.Xml.XmlTextReaderImpl.ParseElement()
      at System.Xml.XmlTextReaderImpl.ParseElementContent()
      at System.Xml.XmlReader.MoveToContent()
      at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderMigrationOptions.Read3_MigrationOptions(Boolean isNullable, Boolean checkType)
      at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderMigrationOptions.Read4_MigrationOptions()
      at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
      at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
      at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
      at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromStream(Type type, Stream stream)
      at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromFile(Type type, String file)
      at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
      at Jellyfin.Server.Program.StartApp(StartupOptions options)
      at Jellyfin.Server.Program.<Main>(String[] args)
    Aborted (core dumped)


    Any advice would be appreciated! In typical n00b fashion, I didn't make a back-up, ah well ...
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-09-15, 12:54 AM
    Have you always been starting jellyfin by typing literally "jellyfin"? Jellyfin should be starting as a service.

    What is the output of this command.

    Code:
    sudo systemctl status 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]
    jellyhank
    Offline

    Junior Member

    Posts: 15
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #3
    2024-09-15, 01:08 AM (This post was last modified: 2024-09-15, 01:10 AM by jellyhank. Edited 1 time in total.)
    Ah, nope! It's always autostarted. But ever since things got funky, I was curious about what would happen if I wrote jellyfin and if the output of that would be a helpful diagnostic.
    I've inputted your command. Here's what it says:


    hank@jellyfin:~$ sudo systemctl status jellyfin
    × jellyfin.service - Jellyfin Media Server
        Loaded: loaded (/usr/lib/systemd/system/jellyfin.service; enabled; preset: enabled)
        Drop-In: /etc/systemd/system/jellyfin.service.d
                └─jellyfin.service.conf
        Active: failed (Result: core-dump) since Sat 2024-09-14 23:33:57 UTC; 1h 32min ago
      Duration: 1.173s
      Main PID: 851 (code=dumped, signal=ABRT)
            CPU: 372ms

    Sep 14 23:33:57 jellyfin systemd[1]: jellyfin.service: Scheduled restart job, restart counter i>
    Sep 14 23:33:57 jellyfin systemd[1]: jellyfin.service: Start request repeated too quickly.
    Sep 14 23:33:57 jellyfin systemd[1]: jellyfin.service: Failed with result 'core-dump'.
    Sep 14 23:33:57 jellyfin systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
    lines 1-13/13 (END)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-09-15, 01:49 AM
    Running "jellyfin" does not work the same as starting the service. It will use different parameters and not use your existing config files.

    Share the output of this command via pastebin.

    Code:
    sudo journalctl -u jellyfin -n 200 --no-pager
    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]
    jellyhank
    Offline

    Junior Member

    Posts: 15
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #5
    2024-09-15, 02:28 AM
    I see, thank you!
    Here is the output of your suggested command:
    https://pastebin.com/amepScL0
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-09-15, 02:41 AM
    Try removing /etc/jellyfin/migrations.xml then sudo systemctl restart jellyfin. If it still fails remove all of the XMLs in /etc/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]
    jellyhank
    Offline

    Junior Member

    Posts: 15
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #7
    2024-09-15, 04:10 AM (This post was last modified: 2024-09-15, 04:11 AM by jellyhank.)
    Thanks! So I tried deleting migrations.xml and that didn't work, so then I tried deleting all the XMLs in the /etc/jellyfin. No dice. Whenever I try to log into Jellyfin on Chrome, it just says the site can't be reached. What else should I try?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-09-15, 04:19 PM
    Is the service actually running now? If so, clear your browser cache or ctrl+f5.
    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]
    jellyhank
    Offline

    Junior Member

    Posts: 15
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #9
    2024-09-15, 04:39 PM
    Nah, the service still isn't running. This is what I get with the sudo systemctl status jellyfin command you suggested earlier:

    hank@jellyfin:~$ sudo systemctl status jellyfin
    × jellyfin.service - Jellyfin Media Server
        Loaded: loaded (/usr/lib/systemd/system/jellyfin.service; enabled; preset: enabled)
        Drop-In: /etc/systemd/system/jellyfin.service.d
                └─jellyfin.service.conf
        Active: failed (Result: core-dump) since Sun 2024-09-15 16:34:50 UTC; 3min 58s ago
      Duration: 1.394s
        Process: 2633 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_>
      Main PID: 2633 (code=dumped, signal=ABRT)
            CPU: 536ms

    Sep 15 16:34:50 jellyfin systemd[1]: jellyfin.service: Scheduled restart job, restart counter i>
    Sep 15 16:34:50 jellyfin systemd[1]: jellyfin.service: Start request repeated too quickly.
    Sep 15 16:34:50 jellyfin systemd[1]: jellyfin.service: Failed with result 'core-dump'.
    Sep 15 16:34:50 jellyfin systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
    lines 1-14/14 (END)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-09-16, 04:18 PM (This post was last modified: 2024-09-16, 04:18 PM by TheDreadPirate.)
    Can share the latest output of this command?

    Code:
    sudo systemctl restart jellyfin

    When this fails

    Code:
    sudo journalctl -u jellyfin -n 200 --no-pager
    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 (3): 1 2 3 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