• 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 XML

     
    • 0 Vote(s) - 0 Average

    XML

    rebooted my entire laptop and jellyfin randomly stopped working
    TheKingOfAllBiscuits
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2025 Sep
    Reputation: 0
    Country:United States
    #1
    2025-09-22, 09:29 PM
    rebooted my entire proxmox server and my jellyfin stopped connecting to the web browser not being able to establish a connection. checked docker containers and it said it was running. checked logs and it gave me this error (endless code going fast as shit) im no expert but a error on line 0, 0 probably isnt good. what should i do?
    extra information: i have all my arrs and jellyfin in different docker containers, i run proxmox and jellyfin is the only one that stopped working 



    Entire error (continues repeating)
    [21:16:00] [INF] [1] Main: Jellyfin version: 10.10.7
    [21:16:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_CACHE_DIR, /config/cache]", "[JELLYFIN_WEB_DIR, /usr/share/jellyfin/web]", "[JELLYFIN_PublishedServerUrl, ]http://10.0.0.156]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CONFIG_DIR, /config]", "[JELLYFIN_DATA_DIR, /config/data]"]
    [21:16:00] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
    [21:16:00] [INF] [1] Main: Operating system: Ubuntu 24.04.3 LTS
    [21:16:00] [INF] [1] Main: Architecture: X64
    [21:16:00] [INF] [1] Main: 64-Bit Process: True
    [21:16:00] [INF] [1] Main: User Interactive: True
    [21:16:00] [INF] [1] Main: Processor count: 4
    [21:16:00] [INF] [1] Main: Program data path: /config/data
    [21:16:00] [INF] [1] Main: Log directory path: /config/log
    [21:16:00] [INF] [1] Main: Config directory path: /config
    [21:16:00] [INF] [1] Main: Cache path: /config/cache
    [21:16:00] [INF] [1] Main: Temp directory path: /tmp/jellyfin
    [21:16:00] [INF] [1] Main: Web resources path: /usr/share/jellyfin/web
    [21:16:00] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
    [21:16:00] [FTL] [1] Main: Unhandled Exception
    System.InvalidOperationException: There is an error in XML document (0, 0).
    ^C ---> System.Xml.XmlException: Root element is missing.
    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    at System.Xml.XmlReader.MoveToContent()
    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 (0, 0).
    ---> System.Xml.XmlException: Root element is missing.
    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    at System.Xml.XmlReader.MoveToContent()
    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)
    theguymadmax
    Online

    Community Moderator

    Posts: 1,368
    Threads: 0
    Joined: 2024 Jun
    Reputation: 72
    #2
    2025-09-22, 09:58 PM
    Try these command:
    Code:
    sudo systemctl stop jellyfin
    sudo mv /etc/jellyfin/migrations.xml /etc/jellyfin/migrations.xml.bak
    sudo mv /etc/jellyfin/system.xml /etc/jellyfin/system.xml.bak
    sudo systemctl start jellyfin
    « 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