• 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 can't restart by itself?

     
    • 0 Vote(s) - 0 Average

    Jellyfin can't restart by itself?

    AbendrotBarbecue
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2025 Aug
    Reputation: 0
    Country:United Kingdom
    #1
    2025-08-22, 12:07 PM
    Jellyfin hasn't been able to restart by itself recently (I think since I connected it to nginx?), it just acts like if I'd asked it to shut off. 
    When I type "systemctl start Jellyfin" it asks for my authentication for "org.freedesktop.systemd1.manage-units". 
    There's nothing actually wrong after that, it's just inconvinient having to SSH into my server to start jellyfin manually when there's a button to restart the server right there. 
    How do I get Jellyfin to let itself restart again? 
    Thank you in advance!
    AbendrotBarbecue
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2025 Aug
    Reputation: 0
    Country:United Kingdom
    #2
    2025-08-22, 12:16 PM
    From what I can gather, it's starting to look like a permissions issue...
    crobibero
    Offline

    Core Team (Server & Plugins)

    Posts: 286
    Threads: 0
    Joined: 2023 Jun
    Reputation: 22
    Country:United States
    #3
    2025-08-22, 02:02 PM
    It might be a permissions issue, I suggest adding the server logs as they would likely show why Jellyfin failed to restart
    AbendrotBarbecue
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2025 Aug
    Reputation: 0
    Country:United Kingdom
    #4
    2025-08-22, 02:03 PM (This post was last modified: 2025-08-22, 02:06 PM by AbendrotBarbecue. Edited 1 time in total.)
    Okay, found a solution but it's probably not a good one.

    I looked into the command that was stopping it (polkit) and found this link:
    https://bbs.archlinux.org/viewtopic.php?id=304468

    Which lead me to make the same file but with tweaks like so:
    Code:
    polkit.addRule(function(action, subject) {
        if (action.id == "org.freedesktop.systemd1.manage-units")
        {
            return polkit.Result.YES;
        }
    });


    Is it wise? Probably not, no, but it works, and that's about all I can ask.

    (2025-08-22, 02:02 PM)crobibero Wrote: It might be a permissions issue, I suggest adding the server logs as they would likely show why Jellyfin failed to restart

    Sorry! Was typing right when you sent that. I figured out the specific program that was causing it so I can confirm it's no fault of Jellyfins! This was actually an issue with Polkit (why now I don't know, but I know it's probably out of the scope of this forum! Sorry...!)
    « 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