2024-06-18, 01:08 PM
Hi,
I've seen a few similar issues on here but none of them were for Windows platform and their solutions didn't work. Perhaps my issue is slightly different.
Windows installation, Jellyfin 10.9.6.
The server tries to load and then start the service. After a few seconds it pops up a box "Could not start the Jellyfin server process after the specified wait period. The server worked yesterday just fine, then after a restart it kept giving this error so I did a full uninstall and reinstalled it. That fixed it, but then today same error. I need a better way to fix it than full uninstall and reinstall each time.
Any help is appreciated. Thanks!
I've seen a few similar issues on here but none of them were for Windows platform and their solutions didn't work. Perhaps my issue is slightly different.
Windows installation, Jellyfin 10.9.6.
The server tries to load and then start the service. After a few seconds it pops up a box "Could not start the Jellyfin server process after the specified wait period. The server worked yesterday just fine, then after a restart it kept giving this error so I did a full uninstall and reinstalled it. That fixed it, but then today same error. I need a better way to fix it than full uninstall and reinstall each time.
Any help is appreciated. Thanks!
Code:
[2024-06-18 00:28:45.372 +08:00] [INF] [16] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.2.153" request
[2024-06-18 00:29:00.078 +08:00] [INF] [8] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "picklingjeff". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-06-18 00:29:00.635 +08:00] [INF] [8] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2024-06-18 00:29:00.643 +08:00] [INF] [8] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "ffmpeg" "-analyzeduration 200M -probesize 1G -fflags +genpts -f matroska -i file:\"D:\Media\TV Shows\Last Week Tonight with John Oliver\Season 11\Last Week Tonight with John Oliver - S11E15 - June 16, 2024 - Trump's Second Term WEBDL-480p.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -start_at_zero -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type fmp4 -hls_fmp4_init_filename \"C:\ProgramData\Jellyfin\Server\cache\transcodes\8fca9ea5b37b812a0ee973ec1acbc147-1.mp4\" -start_number 0 -hls_segment_filename \"C:\ProgramData\Jellyfin\Server\cache\transcodes\8fca9ea5b37b812a0ee973ec1acbc147%d.mp4\" -hls_playlist_type vod -hls_list_size 0 -y \"C:\ProgramData\Jellyfin\Server\cache\transcodes\8fca9ea5b37b812a0ee973ec1acbc147.m3u8\""
[2024-06-18 00:29:01.486 +08:00] [INF] [36] MediaBrowser.MediaEncoding.Subtitles.SubtitleEncoder: "ffmpeg" "-i \"D:\Media\TV Shows\Last Week Tonight with John Oliver\Season 11\Last Week Tonight with John Oliver - S11E15 - June 16, 2024 - Trump's Second Term WEBDL-480p.mkv\" -copyts -map 0:2 -an -vn -c:s copy \"C:\ProgramData\Jellyfin\Server\data\subtitles\e\e605b540-6908-8159-bb70-cc09f8d83546.srt\""
[2024-06-18 00:29:11.724 +08:00] [INF] [12] MediaBrowser.MediaEncoding.Subtitles.SubtitleEncoder: ffmpeg subtitle extraction completed for "D:\Media\TV Shows\Last Week Tonight with John Oliver\Season 11\Last Week Tonight with John Oliver - S11E15 - June 16, 2024 - Trump's Second Term WEBDL-480p.mkv" to "C:\ProgramData\Jellyfin\Server\data\subtitles\e\e605b540-6908-8159-bb70-cc09f8d83546.srt"
[2024-06-18 00:29:11.730 +08:00] [INF] [20] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
[2024-06-18 01:07:30.145 +08:00] [INF] [14] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) "C:\ProgramData\Jellyfin\Server\cache\transcodes\8fca9ea5b37b812a0ee973ec1acbc147.m3u8"
[2024-06-18 01:07:31.736 +08:00] [INF] [14] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Mobile (iOS)" "1.5.0" playing "June 16, 2024: Trump’s Second Term". Stopped at "2305459" ms
[2024-06-18 01:07:43.312 +08:00] [WRN] [18] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS "192.168.2.153" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[2024-06-18 01:07:43.315 +08:00] [INF] [18] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.2.153" closed [2024-06-18 19:16:49.482 +08:00] [INF] [1] Main: Jellyfin version: "10.9.6"
[2024-06-18 19:16:49.500 +08:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
[2024-06-18 19:16:49.503 +08:00] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
[2024-06-18 19:16:49.504 +08:00] [INF] [1] Main: Operating system: "Microsoft Windows 10.0.22635"
[2024-06-18 19:16:49.506 +08:00] [INF] [1] Main: Architecture: X64
[2024-06-18 19:16:49.507 +08:00] [INF] [1] Main: 64-Bit Process: True
[2024-06-18 19:16:49.508 +08:00] [INF] [1] Main: User Interactive: True
[2024-06-18 19:16:49.509 +08:00] [INF] [1] Main: Processor count: 12
[2024-06-18 19:16:49.510 +08:00] [INF] [1] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
[2024-06-18 19:16:49.511 +08:00] [INF] [1] Main: Log directory path: "C:\ProgramData\Jellyfin\Server\log"
[2024-06-18 19:16:49.512 +08:00] [INF] [1] Main: Config directory path: "C:\ProgramData\Jellyfin\Server\config"
[2024-06-18 19:16:49.513 +08:00] [INF] [1] Main: Cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2024-06-18 19:16:49.514 +08:00] [INF] [1] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
[2024-06-18 19:16:49.515 +08:00] [INF] [1] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
[2024-06-18 19:16:50.252 +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)
[2024-06-18 19:19:41.619 +08:00] [INF] [1] Main: Jellyfin version: "10.9.6"
[2024-06-18 19:19:41.651 +08:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
[2024-06-18 19:19:41.655 +08:00] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
[2024-06-18 19:19:41.657 +08:00] [INF] [1] Main: Operating system: "Microsoft Windows 10.0.22635"
[2024-06-18 19:19:41.658 +08:00] [INF] [1] Main: Architecture: X64
[2024-06-18 19:19:41.659 +08:00] [INF] [1] Main: 64-Bit Process: True
[2024-06-18 19:19:41.660 +08:00] [INF] [1] Main: User Interactive: True
[2024-06-18 19:19:41.661 +08:00] [INF] [1] Main: Processor count: 12
[2024-06-18 19:19:41.662 +08:00] [INF] [1] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
[2024-06-18 19:19:41.663 +08:00] [INF] [1] Main: Log directory path: "C:\ProgramData\Jellyfin\Server\log"
[2024-06-18 19:19:41.664 +08:00] [INF] [1] Main: Config directory path: "C:\ProgramData\Jellyfin\Server\config"
[2024-06-18 19:19:41.664 +08:00] [INF] [1] Main: Cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2024-06-18 19:19:41.665 +08:00] [INF] [1] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
[2024-06-18 19:19:41.666 +08:00] [INF] [1] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
[2024-06-18 19:19:42.652 +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)
[2024-06-18 20:33:08.266 +08:00] [INF] [1] Main: Jellyfin version: "10.9.6"
[2024-06-18 20:33:08.287 +08:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
[2024-06-18 20:33:08.289 +08:00] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
[2024-06-18 20:33:08.290 +08:00] [INF] [1] Main: Operating system: "Microsoft Windows 10.0.22635"
[2024-06-18 20:33:08.291 +08:00] [INF] [1] Main: Architecture: X64
[2024-06-18 20:33:08.291 +08:00] [INF] [1] Main: 64-Bit Process: True
[2024-06-18 20:33:08.292 +08:00] [INF] [1] Main: User Interactive: True
[2024-06-18 20:33:08.293 +08:00] [INF] [1] Main: Processor count: 12
[2024-06-18 20:33:08.293 +08:00] [INF] [1] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
[2024-06-18 20:33:08.294 +08:00] [INF] [1] Main: Log directory path: "C:\ProgramData\Jellyfin\Server\log"
[2024-06-18 20:33:08.294 +08:00] [INF] [1] Main: Config directory path: "C:\ProgramData\Jellyfin\Server\config"
[2024-06-18 20:33:08.295 +08:00] [INF] [1] Main: Cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2024-06-18 20:33:08.295 +08:00] [INF] [1] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
[2024-06-18 20:33:08.296 +08:00] [INF] [1] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
[2024-06-18 20:33:08.940 +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)
[2024-06-18 20:39:02.334 +08:00] [INF] [1] Main: Jellyfin version: "10.9.6"
[2024-06-18 20:39:02.348 +08:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
[2024-06-18 20:39:02.351 +08:00] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
[2024-06-18 20:39:02.352 +08:00] [INF] [1] Main: Operating system: "Microsoft Windows 10.0.22635"
[2024-06-18 20:39:02.352 +08:00] [INF] [1] Main: Architecture: X64
[2024-06-18 20:39:02.353 +08:00] [INF] [1] Main: 64-Bit Process: True
[2024-06-18 20:39:02.354 +08:00] [INF] [1] Main: User Interactive: True
[2024-06-18 20:39:02.354 +08:00] [INF] [1] Main: Processor count: 12
[2024-06-18 20:39:02.355 +08:00] [INF] [1] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
[2024-06-18 20:39:02.355 +08:00] [INF] [1] Main: Log directory path: "C:\ProgramData\Jellyfin\Server\log"
[2024-06-18 20:39:02.356 +08:00] [INF] [1] Main: Config directory path: "C:\ProgramData\Jellyfin\Server\config"
[2024-06-18 20:39:02.356 +08:00] [INF] [1] Main: Cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2024-06-18 20:39:02.357 +08:00] [INF] [1] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
[2024-06-18 20:39:02.358 +08:00] [INF] [1] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
[2024-06-18 20:39:02.386 +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)
[2024-06-18 20:41:29.208 +08:00] [INF] [1] Main: Jellyfin version: "10.9.6"
[2024-06-18 20:41:29.221 +08:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
[2024-06-18 20:41:29.223 +08:00] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
[2024-06-18 20:41:29.224 +08:00] [INF] [1] Main: Operating system: "Microsoft Windows 10.0.22635"
[2024-06-18 20:41:29.225 +08:00] [INF] [1] Main: Architecture: X64
[2024-06-18 20:41:29.226 +08:00] [INF] [1] Main: 64-Bit Process: True
[2024-06-18 20:41:29.226 +08:00] [INF] [1] Main: User Interactive: True
[2024-06-18 20:41:29.227 +08:00] [INF] [1] Main: Processor count: 12
[2024-06-18 20:41:29.228 +08:00] [INF] [1] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
[2024-06-18 20:41:29.228 +08:00] [INF] [1] Main: Log directory path: "C:\ProgramData\Jellyfin\Server\log"
[2024-06-18 20:41:29.229 +08:00] [INF] [1] Main: Config directory path: "C:\ProgramData\Jellyfin\Server\config"
[2024-06-18 20:41:29.229 +08:00] [INF] [1] Main: Cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2024-06-18 20:41:29.230 +08:00] [INF] [1] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
[2024-06-18 20:41:29.231 +08:00] [INF] [1] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
[2024-06-18 20:41:29.255 +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)
[2024-06-18 20:50:34.181 +08:00] [INF] [1] Main: Jellyfin version: "10.9.6"
[2024-06-18 20:50:34.197 +08:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
[2024-06-18 20:50:34.201 +08:00] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
[2024-06-18 20:50:34.203 +08:00] [INF] [1] Main: Operating system: "Microsoft Windows 10.0.22635"
[2024-06-18 20:50:34.204 +08:00] [INF] [1] Main: Architecture: X64
[2024-06-18 20:50:34.205 +08:00] [INF] [1] Main: 64-Bit Process: True
[2024-06-18 20:50:34.206 +08:00] [INF] [1] Main: User Interactive: True
[2024-06-18 20:50:34.207 +08:00] [INF] [1] Main: Processor count: 12
[2024-06-18 20:50:34.208 +08:00] [INF] [1] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
[2024-06-18 20:50:34.209 +08:00] [INF] [1] Main: Log directory path: "C:\ProgramData\Jellyfin\Server\log"
[2024-06-18 20:50:34.210 +08:00] [INF] [1] Main: Config directory path: "C:\ProgramData\Jellyfin\Server\config"
[2024-06-18 20:50:34.210 +08:00] [INF] [1] Main: Cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2024-06-18 20:50:34.211 +08:00] [INF] [1] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
[2024-06-18 20:50:34.213 +08:00] [INF] [1] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
[2024-06-18 20:50:34.297 +08:00] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"CreateNetworkConfiguration"'
[2024-06-18 20:50:34.299 +08:00] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Migration '"CreateNetworkConfiguration"' applied successfully
[2024-06-18 20:50:34.305 +08:00] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"MigrateMusicBrainzTimeout"'
[2024-06-18 20:50:34.324 +08:00] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Migration '"MigrateMusicBrainzTimeout"' applied successfully
[2024-06-18 20:50:34.325 +08:00] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"MigrateNetworkConfiguration"'
[2024-06-18 20:50:34.337 +08:00] [ERR] [1] Jellyfin.Server.Migrations.PreStartupRoutines.MigrateNetworkConfiguration: Migrate NetworkConfiguration deserialize Invalid Operation error
System.InvalidOperationException: There is an error in XML document (22, 6).
---> System.Xml.XmlException: 'Element' is an invalid XmlNodeType.
at System.Xml.XmlReader.FinishReadElementContentAsXxx()
at System.Xml.XmlReader.ReadElementContentAsString()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderOldNetworkConfiguration.Read2_OldNetworkConfiguration(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderOldNetworkConfiguration.Read3_NetworkConfiguration()
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 Jellyfin.Server.Migrations.PreStartupRoutines.MigrateNetworkConfiguration.Perform()
[2024-06-18 20:50:34.345 +08:00] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Migration '"MigrateNetworkConfiguration"' applied successfully
[2024-06-18 20:50:34.389 +08:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2024-06-18 20:50:34.430 +08:00] [ERR] [1] Emby.Server.Implementations.Plugins.PluginManager: Error deserializing " ".
System.Text.Json.JsonException: '0x00' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: '0x00' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo`1 jsonTypeInfo, Nullable`1 actualByteCount)
at System.Text.Json.JsonSerializer.Deserialize[TValue](ReadOnlySpan`1 utf8Json, JsonSerializerOptions options)
at Emby.Server.Implementations.Plugins.PluginManager.LoadManifest(String dir)
[2024-06-18 20:50:34.448 +08:00] [ERR] [1] Emby.Server.Implementations.Plugins.PluginManager: Error deserializing " ".
System.Text.Json.JsonException: '0x00' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: '0x00' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo`1 jsonTypeInfo, Nullable`1 actualByteCount)
at System.Text.Json.JsonSerializer.Deserialize[TValue](ReadOnlySpan`1 utf8Json, JsonSerializerOptions options)
at Emby.Server.Implementations.Plugins.PluginManager.LoadManifest(String dir)
[2024-06-18 20:50:34.455 +08:00] [ERR] [1] Emby.Server.Implementations.Plugins.PluginManager: Error deserializing " ".
System.Text.Json.JsonException: '0x00' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: '0x00' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo`1 jsonTypeInfo, Nullable`1 actualByteCount)
at System.Text.Json.JsonSerializer.Deserialize[TValue](ReadOnlySpan`1 utf8Json, JsonSerializerOptions options)
at Emby.Server.Implementations.Plugins.PluginManager.LoadManifest(String dir)
[2024-06-18 20:50:34.526 +08:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2024-06-18 20:50:34.541 +08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.AniDB, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null" from "C:\ProgramData\Jellyfin\Server\plugins\AniDB_9.0.0.0\Jellyfin.Plugin.AniDB.dll"
[2024-06-18 20:50:34.549 +08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.Dlna, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" from "C:\ProgramData\Jellyfin\Server\plugins\DLNA_2.0.0.0\Jellyfin.Plugin.Dlna.dll"
[2024-06-18 20:50:34.550 +08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.Dlna.Model, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" from "C:\ProgramData\Jellyfin\Server\plugins\DLNA_2.0.0.0\Jellyfin.Plugin.Dlna.Model.dll"
[2024-06-18 20:50:34.553 +08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.Dlna.Playback, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" from "C:\ProgramData\Jellyfin\Server\plugins\DLNA_2.0.0.0\Jellyfin.Plugin.Dlna.Playback.dll"
[2024-06-18 20:50:34.555 +08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Rssdp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" from "C:\ProgramData\Jellyfin\Server\plugins\DLNA_2.0.0.0\Rssdp.dll"
[2024-06-18 20:50:34.561 +08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.Tvdb, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null" from "C:\ProgramData\Jellyfin\Server\plugins\TheTVDB_13.0.0.0\Jellyfin.Plugin.Tvdb.dll"
[2024-06-18 20:50:34.567 +08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Tvdb.Sdk, Version=4.7.9.1, Culture=neutral, PublicKeyToken=null" from "C:\ProgramData\Jellyfin\Server\plugins\TheTVDB_13.0.0.0\Tvdb.Sdk.dll"
[2024-06-18 20:50:34.662 +08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-06-18 20:50:34.665 +08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[2024-06-18 20:50:34.667 +08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-06-18 20:50:34.670 +08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["192.168.2.137", "127.0.0.1"]
[2024-06-18 20:50:34.671 +08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
[2024-06-18 20:50:34.672 +08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is "Allowlist"
[2024-06-18 20:50:34.673 +08:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
[2024-06-18 20:50:35.990 +08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AniDB" "9.0.0.0"
[2024-06-18 20:50:35.992 +08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "DLNA" "2.0.0.0"
[2024-06-18 20:50:35.994 +08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TheTVDB" "13.0.0.0"
[2024-06-18 20:50:35.995 +08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.9.6.0"
[2024-06-18 20:50:35.997 +08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.9.6.0"
[2024-06-18 20:50:35.998 +08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.9.6.0"
[2024-06-18 20:50:36.016 +08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.9.6.0"
[2024-06-18 20:50:36.017 +08:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.9.6.0"
[2024-06-18 20:50:36.072 +08:00] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"DisableTranscodingThrottling"'
[2024-06-18 20:50:36.089 +08:00] [ERR] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Error loading configuration file: "C:\ProgramData\Jellyfin\Server\config\encoding.xml"
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.XmlSerializationReaderEncodingOptions.Read4_EncodingOptions()
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 Emby.Server.Implementations.AppBase.BaseConfigurationManager.LoadConfiguration(String path, Type configurationType)
[2024-06-18 20:50:36.094 +08:00] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Migration '"DisableTranscodingThrottling"' applied successfully
[2024-06-18 20:50:36.096 +08:00] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"CreateLoggingConfigHeirarchy"'
[2024-06-18 20:50:36.097 +08:00] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Migration '"CreateLoggingConfigHeirarchy"' applied successfully
[2024-06-18 20:50:36.102 +08:00] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"MigrateActivityLogDatabase"'
[2024-06-18 20:50:36.106 +08:00] [WRN] [1] Jellyfin.Server.Migrations.Routines.MigrateActivityLogDb: Migrating the activity database may take a while, do not stop Jellyfin.
[2024-06-18 20:50:36.192 +08:00] [ERR] [1] Jellyfin.Server.Migrations.MigrationRunner: Could not apply migration '"MigrateActivityLogDatabase"'
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: ActivityLog'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
at Emby.Server.Implementations.Data.SqliteExtensions.Query(SqliteConnection sqliteConnection, String commandText)+MoveNext()
at Jellyfin.Server.Migrations.Routines.MigrateActivityLogDb.Perform()
at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
[2024-06-18 20:50:36.196 +08:00] [FTL] [1] Main: Error while starting server
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: ActivityLog'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
at Emby.Server.Implementations.Data.SqliteExtensions.Query(SqliteConnection sqliteConnection, String commandText)+MoveNext()
at Jellyfin.Server.Migrations.Routines.MigrateActivityLogDb.Perform()
at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
[2024-06-18 20:50:36.199 +08:00] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
[2024-06-18 20:50:36.218 +08:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "CoreAppHost"
[2024-06-18 20:50:36.219 +08:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzArtistProvider"
[2024-06-18 20:50:36.220 +08:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzAlbumProvider"
[2024-06-18 20:50:36.221 +08:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "PluginManager"