Jellyfin Forum
Jellyfin immediately goes inactive (dead) after I start it - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Jellyfin immediately goes inactive (dead) after I start it (/t-jellyfin-immediately-goes-inactive-dead-after-i-start-it)



Jellyfin immediately goes inactive (dead) after I start it - GodlessArco - 2025-09-19

it lasts for maybe a second before it just shuts itself down. Idk what the issue is

Code:
[color=#000000]○ jellyfin.service - Jellyfin Media Server[/color] [/font]
[font=monospace][color=#000000]    Loaded: loaded (/usr/lib/systemd/system/jellyfin.service; [/color][color=#54ff54][b]enabled[/b][/color][color=#000000]; preset: [/color][color=#54ff54][b]enabled[/b][/color][color=#000000])[/color] [/font]
[font=monospace][color=#000000]   Drop-In: /etc/systemd/system/jellyfin.service.d[/color] [/font]
[font=monospace][color=#000000]            └─jellyfin.service.conf[/color] [/font]
[font=monospace][color=#000000]    Active: inactive (dead) since Fri 2025-09-19 01:33:25 UTC; 5s ago[/color] [/font]
[font=monospace][color=#000000]  Duration: 1.572s[/color] [/font]
[font=monospace][color=#000000]   Process: 2864 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPT[/color][color=#ffffff]>[/color] [/font]
[font=monospace][color=#000000]  Main PID: 2864 (code=exited, status=0/SUCCESS)[/color] [/font]
[font=monospace][color=#000000]       CPU: 1.588s[/color] [/font]

[font=monospace][color=#000000]Sep 19 01:33:25 cabrerarodriguez jellyfin[2864]:    at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParam[/color][color=#ffffff]>[/color] [/font]
[font=monospace][color=#000000]Sep 19 01:33:25 cabrerarodriguez jellyfin[2864]:    at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.MigrateAsync(String targetMigration, Can[/color][color=#ffffff]>[/color] [/font]
[font=monospace][color=#000000]Sep 19 01:33:25 cabrerarodriguez jellyfin[2864]:    at Emby.Server.Implementations.ApplicationHost.InitializeServices()[/color] [/font]
[font=monospace][color=#000000]Sep 19 01:33:25 cabrerarodriguez jellyfin[2864]:    at Emby.Server.Implementations.ApplicationHost.InitializeServices()[/color] [/font]
[font=monospace][color=#000000]Sep 19 01:33:25 cabrerarodriguez jellyfin[2864]:    at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConf[/color][color=#ffffff]>[/color] [/font]
[font=monospace][color=#000000]Sep 19 01:33:25 cabrerarodriguez jellyfin[2864]: [01:33:25] [INF] Running query planner optimizations in the database... This might take a while[/color] [/font]
[font=monospace][color=#000000]Sep 19 01:33:25 cabrerarodriguez jellyfin[2864]: [01:33:25] [INF] Disposing CoreAppHost[/color] [/font]
[font=monospace][color=#000000]Sep 19 01:33:25 cabrerarodriguez jellyfin[2864]: [01:33:25] [INF] Disposing PluginManager[/color] [/font]
[font=monospace][color=#000000]Sep 19 01:33:25 cabrerarodriguez systemd[1]: jellyfin.service: Deactivated successfully.[/color] [/font]
[font=monospace][color=#000000]Sep 19 01:33:25 cabrerarodriguez systemd[1]: jellyfin.service: Consumed 1.588s CPU time, 50.4M memory peak, 0B memory swap peak[/color][/font]
[font=monospace]

If im fast enough I can see it active when i systemctl status it after systemctl start it


RE: Jellyfin immediately goes inactive (dead) after I start it - theguymadmax - 2025-09-19

post the results from this command: sudo journalctl -u jellyfin -n 500 --no-pager