Jellyfin Forum
SOLVED: [Help] Jellyfin does not start - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: [Help] Jellyfin does not start (/t-solved-help-jellyfin-does-not-start)



[Help] Jellyfin does not start - kly_218 - 2024-11-13

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.


RE: [Help] Jellyfin does not start - theguymadmax - 2024-11-13

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.


RE: [Help] Jellyfin does not start - kly_218 - 2024-11-13

(Yesterday, 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?


RE: [Help] Jellyfin does not start - TheDreadPirate - 2024-11-13

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.