Skip to content

[Issue]: Jellyfin crashing upon startup #12254

Closed
@grillgamesh

Description

Please describe your bug

Crashes upon launch.

Reproduction Steps

rebooted machine (previously had it working fine pre-reboot), and where upon logon jellyfin is set to auto-start.
When I received the popup saying it failed to start, i checked the log; saw the xml error, and decided to make an issue.

Jellyfin Version

10.9.2

if other:

No response

Environment

- OS: Windows 10, 22H2
- Linux Kernel: N/A
- Virtualization: N/A
- Clients: Local (via browser)
- Browser: Firefox
- FFmpeg Version: latest bundled (I don't recall, and lack the ability to check via jellyfin cli / GUI
- Playback Method: N/A
- Hardware Acceleration: enabled
- GPU Model: NVIDIA RTX 2080 VENTUS OC
- Plugins: anilist metadata fetcher
- Reverse Proxy: N/A
- Base URL: 127.0.0.1:8096
- Networking: 2.5Gb Ethernet
- Storage:1TB SSD (jellyfin server dir) 4TB HDD (media dir)

Jellyfin logs

[2024-07-10 21:45:47.211 -06:00] [INF] [1] Main: Jellyfin version: "10.9.2"
[2024-07-10 21:45:47.227 -06:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\Users\ADMIN\Documents\Jellyfin\Server\log]"]
[2024-07-10 21:45:47.229 -06:00] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\Users\ADMIN\Documents\Jellyfin\Server"]
[2024-07-10 21:45:47.231 -06:00] [INF] [1] Main: Operating system: "Microsoft Windows 10.0.19045"
[2024-07-10 21:45:47.232 -06:00] [INF] [1] Main: Architecture: X64
[2024-07-10 21:45:47.234 -06:00] [INF] [1] Main: 64-Bit Process: True
[2024-07-10 21:45:47.235 -06:00] [INF] [1] Main: User Interactive: True
[2024-07-10 21:45:47.236 -06:00] [INF] [1] Main: Processor count: 16
[2024-07-10 21:45:47.237 -06:00] [INF] [1] Main: Program data path: "C:\Users\ADMIN\Documents\Jellyfin\Server"
[2024-07-10 21:45:47.238 -06:00] [INF] [1] Main: Log directory path: "C:\Users\ADMIN\Documents\Jellyfin\Server\log"
[2024-07-10 21:45:47.239 -06:00] [INF] [1] Main: Config directory path: "C:\Users\ADMIN\Documents\Jellyfin\Server\config"
[2024-07-10 21:45:47.240 -06:00] [INF] [1] Main: Cache path: "C:\Users\ADMIN\Documents\Jellyfin\Server\cache"
[2024-07-10 21:45:47.241 -06:00] [INF] [1] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
[2024-07-10 21:45:47.242 -06:00] [INF] [1] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
[2024-07-10 21:45:47.269 -06: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)

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions