• 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 v10.10 service will not background on linux

     
    • 0 Vote(s) - 0 Average

    v10.10 service will not background on linux

    yellowbean
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    #1
    2024-12-08, 09:44 PM
    Hi, just thought I'd post here in case anyone else had this issue when upgrading to v10.10.  This is for the generic portable linux installation...also this is for distros without systemd (I use Devuan).

    For me anyway, jellyfin server v10.8 and v10.9 could be backgrounded by running the start script like this: 

    ./jellyfin.sh > jelly.log &

    I am using the '--service' flag but I don't think it matters either way. 

    Anyway, I upgraded to v10.10 and it would not start in the background using this same script as previous versions.  It would stop here (according to the log):

    [16:02:34] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 0 seconds

    Now, if I just run the start script in the foreground without '> jelly.log &' it will start up just fine.  Albeit in the foreground...so I have to leave the terminal session open to keep jellyfin running.  I know I could use screen or something but that's less convenient.  

    Running the start script in the background with strace I get this:

    [16:02:34] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 0 seconds
    0x7ffd22ce85e0, 0, NULL)      = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
    --- SIGTTOU {si_signo=SIGTTOU, si_code=SI_KERNEL} ---
    --- stopped by SIGTTOU ---

    Some internet searching I found this work around, which let's me background the server just fine:

    bash -c "./start_jellyfin.sh > jelly.log &"

    Not sure what changed between v10.9 and v10.10 to change this behavior.
    gnattu
    Offline

    Team Member

    Posts: 336
    Threads: 0
    Joined: 2024 Feb
    Reputation: 17
    #2
    2024-12-09, 05:35 AM
    If my theory is correct you need to redirect both stdout and stderr to prevent sigtou being sent to jellyfin in the background and your old command did not redirect stderr
    « 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