• 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 SOLVED: core dumped

     
    • 0 Vote(s) - 0 Average

    SOLVED: core dumped

    Server 10.10.5 was running fine until...
    nanouk76
    Offline

    Junior Member

    Posts: 36
    Threads: 5
    Joined: 2023 Jun
    Reputation: 0
    Country:France
    #1
    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 :

    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.6
    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
    Go to solution
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,059
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #2
    2025-01-29, 03:59 PM
    Try these command:
    Code:
    sudo systemctl stop jellyfin
    sudo mv /etc/jellyfin/migrations.xml /etc/jellyfin/migrations.xml.bak
    sudo mv /etc/jellyfin/system.xml /etc/jellyfin/system.xml.bak
    sudo systemctl start jellyfin
    nanouk76
    Offline

    Junior Member

    Posts: 36
    Threads: 5
    Joined: 2023 Jun
    Reputation: 0
    Country:France
    #3
    2025-01-29, 04:42 PM (This post was last modified: 2025-01-29, 04:43 PM by nanouk76. Edited 1 time in total.)
    Wow, that was fast! Jellyfin is now started. Will watch for any further glitches. Thanks a million. But, just so I understand a little better, why would Jellyfin want to migrate anything days after the upgrade? Or were those files somehow damaged?
    Jellyfin 10.10.6
    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
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-01-29, 09:18 PM
    You disk filled up and Jellyfin tried to write to those XMLs. Did a test just now and migrations.xml and encoding.xml are written to during every startup. If your disk was full when Jellyfin started, it would have written empty or malformed XMLs. Why it writes to these files on startup, IDK.
    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]
    nanouk76
    Offline

    Junior Member

    Posts: 36
    Threads: 5
    Joined: 2023 Jun
    Reputation: 0
    Country:France
    #5
    2025-01-29, 10:11 PM
    Thanks for the clarification.
    Jellyfin 10.10.6
    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
    « 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