I am not sure what I have done to my Jellyfin install. I have been having various issues with my computer that I am using for Jellyfin and when I fixed one (ran out of hard drive space) I now have this one. I do not believe Jellyfin is starting when I reboot my computer. Here is the output of my logs file:

spoiler

__ [2024-12-18 21:54:12.874 -05:00] [INF] Jellyfin version: “10.10.3” [2024-12-18 21:54:12.925 -05:00] [INF] Environment Variables: [“[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]”, “[JELLYFIN_DATA_DIR, /var/lib/jellyfin]”, “[JELLYFIN_LOG_DIR, /var/log/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_ADDITIONAL_OPTS, ]”, “[JELLYFIN_USER, jellyfin]”, “[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]”, “[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]”, “[JELLYFIN_CONFIG_DIR, /etc/jellyfin]”] [2024-12-18 21:54:12.945 -05:00] [INF] Arguments: [“/usr/lib/jellyfin/bin/jellyfin.dll”, “–webdir=/usr/share/jellyfin/web”, “–ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg”] [2024-12-18 21:54:12.945 -05:00] [INF] Operating system: “Linux Mint 21.3” [2024-12-18 21:54:12.945 -05:00] [INF] Architecture: X64 [2024-12-18 21:54:12.946 -05:00] [INF] 64-Bit Process: True [2024-12-18 21:54:12.947 -05:00] [INF] User Interactive: True [2024-12-18 21:54:12.947 -05:00] [INF] Processor count: 2 [2024-12-18 21:54:12.947 -05:00] [INF] Program data path: “/var/lib/jellyfin” [2024-12-18 21:54:12.947 -05:00] [INF] Log directory path: “/var/log/jellyfin” [2024-12-18 21:54:12.947 -05:00] [INF] Config directory path: “/etc/jellyfin” [2024-12-18 21:54:12.947 -05:00] [INF] Cache path: “/var/cache/jellyfin” [2024-12-18 21:54:12.948 -05:00] [INF] Temp directory path: “/tmp/jellyfin” [2024-12-18 21:54:12.948 -05:00] [INF] Web resources path: “/usr/share/jellyfin/web” [2024-12-18 21:54:12.948 -05:00] [INF] Application directory: “/usr/lib/jellyfin/bin/” [2024-12-18 21:54:13.017 -05:00] [FTL] 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)_

I googled “There is an error in XML document (0, 0).” and was completely overwhelmed by the posts and solutions I found. Is that even the best starting point for picking this apart?

  • someguy@lemmyland.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    Good to hear. I think jellyfin could be improved so that it doesn’t completely clear migrations.xml every time a new migration is applied when it starts up (switch from a Create to an OpenOrCreate on the file). Although a low disk situation can be difficult for software to deal with typically anyway.