• 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: [Help] Jellyfin does not start

     
    • 0 Vote(s) - 0 Average

    SOLVED: [Help] Jellyfin does not start

    Startup error
    kly_218
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #1
    2024-11-13, 12:14 AM
    Hi! This is my first time in here. I'm new to anything about Media Network Server things so bare with my quesetions. 

    When I first set up my Jellyfin server it was running well but suddenly one day it would open at startup. it only says "Could not start Jellyfin server after the specified wait period" and then refers me to a log file that says this: 


    Code:
    [2024-11-13 07:08:15.764 +08:00] [INF] [1] Main: Jellyfin version: "10.9.6"
    [2024-11-13 07:08:15.791 +08:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, E:\ProgramData\Jellyfin\Server\log]"]
    [2024-11-13 07:08:15.794 +08:00] [INF] [1] Main: Arguments: ["E:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "E:\ProgramData\Jellyfin\Server"]
    [2024-11-13 07:08:15.796 +08:00] [INF] [1] Main: Operating system: "Microsoft Windows 10.0.19045"
    [2024-11-13 07:08:15.797 +08:00] [INF] [1] Main: Architecture: X64
    [2024-11-13 07:08:15.798 +08:00] [INF] [1] Main: 64-Bit Process: True
    [2024-11-13 07:08:15.799 +08:00] [INF] [1] Main: User Interactive: True
    [2024-11-13 07:08:15.800 +08:00] [INF] [1] Main: Processor count: 8
    [2024-11-13 07:08:15.801 +08:00] [INF] [1] Main: Program data path: "E:\ProgramData\Jellyfin\Server"
    [2024-11-13 07:08:15.802 +08:00] [INF] [1] Main: Log directory path: "E:\ProgramData\Jellyfin\Server\log"
    [2024-11-13 07:08:15.803 +08:00] [INF] [1] Main: Config directory path: "E:\ProgramData\Jellyfin\Server\config"
    [2024-11-13 07:08:15.804 +08:00] [INF] [1] Main: Cache path: "E:\ProgramData\Jellyfin\Server\cache"
    [2024-11-13 07:08:15.806 +08:00] [INF] [1] Main: Web resources path: "E:\Program Files\Jellyfin\Server\jellyfin-web"
    [2024-11-13 07:08:15.808 +08:00] [INF] [1] Main: Application directory: "E:\Program Files\Jellyfin\Server\"
    [2024-11-13 07:08:18.311 +08:00] [FTL] [1] Main: Unhandled Exception
    System.InvalidOperationException: There is an error in XML document (1, 1).
    ---> System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
      at System.Xml.XmlTextReaderImpl.Throw(Exception e)
      at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
      at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
      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)

    Can anyone help me please? 

    I also tried to open up the media player but it wouldn't go past the logo.


    Attached Files Thumbnail(s)
       
    Go to solution
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,086
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #2
    2024-11-13, 02:18 AM
    Make sure Jellyfin is not running and in
    Code:
    E:\ProgramData\Jellyfin\Server\config\
    • system.xml - change IsStartupWizardCompleted to false
    • Rename migrations.xml to migrations.xml.bak
    Next, launch Jellyfin. It may take longer to start up the first time, so just be patient and let it run.
    1
    kly_218
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #3
    2024-11-13, 02:52 AM
    (2024-11-13, 02:18 AM)theguymadmax Wrote: Make sure Jellyfin is not running and in
    Code:
    E:\ProgramData\Jellyfin\Server\config\
    • system.xml - change IsStartupWizardCompleted to false
    • Rename migrations.xml to migrations.xml.bak
    Next, launch Jellyfin. It may take longer to start up the first time, so just be patient and let it run.

    Thank you!!! if its not too complicated, is it okay to ask what happened with this error? and what did the solution actually did?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-11-13, 04:39 PM
    It's hard to say what happened. Interrupted upgrades is typically the cause. But it doesn't sound like you upgraded recently, since you are still on 10.9.6.
    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