• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Jellyfin become unresponsive, and will not start after reboot

     
    • 0 Vote(s) - 0 Average

    Jellyfin become unresponsive, and will not start after reboot

    jsnotlout1
    Offline

    Junior Member

    Posts: 19
    Threads: 4
    Joined: 2023 Nov
    Reputation: 0
    #1
    2024-10-04, 10:18 PM (This post was last modified: 2024-10-04, 10:20 PM by jsnotlout1. Edited 1 time in total.)
    I was alerted by my family that the jellyfin server was not allowing anyone to log in. So after trying to solve the problem, I chose to reboot the server, but now it will not start at all. I have a theory, that all of this is caused directly by a failed release upgrade that didn't fully complete. The jellyfin server has not been updating itself via apt-get properly

    Based on the frequency of issues like this, I am assuming that my server itself is messed up, That being the case, is there any way to backup the jellyfin config files so I can restore most of to a fresh server and jellyfin instance?

       

       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-10-04, 11:21 PM (This post was last modified: 2024-10-04, 11:21 PM by TheDreadPirate.)
    Share the output of this command via pastebin.

    Code:
    sudo journalctl -u jellyfin -n 200 --no-pager

    Also, what distro are you using?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    jsnotlout1
    Offline

    Junior Member

    Posts: 19
    Threads: 4
    Joined: 2023 Nov
    Reputation: 0
    #3
    2024-10-04, 11:27 PM
    (2024-10-04, 11:21 PM)TheDreadPirate Wrote: Share the output of this command via pastebin.

    Code:
    sudo journalctl -u jellyfin -n 200 --no-pager

    Also, what distro are you using?

    I am using ubuntu 24.04.1 LTS

    command:
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at System.Xml.XmlReader.MoveToContent()
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderMigrationOptions.Read4_MigrationOptions()
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    --- End of inner exception stack trace ---
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromStream(Type type, Stream stream)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromFile(Type type, String file)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at Jellyfin.Server.Program.StartApp(StartupOptions options)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at Jellyfin.Server.Program.<Main>(String[] args)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]: Unhandled exception. System.InvalidOperationException: There is an error in XML document (0, 0).
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:  ---> System.Xml.XmlException: Root element is missing.
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at System.Xml.XmlReader.MoveToContent()
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderMigrationOptions.Read4_MigrationOptions()
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    --- End of inner exception stack trace ---
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromStream(Type type, Stream stream)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromFile(Type type, String file)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at Jellyfin.Server.Program.StartApp(StartupOptions options)
    Oct 04 21:33:13 flintlockwood jellyfin[1339796]:    at Jellyfin.Server.Program.<Main>(String[] args)
    Oct 04 21:33:14 flintlockwood systemd[1]: jellyfin.service: Main process exited, code=dumped, status=6/ABRT
    Oct 04 21:33:14 flintlockwood systemd[1]: jellyfin.service: Failed with result 'core-dump'.
    Oct 04 21:33:14 flintlockwood systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 2.
    Oct 04 21:33:14 flintlockwood systemd[1]: Started jellyfin.service - Jellyfin Media Server.
    Oct 04 21:33:14 flintlockwood (jellyfin)[1339845]: jellyfin.service: Referenced but unset environment variable evaluates to an empty string: JELLYFIN_NOWEBAPP_OPT, JELLYFIN_SERVICE_OPT
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: [21:33:14] [INF] Jellyfin version: 10.9.7
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: [21:33:14] [INF] Environment Variables: ["[JELLYFIN_LOG_DIR, /var/log/jellyfin]", "[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]", "[JELLYFIN_ARGS, $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS --datadir $JELLYFIN_DATA_DIR --configdir $JELLYFIN_CONFIG_DIR --logdir $JELLYFIN_LOG_DIR --cachedir $JELLYFIN_CACHE_DIR]", "[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]", "[JELLYFIN_DATA_DIR, /var/lib/jellyfin]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_USER, jellyfin]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_ADDITIONAL_OPTS, ]"]
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: [21:33:14] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: [21:33:14] [INF] Operating system: Ubuntu 24.04.1 LTS
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: [21:33:14] [INF] Architecture: X64
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: [21:33:14] [INF] 64-Bit Process: True
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: [21:33:14] [INF] User Interactive: True
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: [21:33:14] [INF] Processor count: 8
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: [21:33:14] [INF] Program data path: /var/lib/jellyfin
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: [21:33:14] [INF] Log directory path: /var/log/jellyfin
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: [21:33:14] [INF] Config directory path: /etc/jellyfin
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: [21:33:14] [INF] Cache path: /var/cache/jellyfin
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: [21:33:14] [INF] Web resources path: /usr/share/jellyfin/web
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: [21:33:14] [INF] Application directory: /usr/lib/jellyfin/bin/
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: [21:33:14] [FTL] Unhandled Exception
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: System.InvalidOperationException: There is an error in XML document (0, 0).
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:  ---> System.Xml.XmlException: Root element is missing.
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at System.Xml.XmlReader.MoveToContent()
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderMigrationOptions.Read4_MigrationOptions()
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    --- End of inner exception stack trace ---
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromStream(Type type, Stream stream)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromFile(Type type, String file)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at Jellyfin.Server.Program.StartApp(StartupOptions options)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at Jellyfin.Server.Program.<Main>(String[] args)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]: Unhandled exception. System.InvalidOperationException: There is an error in XML document (0, 0).
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:  ---> System.Xml.XmlException: Root element is missing.
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at System.Xml.XmlReader.MoveToContent()
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderMigrationOptions.Read4_MigrationOptions()
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    --- End of inner exception stack trace ---
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromStream(Type type, Stream stream)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromFile(Type type, String file)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at Jellyfin.Server.Program.StartApp(StartupOptions options)
    Oct 04 21:33:14 flintlockwood jellyfin[1339845]:    at Jellyfin.Server.Program.<Main>(String[] args)
    Oct 04 21:33:15 flintlockwood systemd[1]: jellyfin.service: Main process exited, code=dumped, status=6/ABRT
    Oct 04 21:33:15 flintlockwood systemd[1]: jellyfin.service: Failed with result 'core-dump'.
    Oct 04 21:33:15 flintlockwood systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 3.
    Oct 04 21:33:15 flintlockwood systemd[1]: Started jellyfin.service - Jellyfin Media Server.
    Oct 04 21:33:15 flintlockwood (jellyfin)[1339908]: jellyfin.service: Referenced but unset environment variable evaluates to an empty string: JELLYFIN_NOWEBAPP_OPT, JELLYFIN_SERVICE_OPT
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: [21:33:16] [INF] Jellyfin version: 10.9.7
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: [21:33:16] [INF] Environment Variables: ["[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_ARGS, $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS --datadir $JELLYFIN_DATA_DIR --configdir $JELLYFIN_CONFIG_DIR --logdir $JELLYFIN_LOG_DIR --cachedir $JELLYFIN_CACHE_DIR]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_ADDITIONAL_OPTS, ]", "[JELLYFIN_LOG_DIR, /var/log/jellyfin]", "[JELLYFIN_USER, jellyfin]", "[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]", "[JELLYFIN_DATA_DIR, /var/lib/jellyfin]", "[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]"]
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: [21:33:16] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: [21:33:16] [INF] Operating system: Ubuntu 24.04.1 LTS
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: [21:33:16] [INF] Architecture: X64
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: [21:33:16] [INF] 64-Bit Process: True
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: [21:33:16] [INF] User Interactive: True
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: [21:33:16] [INF] Processor count: 8
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: [21:33:16] [INF] Program data path: /var/lib/jellyfin
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: [21:33:16] [INF] Log directory path: /var/log/jellyfin
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: [21:33:16] [INF] Config directory path: /etc/jellyfin
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: [21:33:16] [INF] Cache path: /var/cache/jellyfin
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: [21:33:16] [INF] Web resources path: /usr/share/jellyfin/web
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: [21:33:16] [INF] Application directory: /usr/lib/jellyfin/bin/
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: [21:33:16] [FTL] Unhandled Exception
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: System.InvalidOperationException: There is an error in XML document (0, 0).
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:  ---> System.Xml.XmlException: Root element is missing.
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at System.Xml.XmlReader.MoveToContent()
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderMigrationOptions.Read4_MigrationOptions()
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    --- End of inner exception stack trace ---
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromStream(Type type, Stream stream)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromFile(Type type, String file)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at Jellyfin.Server.Program.StartApp(StartupOptions options)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at Jellyfin.Server.Program.<Main>(String[] args)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]: Unhandled exception. System.InvalidOperationException: There is an error in XML document (0, 0).
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:  ---> System.Xml.XmlException: Root element is missing.
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at System.Xml.XmlReader.MoveToContent()
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderMigrationOptions.Read4_MigrationOptions()
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    --- End of inner exception stack trace ---
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromStream(Type type, Stream stream)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromFile(Type type, String file)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at Jellyfin.Server.Program.StartApp(StartupOptions options)
    Oct 04 21:33:16 flintlockwood jellyfin[1339908]:    at Jellyfin.Server.Program.<Main>(String[] args)
    Oct 04 21:33:17 flintlockwood systemd[1]: jellyfin.service: Main process exited, code=dumped, status=6/ABRT
    Oct 04 21:33:17 flintlockwood systemd[1]: jellyfin.service: Failed with result 'core-dump'.
    Oct 04 21:33:17 flintlockwood systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 4.
    Oct 04 21:33:17 flintlockwood systemd[1]: Started jellyfin.service - Jellyfin Media Server.
    Oct 04 21:33:17 flintlockwood (jellyfin)[1339950]: jellyfin.service: Referenced but unset environment variable evaluates to an empty string: JELLYFIN_NOWEBAPP_OPT, JELLYFIN_SERVICE_OPT
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: [21:33:17] [INF] Jellyfin version: 10.9.7
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: [21:33:17] [INF] Environment Variables: ["[JELLYFIN_USER, jellyfin]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]", "[JELLYFIN_ARGS, $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS --datadir $JELLYFIN_DATA_DIR --configdir $JELLYFIN_CONFIG_DIR --logdir $JELLYFIN_LOG_DIR --cachedir $JELLYFIN_CACHE_DIR]", "[JELLYFIN_DATA_DIR, /var/lib/jellyfin]", "[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]", "[JELLYFIN_LOG_DIR, /var/log/jellyfin]", "[JELLYFIN_ADDITIONAL_OPTS, ]"]
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: [21:33:17] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: [21:33:17] [INF] Operating system: Ubuntu 24.04.1 LTS
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: [21:33:17] [INF] Architecture: X64
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: [21:33:17] [INF] 64-Bit Process: True
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: [21:33:17] [INF] User Interactive: True
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: [21:33:17] [INF] Processor count: 8
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: [21:33:17] [INF] Program data path: /var/lib/jellyfin
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: [21:33:17] [INF] Log directory path: /var/log/jellyfin
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: [21:33:17] [INF] Config directory path: /etc/jellyfin
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: [21:33:17] [INF] Cache path: /var/cache/jellyfin
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: [21:33:17] [INF] Web resources path: /usr/share/jellyfin/web
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: [21:33:17] [INF] Application directory: /usr/lib/jellyfin/bin/
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: [21:33:17] [FTL] Unhandled Exception
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: System.InvalidOperationException: There is an error in XML document (0, 0).
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:  ---> System.Xml.XmlException: Root element is missing.
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at System.Xml.XmlReader.MoveToContent()
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderMigrationOptions.Read4_MigrationOptions()
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    --- End of inner exception stack trace ---
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromStream(Type type, Stream stream)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromFile(Type type, String file)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at Jellyfin.Server.Program.StartApp(StartupOptions options)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at Jellyfin.Server.Program.<Main>(String[] args)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]: Unhandled exception. System.InvalidOperationException: There is an error in XML document (0, 0).
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:  ---> System.Xml.XmlException: Root element is missing.
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at System.Xml.XmlReader.MoveToContent()
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderMigrationOptions.Read4_MigrationOptions()
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    --- End of inner exception stack trace ---
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromStream(Type type, Stream stream)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromFile(Type type, String file)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at Jellyfin.Server.Program.StartApp(StartupOptions options)
    Oct 04 21:33:17 flintlockwood jellyfin[1339950]:    at Jellyfin.Server.Program.<Main>(String[] args)
    Oct 04 21:33:18 flintlockwood systemd[1]: jellyfin.service: Main process exited, code=dumped, status=6/ABRT
    Oct 04 21:33:18 flintlockwood systemd[1]: jellyfin.service: Failed with result 'core-dump'.
    Oct 04 21:33:18 flintlockwood systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
    Oct 04 21:33:18 flintlockwood systemd[1]: jellyfin.service: Start request repeated too quickly.
    Oct 04 21:33:18 flintlockwood systemd[1]: jellyfin.service: Failed with result 'core-dump'.
    Oct 04 21:33:18 flintlockwood systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-10-04, 11:49 PM
    Code:
    cd /etc/jellyfin
    sudo mkdir backup
    sudo mv *.xml backup
    sudo apt upgrade jellyfin

    If it doesn't automatically start, sudo systemctl restart jellyfin. If it fails to start again, repeat the last post and share the output of journalctl.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    jsnotlout1
    Offline

    Junior Member

    Posts: 19
    Threads: 4
    Joined: 2023 Nov
    Reputation: 0
    #5
    2024-10-05, 12:33 AM
    (2024-10-04, 11:49 PM)TheDreadPirate Wrote:
    Code:
    cd /etc/jellyfin
    sudo mkdir backup
    sudo mv *.xml backup
    sudo apt upgrade jellyfin

    If it doesn't automatically start, sudo systemctl restart jellyfin.  If it fails to start again, repeat the last post and share the output of journalctl.

    There might be something wrong with my server, As far as I can tell it should have enough space. I can't expand /var while the system is booted, but it's complaining about low space. The drive still has plenty of space, and it ran all the apt updates just fine last night. So I have no idea why its full now.

    Perhaps the low space on /var is whats keeping it from starting at all?

       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-10-05, 01:00 AM
    Code:
    df -h
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    jsnotlout1
    Offline

    Junior Member

    Posts: 19
    Threads: 4
    Joined: 2023 Nov
    Reputation: 0
    #7
    2024-10-05, 01:42 AM
    (2024-10-05, 01:00 AM)TheDreadPirate Wrote:
    Code:
    df -h

       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-10-05, 02:11 AM
    You're out of space. Your database may or may not be borked.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    jsnotlout1
    Offline

    Junior Member

    Posts: 19
    Threads: 4
    Joined: 2023 Nov
    Reputation: 0
    #9
    2024-10-05, 03:07 AM
    (2024-10-05, 02:11 AM)TheDreadPirate Wrote: You're out of space.  Your database may or may not be borked.

    Noted, I think it's time I accept the reality that this server needs a fresh install. I can't keep patching it up
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode