Jellyfin Forum
SOLVED: How do I stop jellyfin from restarting everyday at the same time? - 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: SOLVED: How do I stop jellyfin from restarting everyday at the same time? (/t-solved-how-do-i-stop-jellyfin-from-restarting-everyday-at-the-same-time)



How do I stop jellyfin from restarting everyday at the same time? - mildlyjelly - 2025-07-27

Everyday at exactly 3am, the jellyfin service restarts.
I've checkedĀ 
  • sudo cron
  • user cron
  • the service file (/lib/systemd/system/jellyfin.service)
  • scheduled tasks in jellyfin dashboard

I don't know where else to check.

From the logs, I see this:
Quote:Jul 27 03:00:02 jelly systemd[1]: Stopping Jellyfin Media Server...
Jul 27 03:00:02 jelly jellyfin[52017]: [03:00:02] [INF] Sending shutdown notifications

I thought maybe it was a jellyfin scheduled task that was running everyday at 3:00 and crashing, but there are no errors in the logs besides episode look up failures.
I also manually ran all of the scheduled tasks that had triggers and none of them cause the service to restart.

Does anyone have any ideas?


RE: How do I stop jellyfin from restarting everyday at the same time? - 34626 - 2025-07-27

Please run this to see if there is any systemd timers on Jellyfin:

systemctl list-timers --all


RE: How do I stop jellyfin from restarting everyday at the same time? - mildlyjelly - 2025-07-27

Thank for the suggestion.

Unfortunately, none of the timers are related to jellyfin and the ones that could effect it, like apt-daily-upgrade, run at the wrong time to cause the jellyfin service to restart at exactly 3:00 am.


RE: How do I stop jellyfin from restarting everyday at the same time? - mildlyjelly - 2025-07-27

Well, this is embarrassing...

So, I have a backup script that runs every day at 3 am.
The second command in the backup script is to shutdown jellyfin before doing the backup...