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.
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.