2025-01-29, 03:37 PM
Hi all,
I noticed jellyfin server was kaput on my rig as of this afternoon. Systemctl status shows service failed. Tried reinstalling (I know, the easy idea...) but console tells me /var/cache has no space left. Got rid of 7 days worth of logs with the journalctl --vacum command and got 1.5 GB back. But jellyfin won't start. A look at the log file shows this a couple times :
What strikes me is this :
Prior to upgrading to 10.10.4 I did a tarball of a couple folders, like so :
Will that backup be useful?
What am I to do? Can anything be salvaged?
I will defer to the savvier people on here.
Thanks for looking into it.
I noticed jellyfin server was kaput on my rig as of this afternoon. Systemctl status shows service failed. Tried reinstalling (I know, the easy idea...) but console tells me /var/cache has no space left. Got rid of 7 days worth of logs with the journalctl --vacum command and got 1.5 GB back. But jellyfin won't start. A look at the log file shows this a couple times :
Code:
[2025-01-29 15:17:25.079 +00:00] [INF] Jellyfin version: "10.10.5"
[2025-01-29 15:17:25.103 +00:00] [INF] Environment Variables: ["[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_ADDITIONAL_OPTS, ]", "[JELLYFIN_DATA_DIR, /var/lib/jellyfin]", "[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_WEB_OPT, --webdir=/usr/share/jellyfin/web]", "[JELLYFIN_LOG_DIR, /var/log/jellyfin]", "[JELLYFIN_USER, jellyfin]"]
[2025-01-29 15:17:25.106 +00:00] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
[2025-01-29 15:17:25.107 +00:00] [INF] Operating system: "Ubuntu 22.04.5 LTS"
[2025-01-29 15:17:25.107 +00:00] [INF] Architecture: X64
[2025-01-29 15:17:25.108 +00:00] [INF] 64-Bit Process: True
[2025-01-29 15:17:25.108 +00:00] [INF] User Interactive: True
[2025-01-29 15:17:25.108 +00:00] [INF] Processor count: 4
[2025-01-29 15:17:25.108 +00:00] [INF] Program data path: "/var/lib/jellyfin"
[2025-01-29 15:17:25.108 +00:00] [INF] Log directory path: "/var/log/jellyfin"
[2025-01-29 15:17:25.108 +00:00] [INF] Config directory path: "/etc/jellyfin"
[2025-01-29 15:17:25.109 +00:00] [INF] Cache path: "/var/cache/jellyfin"
[2025-01-29 15:17:25.109 +00:00] [INF] Temp directory path: "/tmp/jellyfin"
[2025-01-29 15:17:25.109 +00:00] [INF] Web resources path: "/usr/share/jellyfin/web"
[2025-01-29 15:17:25.109 +00:00] [INF] Application directory: "/usr/lib/jellyfin/bin/"
[2025-01-29 15:17:25.158 +00: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)
What strikes me is this :
Code:
System.InvalidOperationException: There is an error in XML document (0, 0).
---> System.Xml.XmlException: Root element is missing.
Prior to upgrading to 10.10.4 I did a tarball of a couple folders, like so :
Code:
sudo tar -czvf /media/xbmc/complete/jellyfin-10.10.3-backup.tgz /etc/jellyfin/ /var/lib/jellyfin/data/
Will that backup be useful?
What am I to do? Can anything be salvaged?
I will defer to the savvier people on here.
Thanks for looking into it.
Jellyfin 10.10.5
Ubuntu Server 22.04.4 LTS
Gigabyte Technology Co., Ltd. GA-MA78LMT-US2H
AMD® Phenom ii x6 1090t processor × 6
20 GB Ram
Nvidia P400
Ubuntu Server 22.04.4 LTS
Gigabyte Technology Co., Ltd. GA-MA78LMT-US2H
AMD® Phenom ii x6 1090t processor × 6
20 GB Ram
Nvidia P400