2024-06-05, 09:28 PM
Hello, I just started having this problem of not being able to watch my movies because the webserver would not connect. It gives me a code 502 Bad Gateway (Open Resty)
I have seen another post saying it might be because of my low disk space but i've removed like 1tb of data and it still didn't work, I restarted twice and updated my ubuntu.
I am using Linuxserver.io Jellyfin latest and problem came with 10.9.4, don't know what to do. Also the 22.04 is wrong I just updated to 24.04.
I tried logging with local IP and port and did not work. everything setup behind NPM and it worked well before, all my other containers are working.
Thanks in advance for help.
Logs below :
I have seen another post saying it might be because of my low disk space but i've removed like 1tb of data and it still didn't work, I restarted twice and updated my ubuntu.
I am using Linuxserver.io Jellyfin latest and problem came with 10.9.4, don't know what to do. Also the 22.04 is wrong I just updated to 24.04.
I tried logging with local IP and port and did not work. everything setup behind NPM and it worked well before, all my other containers are working.
Thanks in advance for help.
Logs below :
Code:
[23:23:08] [INF] [1] Main: Jellyfin version: 10.9.4
[23:23:08] [INF] [1] Main: Environment Variables: ["[JELLYFIN_CACHE_DIR, /config/cache]", "[JELLYFIN_DATA_DIR, /config/data]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CONFIG_DIR, /config]", "[JELLYFIN_WEB_DIR, /usr/share/jellyfin/web]"]
[23:23:08] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
[23:23:08] [INF] [1] Main: Operating system: Ubuntu 22.04.4 LTS
[23:23:08] [INF] [1] Main: Architecture: X64
[23:23:08] [INF] [1] Main: 64-Bit Process: True
[23:23:08] [INF] [1] Main: User Interactive: True
[23:23:08] [INF] [1] Main: Processor count: 20
[23:23:08] [INF] [1] Main: Program data path: /config/data
[23:23:08] [INF] [1] Main: Log directory path: /config/log
[23:23:08] [INF] [1] Main: Config directory path: /config
[23:23:08] [INF] [1] Main: Cache path: /config/cache
[23:23:08] [INF] [1] Main: Web resources path: /usr/share/jellyfin/web
[23:23:08] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
[23:23:08] [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.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)
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.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)