• 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 SOLVED: Debian: Unhandled Exception Error

     
    • 0 Vote(s) - 0 Average

    SOLVED: Debian: Unhandled Exception Error

    ExistentialJazz
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #1
    2024-04-28, 04:19 AM
    Hello All!

    I am running Jellyfin 10.8.13 on Linux Debian.

    I installed it via command: curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash

    When I look at the status of jellyfin I get the following:


    23:02:16] [INF] [1] Main: Jellyfin version: 10.8.13
    [23:02:16] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /home/existentialjazz/.local/share/jellyfin/log]"]
    [23:02:16] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll"]
    [23:02:16] [INF] [1] Main: Operating system: Linux
    [23:02:16] [INF] [1] Main: Architecture: X64
    [23:02:16] [INF] [1] Main: 64-Bit Process: True
    [23:02:16] [INF] [1] Main: User Interactive: True
    [23:02:16] [INF] [1] Main: Processor count: 24
    [23:02:16] [INF] [1] Main: Program data path: /home/existentialjazz/.local/share/jellyfin
    [23:02:16] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web
    [23:02:16] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
    [23:02:16] [FTL] [1] Main: Unhandled Exception
    System.InvalidOperationException: There is an error in XML document (0, 0).
    ---> System.Xml.XmlException: Root element is missing.
      at System.Xml.XmlTextReaderImpl.Throw(Exception e)
      at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
      at System.Xml.XmlTextReaderImpl.Read()
      at System.Xml.XmlReader.MoveToContent()
      at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderServerConfiguration.Read10_ServerConfiguration()
      --- 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

    ---

    I am going to presume it should not be doing this Upside-down-face

    Any ideas on what I did wrong, or that I am missing?

    Thanks for the assistance!
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-04-28, 04:24 AM
    Did you run out of disk space? Also, how did you launch Jellyfin? It looks like you ran it manually instead of with systemd since the data directory is in your home.
    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]
    ExistentialJazz
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #3
    2024-04-29, 02:07 PM (This post was last modified: 2024-04-29, 02:08 PM by ExistentialJazz. Edited 2 times in total.)
    My disk partition on my boot drive was too small originally and it ran out of space, once I realized my error I uninstalled Jellyfin along with all related components - changed the partition to be much much larger and reinstalled it using: curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash.

    I did type "jellyfin" in to launch to get status."

    I was presuming that would take care of the error, but it did not, hence why I posted on here.

    At this point it is running, but I am still seeing the error - so is this fine? Or did I do something wrong?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-04-29, 02:49 PM (This post was last modified: 2024-04-29, 02:49 PM by TheDreadPirate.)
    You should be starting jellyfin with "sudo systemctl start jellyfin". Swap "start" with "status" to see if it is running.
    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]
    « 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