• 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 disabled systemd service re-enabled after updates

     
    • 0 Vote(s) - 0 Average

    disabled systemd service re-enabled after updates

    disabled systemd service re-enabled after updates
    jimbothigpen
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    #1
    2024-11-20, 05:19 PM
    Is it expected behavior for jellyfin updates on Debian, using the https://repo.jellyfin.org/debian repo, to re-enable the systemd service if it's been disabled by the user? Other .deb packaged software seems to respect the state of systemd services as set by the user, but jellyfin updates always re-enable the service and try to start it up if it's stopped. Might not be a huge issue for many people, but I'm trying to run a sort of makeshift HA setup, with 3 LXCs using shared storage for jellyfin data, relying on keepalived to start the service on the proper host. If I don't first kill keepalived and ensure jellyfin is stopped on all 3 hosts, updates have a habit of corrupting the sqlite databases (when the service is re-enabled and started after an update on a system that is not supposed to be running jellyfin at the time).

    If the behavior of updates -- re-enabling and starting the disabled service -- can't be changed to take into account the state of the service as set by the user, does anyone know of some sort of apt acrobatics that would prevent it?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-11-20, 05:39 PM
    I chatted with the team and the deb package is SUPPOSED to respect the current state of the service when upgrading. I am also interested in this since my main instance is in Docker, but I maintain an apt install for testing. As such, the service stays disabled and is only started for testing but both gets re-enabled and started after each upgrade.

    I submitted a github ticket for jellyfin-packaging.

    https://github.com/jellyfin/jellyfin-pac.../issues/50
    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]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-11-21, 04:44 PM
    Some additional parameters are being added to the apt package for future releases. The follow command will ensure that Jellyfin never starts without you actually starting it.

    Code:
    sudo systemctl mask jellyfin

    And, in releases going forward, the Jellyfin apt package won't unmask the Jellyfin service during an upgrade. But if you do want to start Jellyfin you will need to unmask prior to starting.

    If you want to stick with the "disabled" route, there will be a new option in /etc/default/jellyfin that you can uncomment to have the installer NOT start Jellyfin after it is done upgrading.

    https://github.com/jellyfin/jellyfin-pac...llyfin#L51

    Again, this will be in future releases.
    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]
    « 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