2024-05-31, 07:55 AM
Hi together,
after upgrading to Jellyfin 10.9.1/10.9.2/10.9.3 my Jellyfin isn't accessible via Internet anymore. Nginx gave my the famous 502 Bad Gateway Error. By checking out the logs of all relevant dockers on the server it seems like Jellyfin is the problem, because it does not start up anymore. Meaning, I cannot even access it via webUI directly over the IP.
The Jellyfin log file shows the following:
For me it looks liek there is a problem with Musicbrainz. Can somebody please help me and tell me how to fix it?
after upgrading to Jellyfin 10.9.1/10.9.2/10.9.3 my Jellyfin isn't accessible via Internet anymore. Nginx gave my the famous 502 Bad Gateway Error. By checking out the logs of all relevant dockers on the server it seems like Jellyfin is the problem, because it does not start up anymore. Meaning, I cannot even access it via webUI directly over the IP.
The Jellyfin log file shows the following:
Code:
[09:41:23] [INF] [1] Main: Jellyfin version: 10.9.3
[09:41:23] [INF] [1] Main: Environment Variables: ["[JELLYFIN_CACHE_DIR, /config/cache]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_DATA_DIR, /config/data]", "[JELLYFIN_WEB_DIR, /usr/share/jellyfin/web]", "[JELLYFIN_CONFIG_DIR, /config]"]
[09:41:23] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
[09:41:23] [INF] [1] Main: Operating system: Ubuntu 22.04.4 LTS
[09:41:23] [INF] [1] Main: Architecture: X64
[09:41:23] [INF] [1] Main: 64-Bit Process: TrueUnhandled 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)
[09:41:23] [INF] [1] Main: User Interactive: True at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderOldMusicBrainzConfiguration.Read3_PluginConfiguration()
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)
[09:41:23] [INF] [1] Main: Processor count: 4 at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
at Jellyfin.Server.Migrations.PreStartupRoutines.MigrateMusicBrainzTimeout.ReadOld(String path)
at Jellyfin.Server.Migrations.PreStartupRoutines.MigrateMusicBrainzTimeout.Perform()
at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
at Jellyfin.Server.Program.StartApp(StartupOptions options)
at Jellyfin.Server.Program.<Main>(String[] args)
[09:41:23] [INF] [1] Main: Program data path: /config/data
[09:41:23] [INF] [1] Main: Log directory path: /config/log
[09:41:23] [INF] [1] Main: Config directory path: /config
[09:41:23] [INF] [1] Main: Cache path: /config/cache
[09:41:23] [INF] [1] Main: Web resources path: /usr/share/jellyfin/web
[09:41:23] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
[09:41:23] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'MigrateMusicBrainzTimeout'
[09:41:23] [ERR] [1] Jellyfin.Server.Migrations.MigrationRunner: Could not apply migration 'MigrateMusicBrainzTimeout'
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.XmlSerializationReaderOldMusicBrainzConfiguration.Read3_PluginConfiguration()
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.MigrateMusicBrainzTimeout.ReadOld(String path)
at Jellyfin.Server.Migrations.PreStartupRoutines.MigrateMusicBrainzTimeout.Perform()
at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
[09:41:23] [FTL] [1] Main: 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.XmlSerializationReaderOldMusicBrainzConfiguration.Read3_PluginConfiguration()
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.MigrateMusicBrainzTimeout.ReadOld(String path)
at Jellyfin.Server.Migrations.PreStartupRoutines.MigrateMusicBrainzTimeout.Perform()
at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
at Jellyfin.Server.Program.StartApp(StartupOptions options)
at Jellyfin.Server.Program.<Main>(String[] args)
For me it looks liek there is a problem with Musicbrainz. Can somebody please help me and tell me how to fix it?