Jellyfin Forum
Jellyfin is shutting down early in the morning - 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 is shutting down early in the morning (/t-jellyfin-is-shutting-down-early-in-the-morning)



Jellyfin is shutting down early in the morning - Brblue - 2024-09-14

Hey. I have jellyfin installed in docker with casa os. I recently got an nvidia gpu installed for transcoding and I had trouble getting it working. I eventually managed to get it working by installing nvidia container toolkit and adding some stuff to the docker compose file. I needed to reinstall jellyfin for it to work and it does work fine now. But for some reason every morning jellyfin is now shutdown in casa os and I need to restart it manually to get it to work. I believe it happens pretty much at exactly 5am.

[2024-09-14 05:00:01.717 +01:00] [INF] [38] Emby.Server.Implementations.Session.SessionManager: Sending shutdown notifications
[2024-09-14 05:00:01.999 +01:00] [INF] [43] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.161" closed
[2024-09-14 05:00:02.011 +01:00] [INF] [43] Jellyfin.Networking.PortForwardingHost: Stopping NAT discovery
[2024-09-14 05:00:02.050 +01:00] [INF] [35] Main: Running query planner optimizations in the database... This might take a while
[2024-09-14 05:00:02.171 +01:00] [INF] [42] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/media/2TBDrive1/Shows"
[2024-09-14 05:00:02.172 +01:00] [INF] [42] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/media/2TBDrive1/Music"
[2024-09-14 05:00:02.172 +01:00] [INF] [42] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/media/1TBDrive1/Shows"
[2024-09-14 05:00:02.172 +01:00] [INF] [42] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/media/2TBDrive1/Movies"
[2024-09-14 05:00:02.172 +01:00] [INF] [42] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/media/1TBDrive1/Movies"
[2024-09-14 05:00:02.172 +01:00] [INF] [42] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/media/2TBDrive2/Shows"
[2024-09-14 05:00:02.242 +01:00] [INF] [35] Emby.Server.Implementations.ApplicationHost: Disposing "CoreAppHost"
[2024-09-14 05:00:02.242 +01:00] [INF] [35] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzArtistProvider"
[2024-09-14 05:00:02.254 +01:00] [INF] [35] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzAlbumProvider"
[2024-09-14 05:00:02.255 +01:00] [INF] [35] Emby.Server.Implementations.ApplicationHost: Disposing "PluginManager"

Im not sure why its shutting down because It never did it before and I see no setting to change it. If anyone knows whats happening it be really helpful thank you.


RE: Jellyfin is shutting down early in the morning - TheDreadPirate - 2024-09-14

Give this github link a read and see if applies to you.

https://github.com/NVIDIA/nvidia-docker/issues/1730

I don't have any Nvidia GPUs to test on. I've seen other forum users with this issue in the past, but don't recall if there was ever a clear resolution to this issue.


RE: Jellyfin is shutting down early in the morning - Brblue - 2024-09-14

(2024-09-14, 03:18 PM)TheDreadPirate Wrote: Give this github link a read and see if applies to you.

https://github.com/NVIDIA/nvidia-docker/issues/1730

I don't have any Nvidia GPUs to test on.  I've seen other forum users with this issue in the past, but don't recall if there was ever a clear resolution to this issue.

Thanks for the reply. I believe I figured out what it was. A long time ago my brother set up this thing called cron which runs commands on a schedule. He made it so ubuntu restarts at 5am every day. It's been doing this for ages and its not been a problem. I tried restarting the server manually and jellyfin started up fine automatically, but when the cron command runs it doesnt restart? Could it be something to do with the nvidia container toolkit or something? Thanks