• 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 Networking & Access SOLVED: Service Failed To Start

     
    • 0 Vote(s) - 0 Average

    SOLVED: Service Failed To Start

    Active: failed (Result: signal)
    Electric-Cow
    Offline

    Junior Member

    Posts: 3
    Threads: 2
    Joined: 2024 Jun
    Reputation: 1
    Country:United States
    #1
    2024-06-27, 02:22 PM
    Good morning,

    I am hoping to get some help with my Jellyfin server. It had been working without issue for around 6 months until last night when it suddenly stopped. My Jellyfin Server is running as a container within ProxMox. ProxMox is running on a Dell OptiPlex 3050 Micro Form Factor desktop pc.

    I tried some basic troubleshooting, including restarting the container, restarting the hypervisor/host, and attempting to restart the service without avail. I ran the following commands (output linked) and ran an apt-get update/apt-get upgrade in the container. I, unfortunately, did not make any snapshots that I can revert to.

    Systemctl status jellyfin.service | https://sourceb.in/r5sn3iNfzF

    cat /lib/systemd/system/jellyfin.service | https://sourceb.in/uwJwS45etj

    cat /etc/systemd/system/jellyfin.service.d/jellyfin.service.conf | https://sourceb.in/jozM1jrvDl

    sudo journalctl -u jellyfin | https://sourceb.in/h1FW8endYH  (This is the last ~150 lines).

    df -h | https://sourceb.in/QqnZnChEH0

    Does anyone have any ideas on how I may be able to fix this?
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-06-27, 03:14 PM
    Go to /etc/jellyfin in the container and look for empty XML files (probably migrations.xml). You can also try renaming all the XML files in there and let Jellyfin regenerate them from defaults.
    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]
    Electric-Cow
    Offline

    Junior Member

    Posts: 3
    Threads: 2
    Joined: 2024 Jun
    Reputation: 1
    Country:United States
    #3
    2024-06-27, 09:35 PM
    (2024-06-27, 03:14 PM)TheDreadPirate Wrote: Go to /etc/jellyfin in the container and look for empty XML files (probably migrations.xml).  You can also try renaming all the XML files in there and let Jellyfin regenerate them from defaults.

    The issue is resolved, but I'm adding additional information for anyone who may stumble onto this in the future:

    @TheDreadPirate was right, the migrations.xml file was empty. I renamed it. Restarting the service regenerated the file. However, the service would still not start. After restarting the service, it went into a an "inactive (dead)" state. Systemctl status output: https://sourceb.in/6pkSv9ZdMz. The journal is showing was error during migration. "Could not apply migration 'MigrateActivityLogDatabase' " (https://sourceb.in/FXqhTrlZV0). The other threads I've seen on this issue seem to indicate a permissions issue, but my log shows there is no such "ActivityLog" table.

    Renaming the system.xml file and restarting the service was also required for the service to start!

    Thank you very much!
    LeeJS
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2025 May
    Reputation: 0
    Country:United Kingdom
    #4
    7 hours ago
    (2024-06-27, 09:35 PM)Electric-Cow Wrote:
    (2024-06-27, 03:14 PM)TheDreadPirate Wrote: Go to /etc/jellyfin in the container and look for empty XML files (probably migrations.xml).  You can also try renaming all the XML files in there and let Jellyfin regenerate them from defaults.

    The issue is resolved, but I'm adding additional information for anyone who may stumble onto this in the future:

    @TheDreadPirate was right, the migrations.xml file was empty. I renamed it. Restarting the service regenerated the file. However, the service would still not start. After restarting the service, it went into a an "inactive (dead)" state. Systemctl status output: https://sourceb.in/6pkSv9ZdMz. The journal is showing was error during migration. "Could not apply migration 'MigrateActivityLogDatabase' " (https://sourceb.in/FXqhTrlZV0). The other threads I've seen on this issue seem to indicate a permissions issue, but my log shows there is no such "ActivityLog" table.

    Renaming the system.xml file and restarting the service was also required for the service to start!

    Thank you very much!

    I've just had the exact same problem and your steps fixed the issue, so thank you for that first off.
    My question is why did this happen and what can I do to stop it happening again?
    I've run Jellyfin under Docker for years and this has never been an issue. Suddenly I move to an LXC and it crashes within a matter of days for no reason. I'm contemplating moving back to a Docker install if this can't be explained Confused-face
    « 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