[Issue]: Jellyfin 10.9.1 locking up #5746

Closed
opened 2026-02-07 02:17:03 +03:00 by OVERLORD · 101 comments
Owner

Originally created by @ShakeSp33r on GitHub (May 14, 2024).

Please describe your bug

I'm running the linuxserver/jellyfin:10.9.1 container. everything working fine and then Jellyfin locks up, everything freeze, cant connect via web or Android TV. I have to restart the container.

Had a look at the log file, and this was the last bit before having to restart the container.

Reproduction Steps

Server is scanning chapters, and I have 4 users connected.

Locking up happens randomly.

Jellyfin Version

10.9.0

if other:

10.9.1

Environment

- Docker : linuxserver/jellyfin:10.9.1
- Clients: Android TV
- Reverse Proxy: Nginx
- No transcoding all direct play

Jellyfin logs

[2024-05-13 21:32:00.057 +02:00] [INF] [51] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : "b3e52a6b46e3f3ee98055a3ef1373b836f6cefd8-07e4f4f654074d04b991c825bf219e18-b20495b8de9b75181322a26bcd40801a"
[2024-05-13 21:32:26.670 +02:00] [INF] [58] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-05-13 21:32:26.670 +02:00] [INF] [58] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-05-13 21:33:02.751 +02:00] [INF] [100] Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 4 WebSockets.
[2024-05-13 21:39:39.809 +02:00] [INF] [518] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.16.10" playing "<<<movie>>>>". Stopped at "5581614" ms
[2024-05-13 21:41:20.808 +02:00] [INF] [628] Emby.Server.Implementations.Session.SessionManager: Sending shutdown notifications
[2024-05-13 21:41:27.322 +02:00] [ERR] [634] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST" "/Users/AuthenticateByName".
[2024-05-13 21:41:29.348 +02:00] [ERR] [636] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "xxx.xxx.xxx.xxx" WebSocketRequestHandler error

System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Closed') for this operation. Valid states are: 'Open, CloseReceived'
   at System.Net.WebSockets.ManagedWebSocket.SendAsync(ReadOnlyMemory`1 buffer, WebSocketMessageType messageType, WebSocketMessageFlags messageFlags, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Emby.Server.Implementations.HttpServer.WebSocketConnection.ProcessInternal(PipeReader reader)
   at Emby.Server.Implementations.HttpServer.WebSocketConnection.ReceiveAsync(CancellationToken cancellationToken)
   at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context)
   at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context)

[2024-05-13 21:41:29.450 +02:00] [ERR] [636] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "xxx.xxx.xxx.xxx" WebSocketRequestHandler error
System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Closed') for this operation. Valid states are: 'Open, CloseReceived'
   at System.Net.WebSockets.ManagedWebSocket.SendAsync(ReadOnlyMemory`1 buffer, WebSocketMessageType messageType, WebSocketMessageFlags messageFlags, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Emby.Server.Implementations.HttpServer.WebSocketConnection.ProcessInternal(PipeReader reader)
   at Emby.Server.Implementations.HttpServer.WebSocketConnection.ReceiveAsync(CancellationToken cancellationToken)
   at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context)
   at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context)

[2024-05-13 21:41:29.450 +02:00] [ERR] [636] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "xxx.xxx.xxx.xxx" WebSocketRequestHandler error
System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Closed') for this operation. Valid states are: 'Open, CloseReceived'
   at System.Net.WebSockets.ManagedWebSocket.SendAsync(ReadOnlyMemory`1 buffer, WebSocketMessageType messageType, WebSocketMessageFlags messageFlags, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Emby.Server.Implementations.HttpServer.WebSocketConnection.ProcessInternal(PipeReader reader)
   at Emby.Server.Implementations.HttpServer.WebSocketConnection.ReceiveAsync(CancellationToken cancellationToken)
   at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context)
   at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context)

[2024-05-13 21:41:29.451 +02:00] [ERR] [636] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "xxx.xxx.xxx.xxx" WebSocketRequestHandler error
System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Closed') for this operation. Valid states are: 'Open, CloseReceived'
   at System.Net.WebSockets.ManagedWebSocket.SendAsync(ReadOnlyMemory`1 buffer, WebSocketMessageType messageType, WebSocketMessageFlags messageFlags, CancellationToken cancellationToken)
--- End of stack trace from previous location ---

   at Emby.Server.Implementations.HttpServer.WebSocketConnection.ProcessInternal(PipeReader reader)
   at Emby.Server.Implementations.HttpServer.WebSocketConnection.ReceiveAsync(CancellationToken cancellationToken)
   at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context)
   at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context)

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @ShakeSp33r on GitHub (May 14, 2024). ### Please describe your bug I'm running the linuxserver/jellyfin:10.9.1 container. everything working fine and then Jellyfin locks up, everything freeze, cant connect via web or Android TV. I have to restart the container. Had a look at the log file, and this was the last bit before having to restart the container. ### Reproduction Steps Server is scanning chapters, and I have 4 users connected. Locking up happens randomly. ### Jellyfin Version 10.9.0 ### if other: 10.9.1 ### Environment ```markdown - Docker : linuxserver/jellyfin:10.9.1 - Clients: Android TV - Reverse Proxy: Nginx - No transcoding all direct play ``` ### Jellyfin logs ```shell [2024-05-13 21:32:00.057 +02:00] [INF] [51] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : "b3e52a6b46e3f3ee98055a3ef1373b836f6cefd8-07e4f4f654074d04b991c825bf219e18-b20495b8de9b75181322a26bcd40801a" [2024-05-13 21:32:26.670 +02:00] [INF] [58] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets. [2024-05-13 21:32:26.670 +02:00] [INF] [58] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets. [2024-05-13 21:33:02.751 +02:00] [INF] [100] Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 4 WebSockets. [2024-05-13 21:39:39.809 +02:00] [INF] [518] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.16.10" playing "<<<movie>>>>". Stopped at "5581614" ms [2024-05-13 21:41:20.808 +02:00] [INF] [628] Emby.Server.Implementations.Session.SessionManager: Sending shutdown notifications [2024-05-13 21:41:27.322 +02:00] [ERR] [634] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST" "/Users/AuthenticateByName". [2024-05-13 21:41:29.348 +02:00] [ERR] [636] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "xxx.xxx.xxx.xxx" WebSocketRequestHandler error System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Closed') for this operation. Valid states are: 'Open, CloseReceived' at System.Net.WebSockets.ManagedWebSocket.SendAsync(ReadOnlyMemory`1 buffer, WebSocketMessageType messageType, WebSocketMessageFlags messageFlags, CancellationToken cancellationToken) --- End of stack trace from previous location --- at Emby.Server.Implementations.HttpServer.WebSocketConnection.ProcessInternal(PipeReader reader) at Emby.Server.Implementations.HttpServer.WebSocketConnection.ReceiveAsync(CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context) at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context) [2024-05-13 21:41:29.450 +02:00] [ERR] [636] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "xxx.xxx.xxx.xxx" WebSocketRequestHandler error System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Closed') for this operation. Valid states are: 'Open, CloseReceived' at System.Net.WebSockets.ManagedWebSocket.SendAsync(ReadOnlyMemory`1 buffer, WebSocketMessageType messageType, WebSocketMessageFlags messageFlags, CancellationToken cancellationToken) --- End of stack trace from previous location --- at Emby.Server.Implementations.HttpServer.WebSocketConnection.ProcessInternal(PipeReader reader) at Emby.Server.Implementations.HttpServer.WebSocketConnection.ReceiveAsync(CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context) at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context) [2024-05-13 21:41:29.450 +02:00] [ERR] [636] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "xxx.xxx.xxx.xxx" WebSocketRequestHandler error System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Closed') for this operation. Valid states are: 'Open, CloseReceived' at System.Net.WebSockets.ManagedWebSocket.SendAsync(ReadOnlyMemory`1 buffer, WebSocketMessageType messageType, WebSocketMessageFlags messageFlags, CancellationToken cancellationToken) --- End of stack trace from previous location --- at Emby.Server.Implementations.HttpServer.WebSocketConnection.ProcessInternal(PipeReader reader) at Emby.Server.Implementations.HttpServer.WebSocketConnection.ReceiveAsync(CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context) at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context) [2024-05-13 21:41:29.451 +02:00] [ERR] [636] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "xxx.xxx.xxx.xxx" WebSocketRequestHandler error System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Closed') for this operation. Valid states are: 'Open, CloseReceived' at System.Net.WebSockets.ManagedWebSocket.SendAsync(ReadOnlyMemory`1 buffer, WebSocketMessageType messageType, WebSocketMessageFlags messageFlags, CancellationToken cancellationToken) --- End of stack trace from previous location --- at Emby.Server.Implementations.HttpServer.WebSocketConnection.ProcessInternal(PipeReader reader) at Emby.Server.Implementations.HttpServer.WebSocketConnection.ReceiveAsync(CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context) at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context) ``` ### FFmpeg logs _No response_ ### Please attach any browser or client logs here _No response_ ### Please attach any screenshots here _No response_ ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
OVERLORD added the bug label 2026-02-07 02:17:03 +03:00
Author
Owner

@jellyfin-bot commented on GitHub (May 14, 2024):

Hi, it seems like your issue report has the following item(s) that need to be addressed:

  • The format of the environment section has been altered from the template.

This is an automated message, currently under testing. Please file an issue here if you encounter any problems.

@jellyfin-bot commented on GitHub (May 14, 2024): Hi, it seems like your issue report has the following item(s) that need to be addressed: - The format of the environment section has been altered from the template. This is an automated message, currently under testing. Please file an issue [here](https://github.com/jellyfin/jellyfin-triage-scripts/issues) if you encounter any problems.
Author
Owner

@felix920506 commented on GitHub (May 14, 2024):

What is the host operating system

@felix920506 commented on GitHub (May 14, 2024): What is the host operating system
Author
Owner

@ShakeSp33r commented on GitHub (May 14, 2024):

Debian GNU/Linux 11 (bullseye)

@ShakeSp33r commented on GitHub (May 14, 2024): Debian GNU/Linux 11 (bullseye)
Author
Owner

@JamsRepos commented on GitHub (May 14, 2024):

I had a similar situation where the server looked fine in the logs but you could not connect to the front-end at all and this happened twice within 24 hours. I restarted the container and have been fine since, awaiting it to happen again to check the logs further, could be related, could be a fluke.

I'm using Unraid official docker image.

@JamsRepos commented on GitHub (May 14, 2024): I had a similar situation where the server looked fine in the logs but you could not connect to the front-end at all and this happened twice within 24 hours. I restarted the container and have been fine since, awaiting it to happen again to check the logs further, could be related, could be a fluke. I'm using Unraid official docker image.
Author
Owner

@felix920506 commented on GitHub (May 14, 2024):

@JamsRepos JF locking up on Unraid is a known issue and is being tracked in #11459

@felix920506 commented on GitHub (May 14, 2024): @JamsRepos JF locking up on Unraid is a known issue and is being tracked in #11459
Author
Owner

@l7ssha commented on GitHub (May 14, 2024):

I have similar problem with websocket closing i presume. I dont know if thats the culprit since jellyfin hangs randomly, disconnects from client and then after some time or after restarting service it comes back again.

[2024-05-14 11:29:47.234 +02:00] [INF] User policy for "szymon". EnableAudioPlaybackTranscoding: True
[2024-05-14 11:29:47.234 +02:00] [INF] RemoteClientBitrateLimit: 30000000, RemoteIP: "172.18.0.1", IsInLocalNetwork: False
[2024-05-14 11:29:49.271 +02:00] [INF] Processing playback tracker : "f95d9848bfdddc3a4c500e6781ada5d23a6739e5-bc8e852f0187456c87b3dca5ed6cca4c-307e2fea2e166e6a347b1d6438a17b11"
[2024-05-14 11:29:49.914 +02:00] [INF] Processing playback tracker : "Feishin-Desktop Client-szymon-7b8e69c4c8064f969ac2cca8fb075d29-585978acdf41e1aafa677b17d9c857e3"
[2024-05-14 11:30:47.660 +02:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-05-14 11:30:59.672 +02:00] [INF] Lost 1 WebSockets.
[2024-05-14 11:34:16.810 +02:00] [INF] Sending shutdown notifications
[2024-05-14 11:34:19.336 +02:00] [ERR] WS "192.168.0.207" WebSocketRequestHandler error
System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Closed') for this operation. Valid states are: 'Open, CloseReceived'
   at System.Net.WebSockets.WebSocketValidate.ThrowIfInvalidState(WebSocketState currentState, Boolean isDisposed, WebSocketState[] validStates)
   at System.Net.WebSockets.ManagedWebSocket.SendAsync(ReadOnlyMemory`1 buffer, WebSocketMessageType messageType, WebSocketMessageFlags messageFlags, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Emby.Server.Implementations.HttpServer.WebSocketConnection.ProcessInternal(PipeReader reader)
   at Emby.Server.Implementations.HttpServer.WebSocketConnection.ReceiveAsync(CancellationToken cancellationToken)
   at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context)
   at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context)

These are the only error messages i see. These error came up while playing music through Feishin but playing through official client behaves same way.

Using official ubuntu package in lxc container.

EDIT: My issue might not be connected to websocket error mentioned above. It did the thing again (play media normally, after some time stops, client no longer responsible, nothing loads). New logs indicate that playback reporting plugin locks server up:

[2024-05-14 12:34:37.401 +02:00] [INF] Playback tracker found, adding playback info : "SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAobGludXgteDg2XzY0IHVua25vd24pfDE3MTM1MTA3MDI2NTk1-7b8e69c4c8064f969ac2cca8fb075d29-6551f4c7c2ad72b883590caf5eb4f503"
[2024-05-14 12:34:37.401 +02:00] [INF] Saving playback tracking activity in DB
[2024-05-14 12:34:37.406 +02:00] [INF] StartPlaybackTimer : Exited
[2024-05-14 12:34:38.455 +02:00] [INF] Processing playback tracker : "SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAobGludXgteDg2XzY0IHVua25vd24pfDE3MTM1MTA3MDI2NTk1-7b8e69c4c8064f969ac2cca8fb075d29-6551f4c7c2ad72b883590caf5eb4f503"
[2024-05-14 12:34:58.462 +02:00] [INF] Processing playback tracker : "SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAobGludXgteDg2XzY0IHVua25vd24pfDE3MTM1MTA3MDI2NTk1-7b8e69c4c8064f969ac2cca8fb075d29-6551f4c7c2ad72b883590caf5eb4f503"
[2024-05-14 12:40:07.137 +02:00] [ERR] Error reporting playback progress
MediaBrowser.Common.Extensions.ResourceNotFoundException: Session 1d90c5bbe8502e57d0b92f19710755a2 not found.
   at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated)
   at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state)
[2024-05-14 12:40:08.137 +02:00] [ERR] Error reporting playback progress
MediaBrowser.Common.Extensions.ResourceNotFoundException: Session 1d90c5bbe8502e57d0b92f19710755a2 not found.
   at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated)
   at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state)
[2024-05-14 12:40:09.139 +02:00] [ERR] Error reporting playback progress
MediaBrowser.Common.Extensions.ResourceNotFoundException: Session 1d90c5bbe8502e57d0b92f19710755a2 not found.
   at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated)
   at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state)
[2024-05-14 12:40:10.140 +02:00] [ERR] Error reporting playback progress
MediaBrowser.Common.Extensions.ResourceNotFoundException: Session 1d90c5bbe8502e57d0b92f19710755a2 not found.
   at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated)
   at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state)
[2024-05-14 12:40:10.174 +02:00] [INF] WS "192.168.0.234" closed
[2024-05-14 12:40:10.241 +02:00] [INF] Processing playback tracker : "SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAobGludXgteDg2XzY0IHVua25vd24pfDE3MTM1MTA3MDI2NTk1-7b8e69c4c8064f969ac2cca8fb075d29-6551f4c7c2ad72b883590caf5eb4f503"
[2024-05-14 12:40:10.405 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.406 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.431 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.431 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.431 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.438 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:10.439 +02:00] [ERR] Error processing request: "Invalid token". URL "GET" "/socket".
[2024-05-14 12:40:10.441 +02:00] [ERR] Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress".
[2024-05-14 12:40:10.536 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.536 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.537 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:10.579 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.580 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.580 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.580 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:10.580 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.580 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:10.581 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.582 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.582 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:10.638 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.638 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.638 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:10.647 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.647 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.647 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:10.651 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.651 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:10.651 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:16.430 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:16.431 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:16.431 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:16.666 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:16.666 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:16.667 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:17.583 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.583 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.598 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.598 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.598 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.599 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:17.599 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.599 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.599 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.599 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:17.600 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:17.603 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.605 +02:00] [ERR] Error processing request: "Invalid token". URL "GET" "/socket".
[2024-05-14 12:40:17.644 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.645 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.645 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:17.674 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.674 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.675 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:17.685 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.685 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.685 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.685 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.685 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:17.685 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:17.701 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.701 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:17.701 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:22.072 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:22.073 +02:00] [ERR] Error processing request: "Invalid token". URL "GET" "/socket".
[2024-05-14 12:40:23.186 +02:00] [INF] WS "192.168.0.234" request
[2024-05-14 12:40:23.600 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:23.600 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:23.600 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-05-14 12:40:23.613 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:23.613 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-05-14 12:40:23.614 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged.

EDIT2:
Also a lot of errors like that

[2024-05-14 13:01:16.544 +02:00] [WRN] WS "192.168.0.207" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."

when using official client. Happens when opening collection, nothing loads, spinner "spins", backing up and clicking again makes it work (collection loads properly)

@l7ssha commented on GitHub (May 14, 2024): I have similar problem with websocket closing i presume. I dont know if thats the culprit since jellyfin hangs randomly, disconnects from client and then after some time or after restarting service it comes back again. ``` [2024-05-14 11:29:47.234 +02:00] [INF] User policy for "szymon". EnableAudioPlaybackTranscoding: True [2024-05-14 11:29:47.234 +02:00] [INF] RemoteClientBitrateLimit: 30000000, RemoteIP: "172.18.0.1", IsInLocalNetwork: False [2024-05-14 11:29:49.271 +02:00] [INF] Processing playback tracker : "f95d9848bfdddc3a4c500e6781ada5d23a6739e5-bc8e852f0187456c87b3dca5ed6cca4c-307e2fea2e166e6a347b1d6438a17b11" [2024-05-14 11:29:49.914 +02:00] [INF] Processing playback tracker : "Feishin-Desktop Client-szymon-7b8e69c4c8064f969ac2cca8fb075d29-585978acdf41e1aafa677b17d9c857e3" [2024-05-14 11:30:47.660 +02:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets. [2024-05-14 11:30:59.672 +02:00] [INF] Lost 1 WebSockets. [2024-05-14 11:34:16.810 +02:00] [INF] Sending shutdown notifications [2024-05-14 11:34:19.336 +02:00] [ERR] WS "192.168.0.207" WebSocketRequestHandler error System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Closed') for this operation. Valid states are: 'Open, CloseReceived' at System.Net.WebSockets.WebSocketValidate.ThrowIfInvalidState(WebSocketState currentState, Boolean isDisposed, WebSocketState[] validStates) at System.Net.WebSockets.ManagedWebSocket.SendAsync(ReadOnlyMemory`1 buffer, WebSocketMessageType messageType, WebSocketMessageFlags messageFlags, CancellationToken cancellationToken) --- End of stack trace from previous location --- at Emby.Server.Implementations.HttpServer.WebSocketConnection.ProcessInternal(PipeReader reader) at Emby.Server.Implementations.HttpServer.WebSocketConnection.ReceiveAsync(CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context) at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context) ``` These are the only error messages i see. These error came up while playing music through Feishin but playing through official client behaves same way. Using official ubuntu package in lxc container. EDIT: My issue might not be connected to websocket error mentioned above. It did the thing again (play media normally, after some time stops, client no longer responsible, nothing loads). New logs indicate that playback reporting plugin locks server up: ``` [2024-05-14 12:34:37.401 +02:00] [INF] Playback tracker found, adding playback info : "SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAobGludXgteDg2XzY0IHVua25vd24pfDE3MTM1MTA3MDI2NTk1-7b8e69c4c8064f969ac2cca8fb075d29-6551f4c7c2ad72b883590caf5eb4f503" [2024-05-14 12:34:37.401 +02:00] [INF] Saving playback tracking activity in DB [2024-05-14 12:34:37.406 +02:00] [INF] StartPlaybackTimer : Exited [2024-05-14 12:34:38.455 +02:00] [INF] Processing playback tracker : "SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAobGludXgteDg2XzY0IHVua25vd24pfDE3MTM1MTA3MDI2NTk1-7b8e69c4c8064f969ac2cca8fb075d29-6551f4c7c2ad72b883590caf5eb4f503" [2024-05-14 12:34:58.462 +02:00] [INF] Processing playback tracker : "SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAobGludXgteDg2XzY0IHVua25vd24pfDE3MTM1MTA3MDI2NTk1-7b8e69c4c8064f969ac2cca8fb075d29-6551f4c7c2ad72b883590caf5eb4f503" [2024-05-14 12:40:07.137 +02:00] [ERR] Error reporting playback progress MediaBrowser.Common.Extensions.ResourceNotFoundException: Session 1d90c5bbe8502e57d0b92f19710755a2 not found. at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated) at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state) [2024-05-14 12:40:08.137 +02:00] [ERR] Error reporting playback progress MediaBrowser.Common.Extensions.ResourceNotFoundException: Session 1d90c5bbe8502e57d0b92f19710755a2 not found. at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated) at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state) [2024-05-14 12:40:09.139 +02:00] [ERR] Error reporting playback progress MediaBrowser.Common.Extensions.ResourceNotFoundException: Session 1d90c5bbe8502e57d0b92f19710755a2 not found. at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated) at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state) [2024-05-14 12:40:10.140 +02:00] [ERR] Error reporting playback progress MediaBrowser.Common.Extensions.ResourceNotFoundException: Session 1d90c5bbe8502e57d0b92f19710755a2 not found. at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated) at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state) [2024-05-14 12:40:10.174 +02:00] [INF] WS "192.168.0.234" closed [2024-05-14 12:40:10.241 +02:00] [INF] Processing playback tracker : "SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAobGludXgteDg2XzY0IHVua25vd24pfDE3MTM1MTA3MDI2NTk1-7b8e69c4c8064f969ac2cca8fb075d29-6551f4c7c2ad72b883590caf5eb4f503" [2024-05-14 12:40:10.405 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.406 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.431 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.431 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.431 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.438 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:10.439 +02:00] [ERR] Error processing request: "Invalid token". URL "GET" "/socket". [2024-05-14 12:40:10.441 +02:00] [ERR] Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress". [2024-05-14 12:40:10.536 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.536 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.537 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:10.579 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.580 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.580 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.580 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:10.580 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.580 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:10.581 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.582 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.582 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:10.638 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.638 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.638 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:10.647 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.647 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.647 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:10.651 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.651 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:10.651 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:16.430 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:16.431 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:16.431 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:16.666 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:16.666 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:16.667 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:17.583 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.583 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.598 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.598 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.598 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.599 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:17.599 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.599 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.599 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.599 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:17.600 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:17.603 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.605 +02:00] [ERR] Error processing request: "Invalid token". URL "GET" "/socket". [2024-05-14 12:40:17.644 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.645 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.645 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:17.674 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.674 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.675 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:17.685 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.685 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.685 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.685 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.685 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:17.685 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:17.701 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.701 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:17.701 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:22.072 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:22.073 +02:00] [ERR] Error processing request: "Invalid token". URL "GET" "/socket". [2024-05-14 12:40:23.186 +02:00] [INF] WS "192.168.0.234" request [2024-05-14 12:40:23.600 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:23.600 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:23.600 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. [2024-05-14 12:40:23.613 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:23.613 +02:00] [INF] "CustomAuthentication" was not authenticated. Failure message: "Invalid token." [2024-05-14 12:40:23.614 +02:00] [INF] AuthenticationScheme: "CustomAuthentication" was challenged. ``` EDIT2: Also a lot of errors like that ``` [2024-05-14 13:01:16.544 +02:00] [WRN] WS "192.168.0.207" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake." ``` when using official client. Happens when opening collection, nothing loads, spinner "spins", backing up and clicking again makes it work (collection loads properly)
Author
Owner

@ServeurpersoCom commented on GitHub (May 14, 2024):

Same probleme, freeze every few hours, without Docker, on bare Debian I need to systemctl restart jellyfin :'(

@ServeurpersoCom commented on GitHub (May 14, 2024): Same probleme, freeze every few hours, without Docker, on bare Debian I need to systemctl restart jellyfin :'(
Author
Owner

@felix920506 commented on GitHub (May 14, 2024):

Is anyone here using LXC
If so #11344

@felix920506 commented on GitHub (May 14, 2024): Is anyone here using LXC If so #11344
Author
Owner

@JonHodgins commented on GitHub (May 14, 2024):

Experiencing the same problem on 10.9.1 using docker on Debian 12.5 and the official Jellyfin image.

@JonHodgins commented on GitHub (May 14, 2024): Experiencing the same problem on 10.9.1 using docker on Debian 12.5 and the official Jellyfin image.
Author
Owner

@ServeurpersoCom commented on GitHub (May 14, 2024):

This is a general issue that seems to make this 1.9 unusable, I'm going to wait a bit while trying to find a way to help debug. Otherwise it will be a rollback (difficult because you have to restore the database from a version 1.8 and redo a lot of work)

@ServeurpersoCom commented on GitHub (May 14, 2024): This is a general issue that seems to make this 1.9 unusable, I'm going to wait a bit while trying to find a way to help debug. Otherwise it will be a rollback (difficult because you have to restore the database from a version 1.8 and redo a lot of work)
Author
Owner

@JamsRepos commented on GitHub (May 14, 2024):

This is a general issue that seems to make this 1.9 unusable, I'm going to wait a bit while trying to find a way to help debug. Otherwise it will be a rollback (difficult because you have to restore the database from a version 1.8 and redo a lot of work)

Yeah - I rolled back to 10.8.13 and it's all perfect and responsive again. Think i'll hold off on 10.9 until it's a little bit more stable.

@JamsRepos commented on GitHub (May 14, 2024): > This is a general issue that seems to make this 1.9 unusable, I'm going to wait a bit while trying to find a way to help debug. Otherwise it will be a rollback (difficult because you have to restore the database from a version 1.8 and redo a lot of work) Yeah - I rolled back to 10.8.13 and it's all perfect and responsive again. Think i'll hold off on 10.9 until it's a little bit more stable.
Author
Owner

@soakes commented on GitHub (May 14, 2024):

Is anyone here using LXC If so #11344

@felix920506 I am also running LXC (Proxmox), a Debian 12 VM which runs the official jellyfin deb repo which has shared mounts from the core with some additional nfs mounts connected from inside the VM.

This is running debian version:

ii  jellyfin                     10.9.1+deb12                   all          Jellyfin is the Free Software Media System.
ii  jellyfin-ffmpeg6             6.0.1-6-bookworm               amd64        Tools for transcoding, streaming and playing of multimedia files
ii  jellyfin-server              10.9.1+deb12                   amd64        Jellyfin is the Free Software Media System.
ii  jellyfin-web                 10.9.1+deb12                   all          Jellyfin is the Free Software Media System.

The only thing I have noticed which is worth mentioning is the logs shows:

[2024-05-14 18:22:43.368 +00:00] [WRN] The WebRootPath was not found: "/var/lib/jellyfin/wwwroot". Static files may be unavailable.

Confirming on the filesystem this path is incorrect and should be set to:

/usr/lib/jellyfin/bin/wwwroot

Im not seeing anything worth noting thats in the logs (yet). Will update if I find anything else.

@soakes commented on GitHub (May 14, 2024): > Is anyone here using LXC If so #11344 @felix920506 I am also running LXC (Proxmox), a Debian 12 VM which runs the official jellyfin deb repo which has shared mounts from the core with some additional nfs mounts connected from inside the VM. This is running debian version: ``` ii jellyfin 10.9.1+deb12 all Jellyfin is the Free Software Media System. ii jellyfin-ffmpeg6 6.0.1-6-bookworm amd64 Tools for transcoding, streaming and playing of multimedia files ii jellyfin-server 10.9.1+deb12 amd64 Jellyfin is the Free Software Media System. ii jellyfin-web 10.9.1+deb12 all Jellyfin is the Free Software Media System. ``` The only thing I have noticed which is worth mentioning is the logs shows: ``` [2024-05-14 18:22:43.368 +00:00] [WRN] The WebRootPath was not found: "/var/lib/jellyfin/wwwroot". Static files may be unavailable. ``` Confirming on the filesystem this path is incorrect and should be set to: ``` /usr/lib/jellyfin/bin/wwwroot ``` Im not seeing anything worth noting thats in the logs (yet). Will update if I find anything else.
Author
Owner

@Jomack16 commented on GitHub (May 14, 2024):

Using "jellyfin/jellyfin" image
Running under Docker "Docker version 26.1.2, build 211e74b"
On host OS "Ubuntu 22.04.4 LTS (GNU/Linux 6.5.0-28-generic x86_64)"

I am experiencing the same "locking up"
It is evidenced by streams failing, and the log ceasing to write.

The last line of the log is how I can know exactly when the problem happens, because nothing else is logged until the container is restarted.

This is the last ERR in the log before Jellyfin locks up:

[2024-05-14 13:15:46.337 -05:00] [ERR] Error processing request. URL "GET" "/Items/c1bb9e36565a7344da5f7dd6f417f08c/Images/Primary".
System.InvalidOperationException: Unable to convert any images to local

And this is the last line in the log before Jellyfin locks up:

[2024-05-14 13:15:52.511 -05:00] [DBG] "GetItemList" query time (slow): 371.5236ms. Query: "select type,data,EndDate,ChannelId,CommunityRating,CustomRating,IndexNumber,IsLocked,PreferredMetadataLanguage,PreferredMetadataCountryCode,Width,Height,DateLastRefreshed,Name,Path,PremiereDate,Overview,ParentIndexNumber,ProductionYear,OfficialRating,ForcedSortName,RunTimeTicks,Size,DateCreated,DateModified,guid,Genres,ParentId,Audio,IsInMixedFolder,DateLastSaved,LockedFields,Studios,Tags,OriginalTitle,PrimaryVersionId,DateLastMediaAdded,Album,LUFS,NormalizationGain,CriticRating,IsVirtualItem,SeriesName,PresentationUniqueKey,InheritedParentalRatingValue,ExternalSeriesId,Tagline,ProviderIds,Images,ProductionLocations,ExtraIds,TotalBitrate,ExtraType,ExternalId,SeriesPresentationUniqueKey,OwnerId from TypedBaseItems A where type=@type AND Guid in (select itemId from AncestorIds where AncestorId=@AncestorId)"

If it is useful, I can provide copies of these debug level logs.

edited:
log attached
jellyfin20240514_004-116pissueScrubbed.zip

@Jomack16 commented on GitHub (May 14, 2024): Using "jellyfin/jellyfin" image Running under Docker "Docker version 26.1.2, build 211e74b" On host OS "Ubuntu 22.04.4 LTS (GNU/Linux 6.5.0-28-generic x86_64)" I am experiencing the same "locking up" It is evidenced by streams failing, and the log ceasing to write. The last line of the log is how I can know exactly when the problem happens, because nothing else is logged until the container is restarted. This is the last ERR in the log before Jellyfin locks up: ``` [2024-05-14 13:15:46.337 -05:00] [ERR] Error processing request. URL "GET" "/Items/c1bb9e36565a7344da5f7dd6f417f08c/Images/Primary". System.InvalidOperationException: Unable to convert any images to local ``` And this is the last line in the log before Jellyfin locks up: ``` [2024-05-14 13:15:52.511 -05:00] [DBG] "GetItemList" query time (slow): 371.5236ms. Query: "select type,data,EndDate,ChannelId,CommunityRating,CustomRating,IndexNumber,IsLocked,PreferredMetadataLanguage,PreferredMetadataCountryCode,Width,Height,DateLastRefreshed,Name,Path,PremiereDate,Overview,ParentIndexNumber,ProductionYear,OfficialRating,ForcedSortName,RunTimeTicks,Size,DateCreated,DateModified,guid,Genres,ParentId,Audio,IsInMixedFolder,DateLastSaved,LockedFields,Studios,Tags,OriginalTitle,PrimaryVersionId,DateLastMediaAdded,Album,LUFS,NormalizationGain,CriticRating,IsVirtualItem,SeriesName,PresentationUniqueKey,InheritedParentalRatingValue,ExternalSeriesId,Tagline,ProviderIds,Images,ProductionLocations,ExtraIds,TotalBitrate,ExtraType,ExternalId,SeriesPresentationUniqueKey,OwnerId from TypedBaseItems A where type=@type AND Guid in (select itemId from AncestorIds where AncestorId=@AncestorId)" ``` If it is useful, I can provide copies of these debug level logs. edited: log attached [jellyfin20240514_004-116pissueScrubbed.zip](https://github.com/jellyfin/jellyfin/files/15312978/jellyfin20240514_004-116pissueScrubbed.zip)
Author
Owner

@joshuaboniface commented on GitHub (May 14, 2024):

I am also experiencing this occasionally, and am set up to do a full core dump of the process the next time it does. Though in my case on Debian 11 (standard .deb packages via repo) it's only happening once every couple days at most.

@joshuaboniface commented on GitHub (May 14, 2024): I am also experiencing this occasionally, and am set up to do a full core dump of the process the next time it does. Though in my case on Debian 11 (standard `.deb` packages via repo) it's only happening once every couple days at most.
Author
Owner

@ServeurpersoCom commented on GitHub (May 14, 2024):

3 time in about 1 hour

@ServeurpersoCom commented on GitHub (May 14, 2024): 3 time in about 1 hour
Author
Owner

@memehammad commented on GitHub (May 14, 2024):

I am also experiencing this occasionally, and am set up to do a full core dump of the process the next time it does. Though in my case on Debian 11 (standard .deb packages via repo) it's only happening once every couple days at most.

Try having a lot of concurrent streams. I usually just opened 10 new tabs, played the same movie on each one of them. After about 5 minutes jellyfin becomes unresponsive.

@memehammad commented on GitHub (May 14, 2024): > I am also experiencing this occasionally, and am set up to do a full core dump of the process the next time it does. Though in my case on Debian 11 (standard `.deb` packages via repo) it's only happening once every couple days at most. Try having a lot of concurrent streams. I usually just opened 10 new tabs, played the same movie on each one of them. After about 5 minutes jellyfin becomes unresponsive.
Author
Owner

@Jomack16 commented on GitHub (May 14, 2024):

I am also experiencing this occasionally, and am set up to do a full core dump of the process the next time it does. Though in my case on Debian 11 (standard .deb packages via repo) it's only happening once every couple days at most.

This does only seem to occur after certain threshold of concurrent streams. I haven't nailed down the number yet, but seems to be 9+ or more.

@Jomack16 commented on GitHub (May 14, 2024): > I am also experiencing this occasionally, and am set up to do a full core dump of the process the next time it does. Though in my case on Debian 11 (standard `.deb` packages via repo) it's only happening once every couple days at most. This does only seem to occur after certain threshold of concurrent streams. I haven't nailed down the number yet, but seems to be 9+ or more.
Author
Owner

@ServeurpersoCom commented on GitHub (May 14, 2024):

Do you have also a lot of :
(or it's only me ?)

FROM \"Users\" AS \"u\"
LEFT JOIN \"ImageInfos\" AS \"i\" ON \"u\".\"Id\" = \"i\".\"UserId\"
WHERE \"u\".\"Id\" = @__id_0
ORDER BY \"u\".\"Id\", \"i\".\"Id\"
LIMIT 1"
[2024-05-14 21:46:23.230 +02:00] [ERR] An exception occurred while iterating over the results of a query for context type '"Jellyfin.Server.Implementations.JellyfinDbContext"'."
""Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked: ImageInfos'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext()"
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked: ImageInfos'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext()
[2024-05-14 21:46:23.230 +02:00] [ERR] Failed executing DbCommand ("30,184"ms) [Parameters=["@__id_0='?' (DbType = Guid)"], CommandType='Text', CommandTimeout='30']"
""SELECT \"u\".\"Id\", \"u\".\"AudioLanguagePreference\", \"u\".\"AuthenticationProviderId\", \"u\".\"CastReceiverId\", \"u\".\"DisplayCollectionsView\", \"u\".\"DisplayMissingEpisodes\", \"u\".\"EnableAutoLogin\", \"u\".\"EnableLocalPassword\", \"u\".\"EnableNextEpisodeAutoPlay\", \"u\".\"EnableUserPreferenceAccess\", \"u\".\"HidePlayedInLatest\", \"u\".\"InternalId\", \"u\".\"InvalidLoginAttemptCount\", \"u\".\"LastActivityDate\", \"u\".\"LastLoginDate\", \"u\".\"LoginAttemptsBeforeLockout\", \"u\".\"MaxActiveSessions\", \"u\".\"MaxParentalAgeRating\", \"u\".\"MustUpdatePassword\", \"u\".\"Password\", \"u\".\"PasswordResetProviderId\", \"u\".\"PlayDefaultAudioTrack\", \"u\".\"RememberAudioSelections\", \"u\".\"RememberSubtitleSelections\", \"u\".\"RemoteClientBitrateLimit\", \"u\".\"RowVersion\", \"u\".\"SubtitleLanguagePreference\", \"u\".\"SubtitleMode\", \"u\".\"SyncPlayAccess\", \"u\".\"Username\", \"i\".\"Id\", \"i\".\"LastModified\", \"i\".\"Path\", \"i\".\"UserId\"
FROM \"Users\" AS \"u\"
@ServeurpersoCom commented on GitHub (May 14, 2024): Do you have also a lot of : (or it's only me ?) ``` FROM \"Users\" AS \"u\" LEFT JOIN \"ImageInfos\" AS \"i\" ON \"u\".\"Id\" = \"i\".\"UserId\" WHERE \"u\".\"Id\" = @__id_0 ORDER BY \"u\".\"Id\", \"i\".\"Id\" LIMIT 1" [2024-05-14 21:46:23.230 +02:00] [ERR] An exception occurred while iterating over the results of a query for context type '"Jellyfin.Server.Implementations.JellyfinDbContext"'." ""Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked: ImageInfos'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext()" Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked: ImageInfos'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext() [2024-05-14 21:46:23.230 +02:00] [ERR] Failed executing DbCommand ("30,184"ms) [Parameters=["@__id_0='?' (DbType = Guid)"], CommandType='Text', CommandTimeout='30']" ""SELECT \"u\".\"Id\", \"u\".\"AudioLanguagePreference\", \"u\".\"AuthenticationProviderId\", \"u\".\"CastReceiverId\", \"u\".\"DisplayCollectionsView\", \"u\".\"DisplayMissingEpisodes\", \"u\".\"EnableAutoLogin\", \"u\".\"EnableLocalPassword\", \"u\".\"EnableNextEpisodeAutoPlay\", \"u\".\"EnableUserPreferenceAccess\", \"u\".\"HidePlayedInLatest\", \"u\".\"InternalId\", \"u\".\"InvalidLoginAttemptCount\", \"u\".\"LastActivityDate\", \"u\".\"LastLoginDate\", \"u\".\"LoginAttemptsBeforeLockout\", \"u\".\"MaxActiveSessions\", \"u\".\"MaxParentalAgeRating\", \"u\".\"MustUpdatePassword\", \"u\".\"Password\", \"u\".\"PasswordResetProviderId\", \"u\".\"PlayDefaultAudioTrack\", \"u\".\"RememberAudioSelections\", \"u\".\"RememberSubtitleSelections\", \"u\".\"RemoteClientBitrateLimit\", \"u\".\"RowVersion\", \"u\".\"SubtitleLanguagePreference\", \"u\".\"SubtitleMode\", \"u\".\"SyncPlayAccess\", \"u\".\"Username\", \"i\".\"Id\", \"i\".\"LastModified\", \"i\".\"Path\", \"i\".\"UserId\" FROM \"Users\" AS \"u\" ```
Author
Owner

@soakes commented on GitHub (May 14, 2024):

Do you have also a lot of : (or it's only me ?)

FROM \"Users\" AS \"u\"
LEFT JOIN \"ImageInfos\" AS \"i\" ON \"u\".\"Id\" = \"i\".\"UserId\"
WHERE \"u\".\"Id\" = @__id_0
ORDER BY \"u\".\"Id\", \"i\".\"Id\"
LIMIT 1"
[2024-05-14 21:46:23.230 +02:00] [ERR] An exception occurred while iterating over the results of a query for context type '"Jellyfin.Server.Implementations.JellyfinDbContext"'."
""Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked: ImageInfos'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext()"
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked: ImageInfos'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext()
[2024-05-14 21:46:23.230 +02:00] [ERR] Failed executing DbCommand ("30,184"ms) [Parameters=["@__id_0='?' (DbType = Guid)"], CommandType='Text', CommandTimeout='30']"
""SELECT \"u\".\"Id\", \"u\".\"AudioLanguagePreference\", \"u\".\"AuthenticationProviderId\", \"u\".\"CastReceiverId\", \"u\".\"DisplayCollectionsView\", \"u\".\"DisplayMissingEpisodes\", \"u\".\"EnableAutoLogin\", \"u\".\"EnableLocalPassword\", \"u\".\"EnableNextEpisodeAutoPlay\", \"u\".\"EnableUserPreferenceAccess\", \"u\".\"HidePlayedInLatest\", \"u\".\"InternalId\", \"u\".\"InvalidLoginAttemptCount\", \"u\".\"LastActivityDate\", \"u\".\"LastLoginDate\", \"u\".\"LoginAttemptsBeforeLockout\", \"u\".\"MaxActiveSessions\", \"u\".\"MaxParentalAgeRating\", \"u\".\"MustUpdatePassword\", \"u\".\"Password\", \"u\".\"PasswordResetProviderId\", \"u\".\"PlayDefaultAudioTrack\", \"u\".\"RememberAudioSelections\", \"u\".\"RememberSubtitleSelections\", \"u\".\"RemoteClientBitrateLimit\", \"u\".\"RowVersion\", \"u\".\"SubtitleLanguagePreference\", \"u\".\"SubtitleMode\", \"u\".\"SyncPlayAccess\", \"u\".\"Username\", \"i\".\"Id\", \"i\".\"LastModified\", \"i\".\"Path\", \"i\".\"UserId\"
FROM \"Users\" AS \"u\"

I haven't got anything like this and yes it seems to be dying several times an hour.

@soakes commented on GitHub (May 14, 2024): > Do you have also a lot of : (or it's only me ?) > > ``` > FROM \"Users\" AS \"u\" > LEFT JOIN \"ImageInfos\" AS \"i\" ON \"u\".\"Id\" = \"i\".\"UserId\" > WHERE \"u\".\"Id\" = @__id_0 > ORDER BY \"u\".\"Id\", \"i\".\"Id\" > LIMIT 1" > [2024-05-14 21:46:23.230 +02:00] [ERR] An exception occurred while iterating over the results of a query for context type '"Jellyfin.Server.Implementations.JellyfinDbContext"'." > ""Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked: ImageInfos'. > at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) > at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() > at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) > at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) > at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) > at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext()" > Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked: ImageInfos'. > at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) > at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() > at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) > at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) > at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) > at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext() > [2024-05-14 21:46:23.230 +02:00] [ERR] Failed executing DbCommand ("30,184"ms) [Parameters=["@__id_0='?' (DbType = Guid)"], CommandType='Text', CommandTimeout='30']" > ""SELECT \"u\".\"Id\", \"u\".\"AudioLanguagePreference\", \"u\".\"AuthenticationProviderId\", \"u\".\"CastReceiverId\", \"u\".\"DisplayCollectionsView\", \"u\".\"DisplayMissingEpisodes\", \"u\".\"EnableAutoLogin\", \"u\".\"EnableLocalPassword\", \"u\".\"EnableNextEpisodeAutoPlay\", \"u\".\"EnableUserPreferenceAccess\", \"u\".\"HidePlayedInLatest\", \"u\".\"InternalId\", \"u\".\"InvalidLoginAttemptCount\", \"u\".\"LastActivityDate\", \"u\".\"LastLoginDate\", \"u\".\"LoginAttemptsBeforeLockout\", \"u\".\"MaxActiveSessions\", \"u\".\"MaxParentalAgeRating\", \"u\".\"MustUpdatePassword\", \"u\".\"Password\", \"u\".\"PasswordResetProviderId\", \"u\".\"PlayDefaultAudioTrack\", \"u\".\"RememberAudioSelections\", \"u\".\"RememberSubtitleSelections\", \"u\".\"RemoteClientBitrateLimit\", \"u\".\"RowVersion\", \"u\".\"SubtitleLanguagePreference\", \"u\".\"SubtitleMode\", \"u\".\"SyncPlayAccess\", \"u\".\"Username\", \"i\".\"Id\", \"i\".\"LastModified\", \"i\".\"Path\", \"i\".\"UserId\" > FROM \"Users\" AS \"u\" > ``` I haven't got anything like this and yes it seems to be dying several times an hour.
Author
Owner

@memehammad commented on GitHub (May 14, 2024):

Do you have also a lot of : (or it's only me ?)

FROM \"Users\" AS \"u\"
LEFT JOIN \"ImageInfos\" AS \"i\" ON \"u\".\"Id\" = \"i\".\"UserId\"
WHERE \"u\".\"Id\" = @__id_0
ORDER BY \"u\".\"Id\", \"i\".\"Id\"
LIMIT 1"
[2024-05-14 21:46:23.230 +02:00] [ERR] An exception occurred while iterating over the results of a query for context type '"Jellyfin.Server.Implementations.JellyfinDbContext"'."
""Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked: ImageInfos'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext()"
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked: ImageInfos'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext()
[2024-05-14 21:46:23.230 +02:00] [ERR] Failed executing DbCommand ("30,184"ms) [Parameters=["@__id_0='?' (DbType = Guid)"], CommandType='Text', CommandTimeout='30']"
""SELECT \"u\".\"Id\", \"u\".\"AudioLanguagePreference\", \"u\".\"AuthenticationProviderId\", \"u\".\"CastReceiverId\", \"u\".\"DisplayCollectionsView\", \"u\".\"DisplayMissingEpisodes\", \"u\".\"EnableAutoLogin\", \"u\".\"EnableLocalPassword\", \"u\".\"EnableNextEpisodeAutoPlay\", \"u\".\"EnableUserPreferenceAccess\", \"u\".\"HidePlayedInLatest\", \"u\".\"InternalId\", \"u\".\"InvalidLoginAttemptCount\", \"u\".\"LastActivityDate\", \"u\".\"LastLoginDate\", \"u\".\"LoginAttemptsBeforeLockout\", \"u\".\"MaxActiveSessions\", \"u\".\"MaxParentalAgeRating\", \"u\".\"MustUpdatePassword\", \"u\".\"Password\", \"u\".\"PasswordResetProviderId\", \"u\".\"PlayDefaultAudioTrack\", \"u\".\"RememberAudioSelections\", \"u\".\"RememberSubtitleSelections\", \"u\".\"RemoteClientBitrateLimit\", \"u\".\"RowVersion\", \"u\".\"SubtitleLanguagePreference\", \"u\".\"SubtitleMode\", \"u\".\"SyncPlayAccess\", \"u\".\"Username\", \"i\".\"Id\", \"i\".\"LastModified\", \"i\".\"Path\", \"i\".\"UserId\"
FROM \"Users\" AS \"u\"

Yes, I've gotten this a few times. Not always, but often.

@memehammad commented on GitHub (May 14, 2024): > Do you have also a lot of : (or it's only me ?) > > ``` > FROM \"Users\" AS \"u\" > LEFT JOIN \"ImageInfos\" AS \"i\" ON \"u\".\"Id\" = \"i\".\"UserId\" > WHERE \"u\".\"Id\" = @__id_0 > ORDER BY \"u\".\"Id\", \"i\".\"Id\" > LIMIT 1" > [2024-05-14 21:46:23.230 +02:00] [ERR] An exception occurred while iterating over the results of a query for context type '"Jellyfin.Server.Implementations.JellyfinDbContext"'." > ""Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked: ImageInfos'. > at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) > at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() > at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) > at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) > at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) > at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext()" > Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked: ImageInfos'. > at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) > at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() > at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) > at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) > at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) > at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext() > [2024-05-14 21:46:23.230 +02:00] [ERR] Failed executing DbCommand ("30,184"ms) [Parameters=["@__id_0='?' (DbType = Guid)"], CommandType='Text', CommandTimeout='30']" > ""SELECT \"u\".\"Id\", \"u\".\"AudioLanguagePreference\", \"u\".\"AuthenticationProviderId\", \"u\".\"CastReceiverId\", \"u\".\"DisplayCollectionsView\", \"u\".\"DisplayMissingEpisodes\", \"u\".\"EnableAutoLogin\", \"u\".\"EnableLocalPassword\", \"u\".\"EnableNextEpisodeAutoPlay\", \"u\".\"EnableUserPreferenceAccess\", \"u\".\"HidePlayedInLatest\", \"u\".\"InternalId\", \"u\".\"InvalidLoginAttemptCount\", \"u\".\"LastActivityDate\", \"u\".\"LastLoginDate\", \"u\".\"LoginAttemptsBeforeLockout\", \"u\".\"MaxActiveSessions\", \"u\".\"MaxParentalAgeRating\", \"u\".\"MustUpdatePassword\", \"u\".\"Password\", \"u\".\"PasswordResetProviderId\", \"u\".\"PlayDefaultAudioTrack\", \"u\".\"RememberAudioSelections\", \"u\".\"RememberSubtitleSelections\", \"u\".\"RemoteClientBitrateLimit\", \"u\".\"RowVersion\", \"u\".\"SubtitleLanguagePreference\", \"u\".\"SubtitleMode\", \"u\".\"SyncPlayAccess\", \"u\".\"Username\", \"i\".\"Id\", \"i\".\"LastModified\", \"i\".\"Path\", \"i\".\"UserId\" > FROM \"Users\" AS \"u\" > ``` Yes, I've gotten this a few times. Not always, but often.
Author
Owner

@ServeurpersoCom commented on GitHub (May 14, 2024):

It's look like I get this on every crash time, but I'm not sure

@ServeurpersoCom commented on GitHub (May 14, 2024): It's look like I get this on every crash time, but I'm not sure
Author
Owner

@Jomack16 commented on GitHub (May 14, 2024):

Do you have also a lot of : (or it's only me ?)

FROM \"Users\" AS \"u\"
LEFT JOIN \"ImageInfos\" AS \"i\" ON \"u\".\"Id\" = \"i\".\"UserId\"
WHERE \"u\".\"Id\" = @__id_0
ORDER BY \"u\".\"Id\", \"i\".\"Id\"
LIMIT 1"
[2024-05-14 21:46:23.230 +02:00] [ERR] An exception occurred while iterating over the results of a query for context type '"Jellyfin.Server.Implementations.JellyfinDbContext"'."
""Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked: ImageInfos'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext()"
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked: ImageInfos'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext()
[2024-05-14 21:46:23.230 +02:00] [ERR] Failed executing DbCommand ("30,184"ms) [Parameters=["@__id_0='?' (DbType = Guid)"], CommandType='Text', CommandTimeout='30']"
""SELECT \"u\".\"Id\", \"u\".\"AudioLanguagePreference\", \"u\".\"AuthenticationProviderId\", \"u\".\"CastReceiverId\", \"u\".\"DisplayCollectionsView\", \"u\".\"DisplayMissingEpisodes\", \"u\".\"EnableAutoLogin\", \"u\".\"EnableLocalPassword\", \"u\".\"EnableNextEpisodeAutoPlay\", \"u\".\"EnableUserPreferenceAccess\", \"u\".\"HidePlayedInLatest\", \"u\".\"InternalId\", \"u\".\"InvalidLoginAttemptCount\", \"u\".\"LastActivityDate\", \"u\".\"LastLoginDate\", \"u\".\"LoginAttemptsBeforeLockout\", \"u\".\"MaxActiveSessions\", \"u\".\"MaxParentalAgeRating\", \"u\".\"MustUpdatePassword\", \"u\".\"Password\", \"u\".\"PasswordResetProviderId\", \"u\".\"PlayDefaultAudioTrack\", \"u\".\"RememberAudioSelections\", \"u\".\"RememberSubtitleSelections\", \"u\".\"RemoteClientBitrateLimit\", \"u\".\"RowVersion\", \"u\".\"SubtitleLanguagePreference\", \"u\".\"SubtitleMode\", \"u\".\"SyncPlayAccess\", \"u\".\"Username\", \"i\".\"Id\", \"i\".\"LastModified\", \"i\".\"Path\", \"i\".\"UserId\"
FROM \"Users\" AS \"u\"

I've only seen this once in the Debug level logging I have been collecting.
During the same time-period I have had to restart many times.
So they don't seem to correlate for me.

@Jomack16 commented on GitHub (May 14, 2024): > Do you have also a lot of : (or it's only me ?) > > ``` > FROM \"Users\" AS \"u\" > LEFT JOIN \"ImageInfos\" AS \"i\" ON \"u\".\"Id\" = \"i\".\"UserId\" > WHERE \"u\".\"Id\" = @__id_0 > ORDER BY \"u\".\"Id\", \"i\".\"Id\" > LIMIT 1" > [2024-05-14 21:46:23.230 +02:00] [ERR] An exception occurred while iterating over the results of a query for context type '"Jellyfin.Server.Implementations.JellyfinDbContext"'." > ""Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked: ImageInfos'. > at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) > at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() > at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) > at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) > at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) > at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext()" > Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked: ImageInfos'. > at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) > at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() > at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) > at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) > at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) > at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext() > [2024-05-14 21:46:23.230 +02:00] [ERR] Failed executing DbCommand ("30,184"ms) [Parameters=["@__id_0='?' (DbType = Guid)"], CommandType='Text', CommandTimeout='30']" > ""SELECT \"u\".\"Id\", \"u\".\"AudioLanguagePreference\", \"u\".\"AuthenticationProviderId\", \"u\".\"CastReceiverId\", \"u\".\"DisplayCollectionsView\", \"u\".\"DisplayMissingEpisodes\", \"u\".\"EnableAutoLogin\", \"u\".\"EnableLocalPassword\", \"u\".\"EnableNextEpisodeAutoPlay\", \"u\".\"EnableUserPreferenceAccess\", \"u\".\"HidePlayedInLatest\", \"u\".\"InternalId\", \"u\".\"InvalidLoginAttemptCount\", \"u\".\"LastActivityDate\", \"u\".\"LastLoginDate\", \"u\".\"LoginAttemptsBeforeLockout\", \"u\".\"MaxActiveSessions\", \"u\".\"MaxParentalAgeRating\", \"u\".\"MustUpdatePassword\", \"u\".\"Password\", \"u\".\"PasswordResetProviderId\", \"u\".\"PlayDefaultAudioTrack\", \"u\".\"RememberAudioSelections\", \"u\".\"RememberSubtitleSelections\", \"u\".\"RemoteClientBitrateLimit\", \"u\".\"RowVersion\", \"u\".\"SubtitleLanguagePreference\", \"u\".\"SubtitleMode\", \"u\".\"SyncPlayAccess\", \"u\".\"Username\", \"i\".\"Id\", \"i\".\"LastModified\", \"i\".\"Path\", \"i\".\"UserId\" > FROM \"Users\" AS \"u\" > ``` I've only seen this once in the Debug level logging I have been collecting. During the same time-period I have had to restart many times. So they don't seem to correlate for me.
Author
Owner

@joshuaboniface commented on GitHub (May 14, 2024):

I don't get those DB locks either, so it might be a separate failure. There is another issue for those.

@joshuaboniface commented on GitHub (May 14, 2024): I don't get those DB locks either, so it might be a separate failure. There is another issue for those.
Author
Owner

@Jomack16 commented on GitHub (May 14, 2024):

I am also experiencing this occasionally, and am set up to do a full core dump of the process the next time it does. Though in my case on Debian 11 (standard .deb packages via repo) it's only happening once every couple days at most.

This does only seem to occur after certain threshold of concurrent streams. I haven't nailed down the number yet, but seems to be 9+ or more.

After some testing, It looks like the number is more like 25 concurrent, before another tab would not load.
However I did not get it to stop logging, so if the cause is the number of concurrent streams, It may take more than that.

@Jomack16 commented on GitHub (May 14, 2024): > > I am also experiencing this occasionally, and am set up to do a full core dump of the process the next time it does. Though in my case on Debian 11 (standard `.deb` packages via repo) it's only happening once every couple days at most. > > This does only seem to occur after certain threshold of concurrent streams. I haven't nailed down the number yet, but seems to be 9+ or more. After some testing, It looks like the number is more like 25 concurrent, before another tab would not load. However I did not get it to stop logging, so if the cause is the number of concurrent streams, It may take more than that.
Author
Owner

@memehammad commented on GitHub (May 14, 2024):

After some testing, It looks like the number is more like 25 concurrent, before another tab would not load. However I did not get it to stop logging, so if the cause is the number of concurrent streams, It may take more than that.

Pretty sure it depends on how powerful your system is. I'm on a low power system (Intel j4125) and I've gotten these issues with as few as 3 streams.

@memehammad commented on GitHub (May 14, 2024): > After some testing, It looks like the number is more like 25 concurrent, before another tab would not load. However I did not get it to stop logging, so if the cause is the number of concurrent streams, It may take more than that. Pretty sure it depends on how powerful your system is. I'm on a low power system (Intel j4125) and I've gotten these issues with as few as 3 streams.
Author
Owner

@soakes commented on GitHub (May 14, 2024):

After some testing, It looks like the number is more like 25 concurrent, before another tab would not load. However I did not get it to stop logging, so if the cause is the number of concurrent streams, It may take more than that.

Pretty sure it depends on how powerful your system is. I'm on a low power system (Intel j4125) and I've gotten these issues with as few as 3 streams.

Getting the issue on a 12th Gen Intel(R) Core(TM) i5-1235U with iGPU, even with just a single stream, so I dont think stream count/specs are really the cause.

@soakes commented on GitHub (May 14, 2024): > > After some testing, It looks like the number is more like 25 concurrent, before another tab would not load. However I did not get it to stop logging, so if the cause is the number of concurrent streams, It may take more than that. > > Pretty sure it depends on how powerful your system is. I'm on a low power system (Intel j4125) and I've gotten these issues with as few as 3 streams. Getting the issue on a **12th Gen Intel(R) Core(TM) i5-1235U** with iGPU, even with just a single stream, so I dont think stream count/specs are really the cause.
Author
Owner

@ServeurpersoCom commented on GitHub (May 14, 2024):

And another lock, more rare (without ImageInfos) I try to correlate if it's near my systemctl restarts:

""Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked'.
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Data.Sqlite.SqliteConnectionExtensions.ExecuteNonQuery(SqliteConnection connection, String commandText, SqliteParameter[] parameters)
   at Microsoft.Data.Sqlite.SqliteTransaction..ctor(SqliteConnection connection, IsolationLevel isolationLevel, Boolean deferred)
   at System.Data.Common.DbConnection.BeginDbTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)"
@ServeurpersoCom commented on GitHub (May 14, 2024): And another lock, more rare (without ImageInfos) I try to correlate if it's near my systemctl restarts: ``` ""Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 6: 'database table is locked'. at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteConnectionExtensions.ExecuteNonQuery(SqliteConnection connection, String commandText, SqliteParameter[] parameters) at Microsoft.Data.Sqlite.SqliteTransaction..ctor(SqliteConnection connection, IsolationLevel isolationLevel, Boolean deferred) at System.Data.Common.DbConnection.BeginDbTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)" ```
Author
Owner

@ServeurpersoCom commented on GitHub (May 14, 2024):

certainly a consequence but not the cause:(

@ServeurpersoCom commented on GitHub (May 14, 2024): certainly a consequence but not the cause:(
Author
Owner

@joshuaboniface commented on GitHub (May 14, 2024):

The times I've noticed this, I always only had a very small number of concurrent streams (1, maybe 2) and testing with 10 now so far no crash/lockup. I'll let those run for a little bit longer.

@joshuaboniface commented on GitHub (May 14, 2024): The times I've noticed this, I always only had a very small number of concurrent streams (1, maybe 2) and testing with 10 now so far no crash/lockup. I'll let those run for a little bit longer.
Author
Owner

@ServeurpersoCom commented on GitHub (May 14, 2024):

Oh, crashed exactly when I close my two fake load player !

(displayed on a browser, I think it's useless ?)

Unexpected Application Error!
Loading chunk 80187 failed. (error: https://www.---.com/jellyfin/web/search.6fcb4b64dc5ad5262510.chunk.js)

s.f.j@https://www.---.com/jellyfin/web/runtime.bundle.js?a32cc7cf54b43478bbe4:1:46403
s.e/<@https://www.---.com/jellyfin/web/runtime.bundle.js?a32cc7cf54b43478bbe4:1:1410
s.e@https://www.---.com/jellyfin/web/runtime.bundle.js?a32cc7cf54b43478bbe4:1:1375
... lot of chunk....
5127/l/call/<@https://www.---.com/jellyfin/web/node_modules.history.bundle.js?a32cc7cf54b43478bbe4:1:2479
call@https://www.---.com/jellyfin/web/node_modules.history.bundle.js?a32cc7cf54b43478bbe4:1:2448
L@https://www.---.com/jellyfin/web/node_modules.history.bundle.js?a32cc7cf54b43478bbe4:1:1525
n@https://www.---.com/jellyfin/web/node_modules.history.bundle.js?a32cc7cf54b43478bbe4:1:1865
70267/e/</this.promiseShow</<@https://www.---.com/jellyfin/web/main.jellyfin.bundle.js?a32cc7cf54b43478bbe4:2:197037

Jellyfin.log, NO DATA ffmpeg exit 0, Lost 50 WebSocket, goodbye !!!! We need more thing to debug !

[2024-05-14 22:49:41.114 +02:00] [INF] Processing playback tracker : "TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzExOC4wLjAuMCBTYWZhcmkvNTM3LjM2IEVkZy8xMTguMC4yMDg4LjY5fDE2OTg1MTUzODI2MjA1-306e6540b9b24612bfd75b5d2a5fea7b-e618e5bfb2fa5e7d86568ee64e2b1301"
[2024-05-14 22:49:47.333 +02:00] [INF] Processing playback tracker : "28fd5e4039957c5830a396053071d7d1d222ab5f-306e6540b9b24612bfd75b5d2a5fea7b-624aebd2691a004c41d877ff38d53835"
[2024-05-14 22:49:49.500 +02:00] [INF] Processing playback tracker : "2beac517a74787297a14ae36a841c18e18676e3f-306e6540b9b24612bfd75b5d2a5fea7b-9b997938ba9afe1bb6062fbaa6bb4a1d"
[2024-05-14 22:50:03.637 +02:00] [INF] FFmpeg exited with code 0
[2024-05-14 22:52:45.837 +02:00] [INF] Lost 50 WebSockets.
@ServeurpersoCom commented on GitHub (May 14, 2024): Oh, crashed exactly when I close my two fake load player ! (displayed on a browser, I think it's useless ?) ``` Unexpected Application Error! Loading chunk 80187 failed. (error: https://www.---.com/jellyfin/web/search.6fcb4b64dc5ad5262510.chunk.js) s.f.j@https://www.---.com/jellyfin/web/runtime.bundle.js?a32cc7cf54b43478bbe4:1:46403 s.e/<@https://www.---.com/jellyfin/web/runtime.bundle.js?a32cc7cf54b43478bbe4:1:1410 s.e@https://www.---.com/jellyfin/web/runtime.bundle.js?a32cc7cf54b43478bbe4:1:1375 ... lot of chunk.... 5127/l/call/<@https://www.---.com/jellyfin/web/node_modules.history.bundle.js?a32cc7cf54b43478bbe4:1:2479 call@https://www.---.com/jellyfin/web/node_modules.history.bundle.js?a32cc7cf54b43478bbe4:1:2448 L@https://www.---.com/jellyfin/web/node_modules.history.bundle.js?a32cc7cf54b43478bbe4:1:1525 n@https://www.---.com/jellyfin/web/node_modules.history.bundle.js?a32cc7cf54b43478bbe4:1:1865 70267/e/</this.promiseShow</<@https://www.---.com/jellyfin/web/main.jellyfin.bundle.js?a32cc7cf54b43478bbe4:2:197037 ``` Jellyfin.log, NO DATA ffmpeg exit 0, Lost 50 WebSocket, goodbye !!!! We need more thing to debug ! ``` [2024-05-14 22:49:41.114 +02:00] [INF] Processing playback tracker : "TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzExOC4wLjAuMCBTYWZhcmkvNTM3LjM2IEVkZy8xMTguMC4yMDg4LjY5fDE2OTg1MTUzODI2MjA1-306e6540b9b24612bfd75b5d2a5fea7b-e618e5bfb2fa5e7d86568ee64e2b1301" [2024-05-14 22:49:47.333 +02:00] [INF] Processing playback tracker : "28fd5e4039957c5830a396053071d7d1d222ab5f-306e6540b9b24612bfd75b5d2a5fea7b-624aebd2691a004c41d877ff38d53835" [2024-05-14 22:49:49.500 +02:00] [INF] Processing playback tracker : "2beac517a74787297a14ae36a841c18e18676e3f-306e6540b9b24612bfd75b5d2a5fea7b-9b997938ba9afe1bb6062fbaa6bb4a1d" [2024-05-14 22:50:03.637 +02:00] [INF] FFmpeg exited with code 0 [2024-05-14 22:52:45.837 +02:00] [INF] Lost 50 WebSockets. ```
Author
Owner

@ServeurpersoCom commented on GitHub (May 15, 2024):

To recover some of my crash timestamp tonight (because it can crash with less than 9 WS) :

(root|/var/log/jellyfin) grep "Lost .. WebSockets." jellyfin20240514.log
[2024-05-14 19:56:33.725 +02:00] [INF] Lost 48 WebSockets.
[2024-05-14 21:27:56.001 +02:00] [INF] Lost 45 WebSockets.
[2024-05-14 21:43:38.231 +02:00] [INF] Lost 42 WebSockets.
grep "Lost .. WebSockets." jellyfin20240514_001.log
[2024-05-14 22:52:45.837 +02:00] [INF] Lost 50 WebSockets.

@ServeurpersoCom commented on GitHub (May 15, 2024): To recover some of my crash timestamp tonight (because it can crash with less than 9 WS) : (root|/var/log/jellyfin) grep "Lost .. WebSockets." jellyfin20240514.log [2024-05-14 19:56:33.725 +02:00] [INF] Lost 48 WebSockets. [2024-05-14 21:27:56.001 +02:00] [INF] Lost 45 WebSockets. [2024-05-14 21:43:38.231 +02:00] [INF] Lost 42 WebSockets. grep "Lost .. WebSockets." jellyfin20240514_001.log [2024-05-14 22:52:45.837 +02:00] [INF] Lost 50 WebSockets.
Author
Owner

@ServeurpersoCom commented on GitHub (May 15, 2024):

inside /etc/jellyfin/logging.json change "MinimumLevel": "Information" to :
{
"Serilog": {
"MinimumLevel": "Debug",
"WriteTo": [
{
...
WAITING for a crash !

@ServeurpersoCom commented on GitHub (May 15, 2024): inside /etc/jellyfin/logging.json change "MinimumLevel": "Information" to : { "Serilog": { "MinimumLevel": "Debug", "WriteTo": [ { ... WAITING for a crash !
Author
Owner

@SingingFrog7 commented on GitHub (May 15, 2024):

WAITING for a crash !

I have a similar issue that was closed as duplicate of #11344
I had nothing useful in the log at debug level either, some people said that the issue started between version 20240104.7 and 20240112.1 so it has to be a commit between those dates? A lot was done between those dates, but Dotnet was updated to 8.0.1, I can't say if it could be the cause. If I can spare some time later, I'll try to build the 10.9.1 with Dotnet 8.0.0 and see what it gives

@SingingFrog7 commented on GitHub (May 15, 2024): > WAITING for a crash ! I have a similar issue that was closed as duplicate of #11344 I had nothing useful in the log at debug level either, some people said that the issue started between version 20240104.7 and 20240112.1 so it has to be a commit between those dates? A lot was done between those dates, but Dotnet was updated to 8.0.1, I can't say if it could be the cause. If I can spare some time later, I'll try to build the 10.9.1 with Dotnet 8.0.0 and see what it gives
Author
Owner

@soakes commented on GitHub (May 15, 2024):

inside /etc/jellyfin/logging.json change "MinimumLevel": "Information" to : { "Serilog": { "MinimumLevel": "Debug", "WriteTo": [ { ... WAITING for a crash !

Also tried, lasted about 20 minutes then died, nothing in logs which is worth noting.

What is intresting is, jellyfin itself is still alive, log was still processing info, port was still open but if you try and curl to it, it just hangs.

@soakes commented on GitHub (May 15, 2024): > inside /etc/jellyfin/logging.json change "MinimumLevel": "Information" to : { "Serilog": { "MinimumLevel": "Debug", "WriteTo": [ { ... WAITING for a crash ! Also tried, lasted about 20 minutes then died, nothing in logs which is worth noting. What is intresting is, jellyfin itself is still alive, log was still processing info, port was still open but if you try and curl to it, it just hangs.
Author
Owner

@ServeurpersoCom commented on GitHub (May 15, 2024):

I deleted all sessions because some users can't connect... resulting in a total crash of all client (no login redirect).... can't debug anymore

@ServeurpersoCom commented on GitHub (May 15, 2024): I deleted all sessions because some users can't connect... resulting in a total crash of all client (no login redirect).... can't debug anymore
Author
Owner

@derfy79 commented on GitHub (May 15, 2024):

Same probleme, freeze every few hours, official linux docker on unraid

@derfy79 commented on GitHub (May 15, 2024): Same probleme, freeze every few hours, official linux docker on unraid
Author
Owner

@joshuaboniface commented on GitHub (May 15, 2024):

OK I was able to reproduce this myself finally and get some core dumps for analysis.

Curiously this time though, it didn't completely lock up. It was still kinda responding, with lots of

May 14 23:24:07 jf1.p.bonilan.net jellyfin[616]: [ERR] Error reporting playback progress
May 14 23:24:07 jf1.p.bonilan.net jellyfin[616]: MediaBrowser.Common.Extensions.ResourceNotFoundException: Session a5385ff9d3bf89070e9da99d27f46da7 not found.
May 14 23:24:07 jf1.p.bonilan.net jellyfin[616]:    at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated)
May 14 23:24:07 jf1.p.bonilan.net jellyfin[616]:    at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state)
May 14 23:24:07 jf1.p.bonilan.net jellyfin[616]: [ERR] Error reporting playback progress
May 14 23:24:07 jf1.p.bonilan.net jellyfin[616]: MediaBrowser.Common.Extensions.ResourceNotFoundException: Session a5385ff9d3bf89070e9da99d27f46da7 not found.
May 14 23:24:07 jf1.p.bonilan.net jellyfin[616]:    at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated)
May 14 23:24:07 jf1.p.bonilan.net jellyfin[616]:    at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state)

And then eventually after about ~5 minutes it started responding again.

@joshuaboniface commented on GitHub (May 15, 2024): OK I was able to reproduce this myself finally and get some core dumps for analysis. Curiously this time though, it didn't *completely* lock up. It was still kinda responding, with lots of ``` May 14 23:24:07 jf1.p.bonilan.net jellyfin[616]: [ERR] Error reporting playback progress May 14 23:24:07 jf1.p.bonilan.net jellyfin[616]: MediaBrowser.Common.Extensions.ResourceNotFoundException: Session a5385ff9d3bf89070e9da99d27f46da7 not found. May 14 23:24:07 jf1.p.bonilan.net jellyfin[616]: at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated) May 14 23:24:07 jf1.p.bonilan.net jellyfin[616]: at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state) May 14 23:24:07 jf1.p.bonilan.net jellyfin[616]: [ERR] Error reporting playback progress May 14 23:24:07 jf1.p.bonilan.net jellyfin[616]: MediaBrowser.Common.Extensions.ResourceNotFoundException: Session a5385ff9d3bf89070e9da99d27f46da7 not found. May 14 23:24:07 jf1.p.bonilan.net jellyfin[616]: at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated) May 14 23:24:07 jf1.p.bonilan.net jellyfin[616]: at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state) ``` And then eventually after about ~5 minutes it started responding again.
Author
Owner

@joshuaboniface commented on GitHub (May 15, 2024):

For anyone this is happening to, does Jellyfin eventually start responding again? Presumably like me you restart fairly quickly, but I'm curious if it's left, if it starts responding on its own again after any reasonable (~5, 10, 15 mins) time.

@joshuaboniface commented on GitHub (May 15, 2024): For anyone this is happening to, does Jellyfin *eventually* start responding again? Presumably like me you restart fairly quickly, but I'm curious if it's left, if it starts responding on its own again after any reasonable (~5, 10, 15 mins) time.
Author
Owner

@SingingFrog7 commented on GitHub (May 15, 2024):

At least once for me, it did start responding again after some time

Weirdly, I had no crash/lock during the last 24h, but had about 10 occurence yesterday

@SingingFrog7 commented on GitHub (May 15, 2024): At least once for me, it did start responding again after some time Weirdly, I had no crash/lock during the last 24h, but had about 10 occurence yesterday
Author
Owner

@ghost commented on GitHub (May 15, 2024):

Hi guys! I also have the same problem, yesterday I found something, try these steps maybe will help to find the problem:
Start monitoring your server, Uptime Kuma is good option for that, thats the url you need to watch http://YOURIP:8096/health

I found nothing relevant in the logs so I removed all scheduled tasks, it hasn't frozen since...
Maybe it's a library scan problem but I doesn't understand why can't see anything in logs.

@ghost commented on GitHub (May 15, 2024): Hi guys! I also have the same problem, yesterday I found something, try these steps maybe will help to find the problem: Start monitoring your server, Uptime Kuma is good option for that, thats the url you need to watch http://YOURIP:8096/health I found nothing relevant in the logs so I removed all scheduled tasks, it hasn't frozen since... Maybe it's a library scan problem but I doesn't understand why can't see anything in logs.
Author
Owner

@ShakeSp33r commented on GitHub (May 15, 2024):

Disabled all schedules tasks, and system up for the last 12 hours.
Had 4 streams running and all good, previously on 10.8.13 I did 7/8 streams (Direct Play & transcoding) with no issues.

Will see how it goes

@ShakeSp33r commented on GitHub (May 15, 2024): Disabled all schedules tasks, and system up for the last 12 hours. Had 4 streams running and all good, previously on 10.8.13 I did 7/8 streams (Direct Play & transcoding) with no issues. Will see how it goes
Author
Owner

@haath commented on GitHub (May 15, 2024):

+1

I get random freezes both while streaming videos and while only streaming music.
With a cursory look through the docker logs I can only spot "websocket lost" messages that others reported.

Sometimes it lasts a couple of minutes, other times I have to restart the container.

Clients: LG WebOS, Feishin
Server: Ubuntu 23.10 x86_64 on Intel Celeron N3350

@haath commented on GitHub (May 15, 2024): +1 I get random freezes both while streaming videos and while only streaming music. With a cursory look through the docker logs I can only spot "websocket lost" messages that others reported. Sometimes it lasts a couple of minutes, other times I have to restart the container. Clients: LG WebOS, Feishin Server: Ubuntu 23.10 x86_64 on Intel Celeron N3350
Author
Owner

@ServeurpersoCom commented on GitHub (May 15, 2024):

Rollback for me.
It's not in Debian to push a beta software inside a stable repository. Server crash every time, [library scan fail without reason = SOLVED], every users must uninstall/reinstall app each time they want connect and it's work only once...

@ServeurpersoCom commented on GitHub (May 15, 2024): Rollback for me. It's not in Debian to push a beta software inside a stable repository. Server crash every time, [library scan fail without reason = SOLVED], every users must uninstall/reinstall app each time they want connect and it's work only once...
Author
Owner

@JamsRepos commented on GitHub (May 15, 2024):

Rollback for me. It's not in Debian to push a beta software inside a stable repository. Server crash every time, library scan fail without reason, every users must uninstall/reinstall app each time they want connect and it's work only once...

I get your frustration, mine too. I also did a rollback however you've got to realise that you cannot do mass user testing without pushing things up the pipeline. You can only find so much in a restricted and limited test environment.

These things happen, if you want stability then don't upgrade Day 1.

@JamsRepos commented on GitHub (May 15, 2024): > Rollback for me. It's not in Debian to push a beta software inside a stable repository. Server crash every time, library scan fail without reason, every users must uninstall/reinstall app each time they want connect and it's work only once... I get your frustration, mine too. I also did a rollback however you've got to realise that you cannot do mass user testing without pushing things up the pipeline. You can only find so much in a restricted and limited test environment. These things happen, if you want stability then don't upgrade Day 1.
Author
Owner

@ServeurpersoCom commented on GitHub (May 15, 2024):

Rollback for me. It's not in Debian to push a beta software inside a stable repository. Server crash every time, library scan fail without reason, every users must uninstall/reinstall app each time they want connect and it's work only once...

I get your frustration, mine too. I also did a rollback however you've got to realise that you cannot do mass user testing without pushing things up the pipeline. You can only find so much in a restricted and limited test environment.

These things happen, if you want stability then don't upgrade Day 1.

I believed it, no luck! it's for this kind of thing that I have an independent categorized file base with my own backend, I can switch to Emby or any software without lost TMDb matching or custom metadata (to give you an idea i'm a datahoarder with complete TMDb/IMDb data mirror on my local network, jellyfin database is only rebuildable temporary data for me, to share non-tech friends or TV), I wait this weekend a potential patch before rollback or switching to emby and rebuild all file metadata from my master database.

@ServeurpersoCom commented on GitHub (May 15, 2024): > > Rollback for me. It's not in Debian to push a beta software inside a stable repository. Server crash every time, library scan fail without reason, every users must uninstall/reinstall app each time they want connect and it's work only once... > > I get your frustration, mine too. I also did a rollback however you've got to realise that you cannot do mass user testing without pushing things up the pipeline. You can only find so much in a restricted and limited test environment. > > These things happen, if you want stability then don't upgrade Day 1. I believed it, no luck! it's for this kind of thing that I have an independent categorized file base with my own backend, I can switch to Emby or any software without lost TMDb matching or custom metadata (to give you an idea i'm a datahoarder with complete TMDb/IMDb data mirror on my local network, jellyfin database is only rebuildable temporary data for me, to share non-tech friends or TV), I wait this weekend a potential patch before rollback or switching to emby and rebuild all file metadata from my master database.
Author
Owner

@soakes commented on GitHub (May 15, 2024):

Thanks for everyone whos added comments to this issue, it helps to try and narrow down the real issue. This issue is hard to find due to logs are not being very helpful.

I have however, been doing some testing myself, what ive found is the following:

  • If you have no users connect, over a period of about 8 or so hours (sleeping), system is stable (still up when get up)
  • I don't believe its a scheduled job causing this, as initially when the problem showed, it was one of the first things I checked (manually ran all jobs, even tried to run all at same time to see if triggers a crash).
  • What I have found is, if you just have a web client (i.e. firefox) watching a show (~42 mins), it stays stable. I suggest others try and make sure no android/iOS clients connect and then try just on a browser and see if its stable or not. This may lead closer to the real probelm.
  • If you watch on an android client (i.e Pixel 6 Pro) as well as watch with Firefox (mac laptop), both clients will crash/hang about ~9-15 mins later.
  • Waiting for ~15 mins to recover doesn't work (now 20 mins as of this report).

Will do some further testing i.e single client to make sure this was not a fluke and will report/update this later.

@soakes commented on GitHub (May 15, 2024): Thanks for everyone whos added comments to this issue, it helps to try and narrow down the real issue. This issue is hard to find due to logs are not being very helpful. I have however, been doing some testing myself, what ive found is the following: - If you have no users connect, over a period of about 8 or so hours (sleeping), system is stable (still up when get up) - I don't believe its a scheduled job causing this, as initially when the problem showed, it was one of the first things I checked (manually ran all jobs, even tried to run all at same time to see if triggers a crash). - What I have found is, if you just have a web client (i.e. firefox) watching a show (~42 mins), it stays stable. I suggest others try and make sure no android/iOS clients connect and then try just on a browser and see if its stable or not. This may lead closer to the real probelm. - If you watch on an android client (i.e Pixel 6 Pro) as well as watch with Firefox (mac laptop), both clients will crash/hang about ~9-15 mins later. - Waiting for ~15 mins to recover doesn't work (now 20 mins as of this report). Will do some further testing i.e single client to make sure this was not a fluke and will report/update this later.
Author
Owner

@ServeurpersoCom commented on GitHub (May 15, 2024):

Can you try to delete a client session, and reconnect ? this require an app reinstall !

@ServeurpersoCom commented on GitHub (May 15, 2024): Can you try to delete a client session, and reconnect ? this require an app reinstall !
Author
Owner

@soakes commented on GitHub (May 15, 2024):

Can you try to delete a client session, and reconnect ? this require an app reinstall !

That would be a little problematic here as theres several external "non tech" users, but I might be able to sort something out.

@soakes commented on GitHub (May 15, 2024): > Can you try to delete a client session, and reconnect ? this require an app reinstall ! That would be a little problematic here as theres several external "non tech" users, but I might be able to sort something out.
Author
Owner

@ghost commented on GitHub (May 15, 2024):

I turned on my backup server and created a clean 10.9.1 install, new library scan to rule out that the existing database is not the cause of the problem. No problem until the fifth test user start playing, all of these from web client.
No response from jellyfin, server ok no load , log stopped and after 20 min. new lines came up in log file but still nothing relevant.

[2024-05-15 10:40:52.024 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "326836" ms
[2024-05-15 10:55:52.454 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "631894" ms
[2024-05-15 11:00:51.857 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "454263" ms

From the timestamps you can see there is a big delay between new lines, I still waiting what will happen after more time...

@ghost commented on GitHub (May 15, 2024): I turned on my backup server and created a clean 10.9.1 install, new library scan to rule out that the existing database is not the cause of the problem. No problem until the fifth test user start playing, all of these from web client. No response from jellyfin, server ok no load , log stopped and after 20 min. new lines came up in log file but still nothing relevant. ``` [2024-05-15 10:40:52.024 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "326836" ms [2024-05-15 10:55:52.454 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "631894" ms [2024-05-15 11:00:51.857 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "454263" ms ``` From the timestamps you can see there is a big delay between new lines, I still waiting what will happen after more time...
Author
Owner

@ghost commented on GitHub (May 15, 2024):

Ok so the problem started at 10:35
After all 5 session was dropped:

[2024-05-15 10:40:52.024 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "326836" ms
[2024-05-15 10:55:52.454 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "631894" ms
[2024-05-15 11:00:51.857 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "454263" ms
[2024-05-15 11:06:40.840 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "558871" ms
[2024-05-15 11:09:31.598 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "1113004" ms

Server start working again and 575 new line came to log file:

[2024-05-15 11:09:33.540 +02:00] [WRN] "MYIP": External request received, no matching external bind address found, trying internal addresses.
[2024-05-15 11:09:33.540 +02:00] [WRN] "MYIP": External request received, but no external interface found. Need to route through internal network.

these repeated....

@ghost commented on GitHub (May 15, 2024): Ok so the problem started at 10:35 After all 5 session was dropped: ``` [2024-05-15 10:40:52.024 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "326836" ms [2024-05-15 10:55:52.454 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "631894" ms [2024-05-15 11:00:51.857 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "454263" ms [2024-05-15 11:06:40.840 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "558871" ms [2024-05-15 11:09:31.598 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "1113004" ms ``` Server start working again and 575 new line came to log file: ``` [2024-05-15 11:09:33.540 +02:00] [WRN] "MYIP": External request received, no matching external bind address found, trying internal addresses. [2024-05-15 11:09:33.540 +02:00] [WRN] "MYIP": External request received, but no external interface found. Need to route through internal network. ``` these repeated....
Author
Owner

@soakes commented on GitHub (May 15, 2024):

I turned on my backup server and created a clean 10.9.1 install, new library scan to rule out that the existing database is not the cause of the problem. No problem until the fifth test user start playing, all of these from web client. No response from jellyfin, server ok no load , log stopped and after 20 min. new lines came up in log file but still nothing relevant. [2024-05-15 10:40:52.024 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "326836" ms [2024-05-15 10:55:52.454 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "631894" ms [2024-05-15 11:00:51.857 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "454263" ms From the timestamps you can see there is a big delay between new lines, I still waiting what will happen after more time...

One question @gyilkoszabpehely, is this using the same database/config? or was this a completly fresh install i.e no data copied over (apart from accessing movies/tv)

Initially when reading your comment, I thought it was a full reinstall, but you also mentioned "new lib scan to rule out existing db" and so I now suspect you just have uninstalled jellyfin and installed 10.9.1 again.

Only asking as one of the things i've yet to test is a fresh VM, with fresh config/db and only old data would be the tv/movie data itself. This would be a good test to iron out if its an upgrade "thing" thats broken or it is jellyfin itself.

On a completly seperate note, since my last update, second attempt with Firefox and an AndroidTV, hung jellyfin about ~11 minutes later.

I have currently a Firefox and Chrome user online (nothing else) and its still stable (time roughly just hitting 17 minutes), will see if this completes.

@soakes commented on GitHub (May 15, 2024): > I turned on my backup server and created a clean 10.9.1 install, new library scan to rule out that the existing database is not the cause of the problem. No problem until the fifth test user start playing, all of these from web client. No response from jellyfin, server ok no load , log stopped and after 20 min. new lines came up in log file but still nothing relevant. `[2024-05-15 10:40:52.024 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "326836" ms [2024-05-15 10:55:52.454 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "631894" ms [2024-05-15 11:00:51.857 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "454263" ms` From the timestamps you can see there is a big delay between new lines, I still waiting what will happen after more time... One question @gyilkoszabpehely, is this using the same database/config? or was this a completly fresh install i.e no data copied over (apart from accessing movies/tv) Initially when reading your comment, I thought it was a full reinstall, but you also mentioned "new lib scan to rule out existing db" and so I now suspect you just have uninstalled jellyfin and installed 10.9.1 again. Only asking as one of the things i've yet to test is a fresh VM, with fresh config/db and only old data would be the tv/movie data itself. This would be a good test to iron out if its an upgrade "thing" thats broken or it is jellyfin itself. On a completly seperate note, since my last update, second attempt with Firefox and an AndroidTV, hung jellyfin about ~11 minutes later. I have currently a Firefox and Chrome user online (nothing else) and its still stable (time roughly just hitting 17 minutes), will see if this completes.
Author
Owner

@ghost commented on GitHub (May 15, 2024):

I turned on my backup server and created a clean 10.9.1 install, new library scan to rule out that the existing database is not the cause of the problem. No problem until the fifth test user start playing, all of these from web client. No response from jellyfin, server ok no load , log stopped and after 20 min. new lines came up in log file but still nothing relevant. [2024-05-15 10:40:52.024 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "326836" ms [2024-05-15 10:55:52.454 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "631894" ms [2024-05-15 11:00:51.857 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "454263" ms From the timestamps you can see there is a big delay between new lines, I still waiting what will happen after more time...

One question @gyilkoszabpehely, is this using the same database/config? or was this a completly fresh install i.e no data copied over (apart from accessing movies/tv)

Initially when reading your comment, I thought it was a full reinstall, but you also mentioned "new lib scan to rule out existing db" and so I now suspect you just have uninstalled jellyfin and installed 10.9.1 again.

Only asking as one of the things i've yet to test is a fresh VM, with fresh config/db and only old data would be the tv/movie data itself. This would be a good test to iron out if its an upgrade "thing" thats broken or it is jellyfin itself.

On a completly seperate note, since my last update, second attempt with Firefox and an AndroidTV, hung jellyfin about ~11 minutes later.

I have currently a Firefox and Chrome user online (nothing else) and its still stable (time roughly just hitting 17 minutes), will see if this completes.

My my live server is updated with an existing database.
My backup server is clean installed this morning to test out problems...

@ghost commented on GitHub (May 15, 2024): > > I turned on my backup server and created a clean 10.9.1 install, new library scan to rule out that the existing database is not the cause of the problem. No problem until the fifth test user start playing, all of these from web client. No response from jellyfin, server ok no load , log stopped and after 20 min. new lines came up in log file but still nothing relevant. `[2024-05-15 10:40:52.024 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "326836" ms [2024-05-15 10:55:52.454 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "631894" ms [2024-05-15 11:00:51.857 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.9.1" playing "". Stopped at "454263" ms` From the timestamps you can see there is a big delay between new lines, I still waiting what will happen after more time... > > One question @gyilkoszabpehely, is this using the same database/config? or was this a completly fresh install i.e no data copied over (apart from accessing movies/tv) > > Initially when reading your comment, I thought it was a full reinstall, but you also mentioned "new lib scan to rule out existing db" and so I now suspect you just have uninstalled jellyfin and installed 10.9.1 again. > > Only asking as one of the things i've yet to test is a fresh VM, with fresh config/db and only old data would be the tv/movie data itself. This would be a good test to iron out if its an upgrade "thing" thats broken or it is jellyfin itself. > > On a completly seperate note, since my last update, second attempt with Firefox and an AndroidTV, hung jellyfin about ~11 minutes later. > > I have currently a Firefox and Chrome user online (nothing else) and its still stable (time roughly just hitting 17 minutes), will see if this completes. My my live server is updated with an existing database. My backup server is clean installed this morning to test out problems...
Author
Owner

@soakes commented on GitHub (May 15, 2024):

My my live server is updated with an existing database. My backup server is clean installed this morning to test out problems...

Thank you, this is helpful, saves me a job :)

Update, just as you posted this message, my two clients now just crashed, roughly 20 minutes in. These were Firefox and Chrome. So I think that rules out android/ios issues talking to new server.

@soakes commented on GitHub (May 15, 2024): > My my live server is updated with an existing database. My backup server is clean installed this morning to test out problems... Thank you, this is helpful, saves me a job :) Update, just as you posted this message, my two clients now just crashed, roughly 20 minutes in. These were Firefox and Chrome. So I think that rules out android/ios issues talking to new server.
Author
Owner

@ghost commented on GitHub (May 15, 2024):

I can confirm that delete scheduled tasks will not solve the problem.
I also tried to switch from hardware encoding to software but problem still exist.
I collected all error from log what happend in the past minutes:

[WRN] "MYIP": External request received, no matching external bind address found, trying internal addresses.
[WRN] "MYIP": External request received, but no external interface found. Need to route through internal network.
[ERR] Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress".
[WRN] The WebRootPath was not found: "/var/lib/jellyfin/wwwroot". Static files may be unavailable.
[WRN] WS "MYIP" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[ERR] Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Capabilities/Full".
@ghost commented on GitHub (May 15, 2024): I can confirm that delete scheduled tasks will not solve the problem. I also tried to switch from hardware encoding to software but problem still exist. I collected all error from log what happend in the past minutes: ``` [WRN] "MYIP": External request received, no matching external bind address found, trying internal addresses. [WRN] "MYIP": External request received, but no external interface found. Need to route through internal network. [ERR] Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress". [WRN] The WebRootPath was not found: "/var/lib/jellyfin/wwwroot". Static files may be unavailable. [WRN] WS "MYIP" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake." [ERR] Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Capabilities/Full". ```
Author
Owner

@soakes commented on GitHub (May 15, 2024):

I can confirm that delete scheduled tasks will not solve the problem. I also tried to switch from hardware encoding to software but problem still exist. I collected all error from log what happend in the past minutes:

[WRN] "MYIP": External request received, no matching external bind address found, trying internal addresses.
[WRN] "MYIP": External request received, but no external interface found. Need to route through internal network.
[ERR] Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress".
[WRN] The WebRootPath was not found: "/var/lib/jellyfin/wwwroot". Static files may be unavailable.
[WRN] WS "MYIP" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[ERR] Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Capabilities/Full".

I just updated https://github.com/jellyfin/jellyfin/issues/11344#issuecomment-2112124780 issue as @Schutzwurst suggested that thread count was going crazy and hes right. Added some screenshots.

Whats odd is, while the count is going crazy, theres nothing in the logs. Also whats very odd is, I just had another crash, was down for 5 or so mins and this time it recovered itself and even the thread count returned to normal (~30).

@soakes commented on GitHub (May 15, 2024): > I can confirm that delete scheduled tasks will not solve the problem. I also tried to switch from hardware encoding to software but problem still exist. I collected all error from log what happend in the past minutes: > > ``` > [WRN] "MYIP": External request received, no matching external bind address found, trying internal addresses. > [WRN] "MYIP": External request received, but no external interface found. Need to route through internal network. > [ERR] Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress". > [WRN] The WebRootPath was not found: "/var/lib/jellyfin/wwwroot". Static files may be unavailable. > [WRN] WS "MYIP" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake." > [ERR] Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Capabilities/Full". > ``` I just updated https://github.com/jellyfin/jellyfin/issues/11344#issuecomment-2112124780 issue as @Schutzwurst suggested that thread count was going crazy and hes right. Added some screenshots. Whats odd is, while the count is going crazy, theres nothing in the logs. Also whats very odd is, I just had another crash, was down for 5 or so mins and this time it recovered itself and even the thread count returned to normal (~30).
Author
Owner

@DwayneGoddem commented on GitHub (May 15, 2024):

I having the same sort of issue but on Windows hosting Jellyfin after upgrading to 10.9.1.
its driving me nuts.

Same nothing in the logs or anything.

@DwayneGoddem commented on GitHub (May 15, 2024): I having the same sort of issue but on Windows hosting Jellyfin after upgrading to 10.9.1. its driving me nuts. Same nothing in the logs or anything.
Author
Owner

@DwayneGoddem commented on GitHub (May 15, 2024):

I just got this in the log on a crash.

[2024-05-15 21:30:50.617 +10:00] [ERR] [17] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.84" WebSocketRequestHandler error
System.Net.WebSockets.WebSocketException (997): The WebSocket is in an invalid state ('Closed') for this operation. Valid states are: 'Open, CloseReceived'
at System.Net.WebSockets.ManagedWebSocket.SendAsync(ReadOnlyMemory1 buffer, WebSocketMessageType messageType, WebSocketMessageFlags messageFlags, CancellationToken cancellationToken) --- End of stack trace from previous location --- at Emby.Server.Implementations.HttpServer.WebSocketConnection.ProcessInternal(PipeReader reader) at Emby.Server.Implementations.HttpServer.WebSocketConnection.ReceiveAsync(CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context) at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context) [2024-05-15 21:30:50.621 +10:00] [ERR] [17] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.92" WebSocketRequestHandler error System.Net.WebSockets.WebSocketException (997): The WebSocket is in an invalid state ('Closed') for this operation. Valid states are: 'Open, CloseReceived' at System.Net.WebSockets.ManagedWebSocket.SendAsync(ReadOnlyMemory1 buffer, WebSocketMessageType messageType, WebSocketMessageFlags messageFlags, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
at Emby.Server.Implementations.HttpServer.WebSocketConnection.ProcessInternal(PipeReader reader)
at Emby.Server.Implementations.HttpServer.WebSocketConnection.ReceiveAsync(CancellationToken cancellationToken)
at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context)
at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context)
[2024-05-15 21:30:50.624 +10:00] [INF] [17] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Transcoding kill timer stopped for JobId "cd1cec41c44e4fff873f8fe83443bbfa" PlaySessionId "027d9fc5aa7b4401ac392a7967e85da7". Killing transcoding

@DwayneGoddem commented on GitHub (May 15, 2024): I just got this in the log on a crash. [2024-05-15 21:30:50.617 +10:00] [ERR] [17] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.84" WebSocketRequestHandler error System.Net.WebSockets.WebSocketException (997): The WebSocket is in an invalid state ('Closed') for this operation. Valid states are: 'Open, CloseReceived' at System.Net.WebSockets.ManagedWebSocket.SendAsync(ReadOnlyMemory`1 buffer, WebSocketMessageType messageType, WebSocketMessageFlags messageFlags, CancellationToken cancellationToken) --- End of stack trace from previous location --- at Emby.Server.Implementations.HttpServer.WebSocketConnection.ProcessInternal(PipeReader reader) at Emby.Server.Implementations.HttpServer.WebSocketConnection.ReceiveAsync(CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context) at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context) [2024-05-15 21:30:50.621 +10:00] [ERR] [17] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.92" WebSocketRequestHandler error System.Net.WebSockets.WebSocketException (997): The WebSocket is in an invalid state ('Closed') for this operation. Valid states are: 'Open, CloseReceived' at System.Net.WebSockets.ManagedWebSocket.SendAsync(ReadOnlyMemory`1 buffer, WebSocketMessageType messageType, WebSocketMessageFlags messageFlags, CancellationToken cancellationToken) --- End of stack trace from previous location --- at Emby.Server.Implementations.HttpServer.WebSocketConnection.ProcessInternal(PipeReader reader) at Emby.Server.Implementations.HttpServer.WebSocketConnection.ReceiveAsync(CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context) at Emby.Server.Implementations.HttpServer.WebSocketManager.WebSocketRequestHandler(HttpContext context) [2024-05-15 21:30:50.624 +10:00] [INF] [17] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Transcoding kill timer stopped for JobId "cd1cec41c44e4fff873f8fe83443bbfa" PlaySessionId "027d9fc5aa7b4401ac392a7967e85da7". Killing transcoding
Author
Owner

@ghost commented on GitHub (May 15, 2024):

I can confirm that delete scheduled tasks will not solve the problem. I also tried to switch from hardware encoding to software but problem still exist. I collected all error from log what happend in the past minutes:

[WRN] "MYIP": External request received, no matching external bind address found, trying internal addresses.
[WRN] "MYIP": External request received, but no external interface found. Need to route through internal network.
[ERR] Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress".
[WRN] The WebRootPath was not found: "/var/lib/jellyfin/wwwroot". Static files may be unavailable.
[WRN] WS "MYIP" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[ERR] Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Capabilities/Full".

I just updated #11344 (comment) issue as @Schutzwurst suggested that thread count was going crazy and hes right. Added some screenshots.

Whats odd is, while the count is going crazy, theres nothing in the logs. Also whats very odd is, I just had another crash, was down for 5 or so mins and this time it recovered itself and even the thread count returned to normal (~30).

.NET TP Worker which starts to multiply

@ghost commented on GitHub (May 15, 2024): > > I can confirm that delete scheduled tasks will not solve the problem. I also tried to switch from hardware encoding to software but problem still exist. I collected all error from log what happend in the past minutes: > > ``` > > [WRN] "MYIP": External request received, no matching external bind address found, trying internal addresses. > > [WRN] "MYIP": External request received, but no external interface found. Need to route through internal network. > > [ERR] Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress". > > [WRN] The WebRootPath was not found: "/var/lib/jellyfin/wwwroot". Static files may be unavailable. > > [WRN] WS "MYIP" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake." > > [ERR] Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Capabilities/Full". > > ``` > > I just updated [#11344 (comment)](https://github.com/jellyfin/jellyfin/issues/11344#issuecomment-2112124780) issue as @Schutzwurst suggested that thread count was going crazy and hes right. Added some screenshots. > > Whats odd is, while the count is going crazy, theres nothing in the logs. Also whats very odd is, I just had another crash, was down for 5 or so mins and this time it recovered itself and even the thread count returned to normal (~30). **.NET TP Worker which starts to multiply**
Author
Owner

@joshuaboniface commented on GitHub (May 15, 2024):

We've found quite a bit of info in our internal chats about this (going through my core dumps and logs).

The short version is, right now we're pretty sure the issue has to do with transcoding jobs and updating the transcode status. This happens very frequently, but there is a database query in there which is very heavy and after enough time the backlog locks everything up. That TP Worker is the process running the queries.

We're working on a solution so please remain patient and we'll hopefully get that out in a 10.9.2 sometime very soon.

@joshuaboniface commented on GitHub (May 15, 2024): We've found quite a bit of info in our internal chats about this (going through my core dumps and logs). The short version is, right now we're pretty sure the issue has to do with transcoding jobs and updating the transcode status. This happens very frequently, but there is a database query in there which is very heavy and after enough time the backlog locks everything up. That TP Worker is the process running the queries. We're working on a solution so please remain patient and we'll hopefully get that out in a 10.9.2 sometime very soon.
Author
Owner

@ghost commented on GitHub (May 15, 2024):

We've found quite a bit of info in our internal chats about this (going through my core dumps and logs).

The short version is, right now we're pretty sure the issue has to do with transcoding jobs and updating the transcode status. This happens very frequently, but there is a database query in there which is very heavy and after enough time the backlog locks everything up. That TP Worker is the process running the queries.

We're working on a solution so please remain patient and we'll hopefully get that out in a 10.9.2 sometime very soon.

I can't speak for others but I have to say thank you! My team really appreciate what you doing for the community, keep up the good work...

@ghost commented on GitHub (May 15, 2024): > We've found quite a bit of info in our internal chats about this (going through my core dumps and logs). > > The short version is, right now we're pretty sure the issue has to do with transcoding jobs and updating the transcode status. This happens very frequently, but there is a database query in there which is very heavy and after enough time the backlog locks everything up. That TP Worker is the process running the queries. > > We're working on a solution so please remain patient and we'll hopefully get that out in a 10.9.2 sometime very soon. I can't speak for others but I have to say thank you! My team really appreciate what you doing for the community, keep up the good work...
Author
Owner

@soakes commented on GitHub (May 15, 2024):

We've found quite a bit of info in our internal chats about this (going through my core dumps and logs).
The short version is, right now we're pretty sure the issue has to do with transcoding jobs and updating the transcode status. This happens very frequently, but there is a database query in there which is very heavy and after enough time the backlog locks everything up. That TP Worker is the process running the queries.
We're working on a solution so please remain patient and we'll hopefully get that out in a 10.9.2 sometime very soon.

I can't speak for others but I have to say thank you! My team really appreciate what you doing for the community, keep up the good work...

Totally agree and good job everyone whos contrubuted in anyway as everything helps.

@soakes commented on GitHub (May 15, 2024): > > We've found quite a bit of info in our internal chats about this (going through my core dumps and logs). > > The short version is, right now we're pretty sure the issue has to do with transcoding jobs and updating the transcode status. This happens very frequently, but there is a database query in there which is very heavy and after enough time the backlog locks everything up. That TP Worker is the process running the queries. > > We're working on a solution so please remain patient and we'll hopefully get that out in a 10.9.2 sometime very soon. > > I can't speak for others but I have to say thank you! My team really appreciate what you doing for the community, keep up the good work... Totally agree and good job everyone whos contrubuted in anyway as everything helps.
Author
Owner

@ServeurpersoCom commented on GitHub (May 15, 2024):

We've found quite a bit of info in our internal chats about this (going through my core dumps and logs).

The short version is, right now we're pretty sure the issue has to do with transcoding jobs and updating the transcode status. This happens very frequently, but there is a database query in there which is very heavy and after enough time the backlog locks everything up. That TP Worker is the process running the queries.

We're working on a solution so please remain patient and we'll hopefully get that out in a 10.9.2 sometime very soon.

Even if we use only audio transcoding (I never transcode video, all already 3-5Mbps AVC) ?

@ServeurpersoCom commented on GitHub (May 15, 2024): > We've found quite a bit of info in our internal chats about this (going through my core dumps and logs). > > The short version is, right now we're pretty sure the issue has to do with transcoding jobs and updating the transcode status. This happens very frequently, but there is a database query in there which is very heavy and after enough time the backlog locks everything up. That TP Worker is the process running the queries. > > We're working on a solution so please remain patient and we'll hopefully get that out in a 10.9.2 sometime very soon. Even if we use only audio transcoding (I never transcode video, all already 3-5Mbps AVC) ?
Author
Owner

@soakes commented on GitHub (May 15, 2024):

We've found quite a bit of info in our internal chats about this (going through my core dumps and logs).
The short version is, right now we're pretty sure the issue has to do with transcoding jobs and updating the transcode status. This happens very frequently, but there is a database query in there which is very heavy and after enough time the backlog locks everything up. That TP Worker is the process running the queries.
We're working on a solution so please remain patient and we'll hopefully get that out in a 10.9.2 sometime very soon.

Even if we use only audio transcoding (I never transcode video, all already 3-5Mbps AVC) ?

What ive noticed is, even if its direct, its still going through ffmpeg.

You can see in the logs (note the filenames)

FFmpeg.DirectStream-2024-05-15_08-44-49_6b59150d6edcffdc645ae8d0c6645582_d9234216.log
FFmpeg.Remux-2024-05-14_22-02-21_e9ac0585656e3d7403e91cd77191af52_18f710de.log

I noticed this recently as I was looking at why IOPS/writes was higher then I expected even with most of the content being direct play, then noticed the transcode directory was being filled with lots of files. This is why ive now done a large ramdisk (tmpfs) for transcode directory to keep writes to a min.

@soakes commented on GitHub (May 15, 2024): > > We've found quite a bit of info in our internal chats about this (going through my core dumps and logs). > > The short version is, right now we're pretty sure the issue has to do with transcoding jobs and updating the transcode status. This happens very frequently, but there is a database query in there which is very heavy and after enough time the backlog locks everything up. That TP Worker is the process running the queries. > > We're working on a solution so please remain patient and we'll hopefully get that out in a 10.9.2 sometime very soon. > > Even if we use only audio transcoding (I never transcode video, all already 3-5Mbps AVC) ? What ive noticed is, even if its direct, its still going through ffmpeg. You can see in the logs (note the filenames) ``` FFmpeg.DirectStream-2024-05-15_08-44-49_6b59150d6edcffdc645ae8d0c6645582_d9234216.log FFmpeg.Remux-2024-05-14_22-02-21_e9ac0585656e3d7403e91cd77191af52_18f710de.log ``` I noticed this recently as I was looking at why IOPS/writes was higher then I expected even with most of the content being direct play, then noticed the transcode directory was being filled with lots of files. This is why ive now done a large ramdisk (tmpfs) for transcode directory to keep writes to a min.
Author
Owner

@cvium commented on GitHub (May 15, 2024):

Direct Stream = Audio, subtitles or container are unsupported
Remux = Container is unsupported

Direct Play is always just sent as-is.

@cvium commented on GitHub (May 15, 2024): Direct Stream = Audio, subtitles or container are unsupported Remux = Container is unsupported Direct Play is always just sent as-is.
Author
Owner

@SingingFrog7 commented on GitHub (May 15, 2024):

I am pretty sure I had a few occurrences with Direct Play, but let see how it goes with the fix. I weirdly still didn't had crashed in the last 36h, but I disabled all apps using Jellyfin's API (Jellyseerr, jellystat) so I wonder if it helped?

@SingingFrog7 commented on GitHub (May 15, 2024): I am pretty sure I had a few occurrences with Direct Play, but let see how it goes with the fix. I weirdly still didn't had crashed in the last 36h, but I disabled all apps using Jellyfin's API (Jellyseerr, jellystat) so I wonder if it helped?
Author
Owner

@soakes commented on GitHub (May 15, 2024):

Direct Stream = Audio, subtitles or container are unsupported Remux = Container is unsupported

Direct Play is always just sent as-is.

Thank you for the clarification.

@soakes commented on GitHub (May 15, 2024): > Direct Stream = Audio, subtitles or container are unsupported Remux = Container is unsupported > > Direct Play is always just sent as-is. Thank you for the clarification.
Author
Owner

@ServeurpersoCom commented on GitHub (May 15, 2024):

this is a basic to know if you want to take heavy load on a machine :)

@ServeurpersoCom commented on GitHub (May 15, 2024): this is a basic to know if you want to take heavy load on a machine :)
Author
Owner

@DwayneGoddem commented on GitHub (May 16, 2024):

We've found quite a bit of info in our internal chats about this (going through my core dumps and logs).

The short version is, right now we're pretty sure the issue has to do with transcoding jobs and updating the transcode status. This happens very frequently, but there is a database query in there which is very heavy and after enough time the backlog locks everything up. That TP Worker is the process running the queries.

We're working on a solution so please remain patient and we'll hopefully get that out in a 10.9.2 sometime very soon.

You might be right there.
I can see a lot of this error

I have seen error for "'C:\ProgramData\Jellyfin\Server\transcoding-temp\transcodes" with the file is open by another process
This was in transcoded and direct play logs.

I cleared the logs so I don't have a snip to post

@DwayneGoddem commented on GitHub (May 16, 2024): > We've found quite a bit of info in our internal chats about this (going through my core dumps and logs). > > The short version is, right now we're pretty sure the issue has to do with transcoding jobs and updating the transcode status. This happens very frequently, but there is a database query in there which is very heavy and after enough time the backlog locks everything up. That TP Worker is the process running the queries. > > We're working on a solution so please remain patient and we'll hopefully get that out in a 10.9.2 sometime very soon. You might be right there. I can see a lot of this error I have seen error for "'C:\ProgramData\Jellyfin\Server\transcoding-temp\transcodes\" with the file is open by another process This was in transcoded and direct play logs. I cleared the logs so I don't have a snip to post
Author
Owner

@arab21dwc commented on GitHub (May 16, 2024):

I have set transcoding thread count to 1, app is still responsive for 12 hours now, will keep it running like this while waiting for the fix or 10.9.2 thanks @joshuaboniface @gnattu @all who contributed to this project keep it up guys

@arab21dwc commented on GitHub (May 16, 2024): I have set transcoding thread count to 1, app is still responsive for 12 hours now, will keep it running like this while waiting for the fix or 10.9.2 thanks @joshuaboniface @gnattu @all who contributed to this project keep it up guys
Author
Owner

@ghost commented on GitHub (May 16, 2024):

Anyone have any information about when this bug came up?
Earlier I used unstable 10.9.0 from 2023 so my only option is switch
back to unstable because 10.8.x will not work with my database.

My question is all of this releases contain this bug? https://repo.jellyfin.org/files/server/debian/unstable/

@ghost commented on GitHub (May 16, 2024): Anyone have any information about when this bug came up? Earlier I used unstable 10.9.0 from 2023 so my only option is switch back to unstable because 10.8.x will not work with my database. My question is all of this releases contain this bug? https://repo.jellyfin.org/files/server/debian/unstable/
Author
Owner

@memehammad commented on GitHub (May 16, 2024):

Anyone have any information about when this bug came up? Earlier I used unstable 10.9.0 from 2023 so my only option is switch back to unstable because 10.8.x will not work with my database.

My question is all of this releases contain this bug? https://repo.jellyfin.org/files/server/debian/unstable/

Try version 2024040106 or earlier. The issue was introduced in the version after.

@memehammad commented on GitHub (May 16, 2024): > Anyone have any information about when this bug came up? Earlier I used unstable 10.9.0 from 2023 so my only option is switch back to unstable because 10.8.x will not work with my database. > > My question is all of this releases contain this bug? https://repo.jellyfin.org/files/server/debian/unstable/ Try version 2024040106 or earlier. The issue was introduced in the version after.
Author
Owner

@ghost commented on GitHub (May 16, 2024):

Anyone have any information about when this bug came up? Earlier I used unstable 10.9.0 from 2023 so my only option is switch back to unstable because 10.8.x will not work with my database.
My question is all of this releases contain this bug? https://repo.jellyfin.org/files/server/debian/unstable/

Try version 2024040106 or earlier. The issue was introduced in the version after.

Ok, and where can I get this version?

@ghost commented on GitHub (May 16, 2024): > > Anyone have any information about when this bug came up? Earlier I used unstable 10.9.0 from 2023 so my only option is switch back to unstable because 10.8.x will not work with my database. > > My question is all of this releases contain this bug? https://repo.jellyfin.org/files/server/debian/unstable/ > > Try version 2024040106 or earlier. The issue was introduced in the version after. Ok, and where can I get this version?
Author
Owner

@memehammad commented on GitHub (May 16, 2024):

Anyone have any information about when this bug came up? Earlier I used unstable 10.9.0 from 2023 so my only option is switch back to unstable because 10.8.x will not work with my database.
My question is all of this releases contain this bug? https://repo.jellyfin.org/files/server/debian/unstable/

Try version 2024040106 or earlier. The issue was introduced in the version after.

Ok, and where can I get this version?

No clue 💀💀💀

@memehammad commented on GitHub (May 16, 2024): > > > Anyone have any information about when this bug came up? Earlier I used unstable 10.9.0 from 2023 so my only option is switch back to unstable because 10.8.x will not work with my database. > > > My question is all of this releases contain this bug? https://repo.jellyfin.org/files/server/debian/unstable/ > > > > > > Try version 2024040106 or earlier. The issue was introduced in the version after. > > Ok, and where can I get this version? No clue 💀💀💀
Author
Owner

@joshuaboniface commented on GitHub (May 16, 2024):

It would have to be built manually, our CI doesn't keep unstables that old.

@joshuaboniface commented on GitHub (May 16, 2024): It would have to be built manually, our CI doesn't keep unstables that old.
Author
Owner

@DwayneGoddem commented on GitHub (May 17, 2024):

Yesterday I shutdown Jellyseerr and last night with about 6 users streaming both Transcoded and Direct local network and external there was NO issues as all.

so @SingingFrog7 was onto something

So how much was changed in the API engine that could be the issue? or does Jellyseerr just need to update to there end.

Does anyone else use other API based connections?

@DwayneGoddem commented on GitHub (May 17, 2024): Yesterday I shutdown Jellyseerr and last night with about 6 users streaming both Transcoded and Direct local network and external there was NO issues as all. so @SingingFrog7 was onto something So how much was changed in the API engine that could be the issue? or does Jellyseerr just need to update to there end. Does anyone else use other API based connections?
Author
Owner

@ravxen commented on GitHub (May 17, 2024):

Yesterday I shutdown Jellyseerr and last night with about 6 users streaming both Transcoded and Direct local network and external there was NO issues as all.

so @SingingFrog7 was onto something

So how much was changed in the API engine that could be the issue? or does Jellyseerr just need to update to there end.

Does anyone else use other API based connections?

I was about to shutdown the whole arr-suite + jellyseerr (every app that uses the API) when Jellyfin started to lock up again.

The moment the apps were down, Jellyfin worked again.

I'll come back tomorrow and tell if there were issues again.

@ravxen commented on GitHub (May 17, 2024): > Yesterday I shutdown Jellyseerr and last night with about 6 users streaming both Transcoded and Direct local network and external there was NO issues as all. > > > > so @SingingFrog7 was onto something > > > > So how much was changed in the API engine that could be the issue? or does Jellyseerr just need to update to there end. > > > > Does anyone else use other API based connections? I was about to shutdown the whole arr-suite + jellyseerr (every app that uses the API) when Jellyfin started to lock up again. The moment the apps were down, Jellyfin worked again. I'll come back tomorrow and tell if there were issues again.
Author
Owner

@gianklug commented on GitHub (May 17, 2024):

Using Jellyseerr and other -arr apps that use the API as well. I'll just Jellyseerr down for now and will update if that fixes it.

EDIT: Just watched an entire episode without any issues.

@gianklug commented on GitHub (May 17, 2024): Using Jellyseerr and other -arr apps that use the API as well. I'll just Jellyseerr down for now and will update if that fixes it. EDIT: Just watched an entire episode without any issues.
Author
Owner

@DwayneGoddem commented on GitHub (May 17, 2024):

Yesterday I shutdown Jellyseerr and last night with about 6 users streaming both Transcoded and Direct local network and external there was NO issues as all.
so @SingingFrog7 was onto something
So how much was changed in the API engine that could be the issue? or does Jellyseerr just need to update to there end.
Does anyone else use other API based connections?

I was about to shutdown the whole arr-suite + jellyseerr (every app that uses the API) when Jellyfin started to lock up again.

The moment the apps were down, Jellyfin worked again.

I'll come back tomorrow and tell if there were issues again.

I have all the other err's running with no issues. Just Jellyseerr was stopped and last night was the 1st stable night after upgrading to 10.9.1

@DwayneGoddem commented on GitHub (May 17, 2024): > > Yesterday I shutdown Jellyseerr and last night with about 6 users streaming both Transcoded and Direct local network and external there was NO issues as all. > > so @SingingFrog7 was onto something > > So how much was changed in the API engine that could be the issue? or does Jellyseerr just need to update to there end. > > Does anyone else use other API based connections? > > I was about to shutdown the whole arr-suite + jellyseerr (every app that uses the API) when Jellyfin started to lock up again. > > The moment the apps were down, Jellyfin worked again. > > I'll come back tomorrow and tell if there were issues again. I have all the other err's running with no issues. Just Jellyseerr was stopped and last night was the 1st stable night after upgrading to 10.9.1
Author
Owner

@vin86 commented on GitHub (May 17, 2024):

i can confirm that after disabled jellyseer, jellyfin works without problems

@vin86 commented on GitHub (May 17, 2024): i can confirm that after disabled jellyseer, jellyfin works without problems
Author
Owner

@DwayneGoddem commented on GitHub (May 17, 2024):

i can confirm that after disabled jellyseer, jellyfin works without problems

so I wonder if Jellyfin has an API issue I can see in the change log there was API changes or if Jellyseer needs to be updated?

We will need the devs to check I guess.

So this removes the its a transcode issue i guess.

@DwayneGoddem commented on GitHub (May 17, 2024): > i can confirm that after disabled jellyseer, jellyfin works without problems so I wonder if Jellyfin has an API issue I can see in the change log there was API changes or if Jellyseer needs to be updated? We will need the devs to check I guess. So this removes the its a transcode issue i guess.
Author
Owner

@BonzTM commented on GitHub (May 17, 2024):

Jellyfin 10.9.1 and Jellyseerr 1.8.1 -- no issues here since the release of 10.9.1

@BonzTM commented on GitHub (May 17, 2024): Jellyfin 10.9.1 and Jellyseerr 1.8.1 -- no issues here since the release of 10.9.1
Author
Owner

@vincejv commented on GitHub (May 17, 2024):

@DwayneGoddem jellyserr doesn't need fixing, it's a Jellyfin issue https://github.com/jellyfin/jellyfin/pull/11670

@vincejv commented on GitHub (May 17, 2024): @DwayneGoddem jellyserr doesn't need fixing, it's a Jellyfin issue https://github.com/jellyfin/jellyfin/pull/11670
Author
Owner

@felix920506 commented on GitHub (May 17, 2024):

Fixed in #11670

@felix920506 commented on GitHub (May 17, 2024): Fixed in #11670
Author
Owner

@SingingFrog7 commented on GitHub (May 17, 2024):

I had re-enabled Jellyseer after updating it and had no issue for another 24h, but then got another crash when a user needed transcoding. Disabling jellyseerr again made it work so I guess it's not just one or the other, but both combined along with other parameter such as a specific virtualization setup (VMs seems fine while LXC have that issue)

I think jellyseerr just add another bunch of authentication queries which, along with transcoding (which needs to validate if the user is allowed to transcode) ends up being too much. I hope the rolleback to using cache with UserManager will fix it

@SingingFrog7 commented on GitHub (May 17, 2024): I had re-enabled Jellyseer after updating it and had no issue for another 24h, but then got another crash when a user needed transcoding. Disabling jellyseerr again made it work so I guess it's not just one or the other, but both combined along with other parameter such as a specific virtualization setup (VMs seems fine while LXC have that issue) I think jellyseerr just add another bunch of authentication queries which, along with transcoding (which needs to validate if the user is allowed to transcode) ends up being too much. I hope the rolleback to using cache with UserManager will fix it
Author
Owner

@DwayneGoddem commented on GitHub (May 17, 2024):

yes I guess we need to wait for the next release or try the next unstable release.

the current unstable is dated the 9th so I guess it will just have to keep an eye out for it.

@DwayneGoddem commented on GitHub (May 17, 2024): yes I guess we need to wait for the next release or try the next unstable release. the current unstable is dated the 9th so I guess it will just have to keep an eye out for it.
Author
Owner

@felix920506 commented on GitHub (May 17, 2024):

Please test on the next unstable build (should be out next Monday) and open a new issue if it wasn't fixed

@felix920506 commented on GitHub (May 17, 2024): Please test on the next unstable build (should be out next Monday) and open a new issue if it wasn't fixed
Author
Owner

@memehammad commented on GitHub (May 17, 2024):

Please test on the next unstable build (should be out next Monday) and open a new issue if it wasn't fixed

Anything stopping you guys from releasing this sooner? Jellyfin is unusable for a lot of people right now.

@memehammad commented on GitHub (May 17, 2024): > Please test on the next unstable build (should be out next Monday) and open a new issue if it wasn't fixed Anything stopping you guys from releasing this sooner? Jellyfin is unusable for a lot of people right now.
Author
Owner

@nielsvanvelzen commented on GitHub (May 17, 2024):

10.9.2 will be released shortly

@nielsvanvelzen commented on GitHub (May 17, 2024): 10.9.2 will be released shortly
Author
Owner

@arab21dwc commented on GitHub (May 17, 2024):

Hi @nielsvanvelzen is it still going to be released today

@arab21dwc commented on GitHub (May 17, 2024): Hi @nielsvanvelzen is it still going to be released today
Author
Owner

@nielsvanvelzen commented on GitHub (May 17, 2024):

Can't give exact release dates but it should be within 48 hours from now.

@nielsvanvelzen commented on GitHub (May 17, 2024): Can't give exact release dates but it should be within 48 hours from now.
Author
Owner

@ghost commented on GitHub (May 17, 2024):

I created a disk backup from my debian system in 2023.12.08, so I decided I restore to another disk and create deb installer files with dpkg-repack. I successfully created and restored the working system, unstable 10.9.0 (20230628) amd64, If you want to play with it, I uploaded to here: https://file.ath.cx/filebrowser/share/MNUkEiqD

@ghost commented on GitHub (May 17, 2024): I created a disk backup from my debian system in 2023.12.08, so I decided I restore to another disk and create deb installer files with dpkg-repack. I successfully created and restored the working system, unstable 10.9.0 (20230628) amd64, If you want to play with it, I uploaded to here: https://file.ath.cx/filebrowser/share/MNUkEiqD
Author
Owner

@arab21dwc commented on GitHub (May 17, 2024):

@gyilkoszabpehely problem with this release it crashes the android tv app

@arab21dwc commented on GitHub (May 17, 2024): @gyilkoszabpehely problem with this release it crashes the android tv app
Author
Owner

@ghost commented on GitHub (May 17, 2024):

@gyilkoszabpehely problem with this release it crashes the android tv app

@arab21dwc I've been using this version for a very long time, and I tested on all platform...
Are you using hardware encoding? If yes, what kind of video card have you?
New debian kernel images messing nvidia drivers...

If you have debian 12 check ffmpeg path in playback: /usr/lib/jellyfin-ffmpeg/ffmpeg
And if the problem with ffmpeg, you can use the new one: jellyfin-ffmpeg5

The funny thing in this release that is working fine if you want to revert back from 10.9.1, you must turn off all plugins...

@ghost commented on GitHub (May 17, 2024): > @gyilkoszabpehely problem with this release it crashes the android tv app @arab21dwc I've been using this version for a very long time, and I tested on all platform... Are you using hardware encoding? If yes, what kind of video card have you? New debian kernel images messing nvidia drivers... If you have debian 12 check ffmpeg path in playback: /usr/lib/jellyfin-ffmpeg/ffmpeg And if the problem with ffmpeg, you can use the new one: jellyfin-ffmpeg5 The funny thing in this release that is working fine if you want to revert back from 10.9.1, you must turn off all plugins...
Author
Owner

@ghost commented on GitHub (May 17, 2024):

I know that most people do not know how useful such a system is if a community or family uses every day.

I have a little dislike for the developers for publishing this edition, maybe they didn't think about how many people's work can go to waste. I know that we need backup, but neither the family nor the community can raise the necessary costs for me.
I only do this for free for the record, that only my expense.

I could write a novel about my last week, because they destroyed everything that drives the engine of the community for me.
Jellyfin kills jellyfin.
Debian kills Nvidia.

Not funny :(

@ghost commented on GitHub (May 17, 2024): I know that most people do not know how useful such a system is if a community or family uses every day. I have a little dislike for the developers for publishing this edition, maybe they didn't think about how many people's work can go to waste. I know that we need backup, but neither the family nor the community can raise the necessary costs for me. I only do this for free for the record, that only my expense. I could write a novel about my last week, because they destroyed everything that drives the engine of the community for me. Jellyfin kills jellyfin. Debian kills Nvidia. Not funny :(
Author
Owner

@cvium commented on GitHub (May 17, 2024):

If you can't afford to backup your config and data (not media) directories, I don't think self-hosting is for you.

@cvium commented on GitHub (May 17, 2024): If you can't afford to backup your config and data (not media) directories, I don't think self-hosting is for you.
Author
Owner

@ghost commented on GitHub (May 17, 2024):

@cvium if you had bothered to read it back, my life would have been easier :)

@ghost commented on GitHub (May 17, 2024): @cvium if you had bothered to read it back, my life would have been easier :)
Author
Owner

@arab21dwc commented on GitHub (May 17, 2024):

@gyilkoszabpehely it must be my database that is crashing the android application, as soon as i go to the unstable build the android app does not crash

@arab21dwc commented on GitHub (May 17, 2024): @gyilkoszabpehely it must be my database that is crashing the android application, as soon as i go to the unstable build the android app does not crash
Author
Owner

@ghost commented on GitHub (May 17, 2024):

If you can't afford to backup your config and data (not media) directories, I don't think self-hosting is for you.

@cvium I created a backup from everything, except a media. But how can I go back to the previous jellyfin version if I've been using 10.9.0 for almost an year and jellyfin deletes all which is working and compatible with this version?

@ghost commented on GitHub (May 17, 2024): > If you can't afford to backup your config and data (not media) directories, I don't think self-hosting is for you. @cvium I created a backup from everything, except a media. But how can I go back to the previous jellyfin version if I've been using 10.9.0 for almost an year and jellyfin deletes all which is working and compatible with this version?
Author
Owner

@arab21dwc commented on GitHub (May 17, 2024):

FIY i also found a way to disable transcoding completely and just uses remuxing for all clients for media and live tv >xui one>xteve>jellyfin and remuxing does not cause high cpu usage

@arab21dwc commented on GitHub (May 17, 2024): FIY i also found a way to disable transcoding completely and just uses remuxing for all clients for media and live tv >xui one>xteve>jellyfin and remuxing does not cause high cpu usage
Author
Owner

@SingingFrog7 commented on GitHub (May 17, 2024):

@gyilkoszabpehely you can't go back to 10.8.x unfortunately, due to change in databases. You decided to use unstable releases, that comes with that kind if risks. You can build the code yourself from a specific time where it worked for you

I could write a novel about my last week, because they destroyed everything that drives the engine of the community for me.
Jellyfin kills jellyfin.

In that specific case, were are pretty lucky, devs are really responsive and the problem is most likely already fixed (we're just waiting for the next release, but you could build the code yourself if you don't want to wait)

As with most projects like Jellyfin, people aren't doing that for a living, they are maintaining the projects on their own time.

I don't want to be harsh or anything, but I feel like I'd share a simple "trick" I developed over the year:

  • If you don't have the time to troubleshoot/debug, don't use unstable releases and don't upgrade as soon as a new stable release comes out. Wait for a few weeks so that people that have the time/willingness to try them first and troubleshoot can sort issues out with the developers
  • Don't share your selfhosted services with friends/family unless you agree to take the time to support them (especially the non-techy ones) and you understand you become responsible, especially if you host their data
@SingingFrog7 commented on GitHub (May 17, 2024): @gyilkoszabpehely you can't go back to 10.8.x unfortunately, due to change in databases. You decided to use unstable releases, that comes with that kind if risks. You can build the code yourself from a specific time where it worked for you > I could write a novel about my last week, because they destroyed everything that drives the engine of the community for me. Jellyfin kills jellyfin. In that specific case, were are pretty lucky, devs are really responsive and the problem is most likely already fixed (we're just waiting for the next release, but you could build the code yourself if you don't want to wait) As with most projects like Jellyfin, people aren't doing that for a living, they are maintaining the projects on their own time. I don't want to be harsh or anything, but I feel like I'd share a simple "trick" I developed over the year: - If you don't have the time to troubleshoot/debug, don't use unstable releases and don't upgrade as soon as a new stable release comes out. Wait for a few weeks so that people that have the time/willingness to try them first and troubleshoot can sort issues out with the developers - Don't share your selfhosted services with friends/family unless you agree to take the time to support them (especially the non-techy ones) and you understand you become responsible, especially if you host their data
Author
Owner

@joshuaboniface commented on GitHub (May 17, 2024):

To be clear, we don't delete anything, so I'm not sure about what is meant there. We don't keep old unstable binary builds sure (ever increasing space requirements), but the code is all there in the Git repository and they can be built again from source if required. Upgrades apply database migrations for code changes however, so yes unless a backup is made before upgrading, upon the very first start of a new version, the on-disk databases will change and will not be compatible with any older version(s) - including older unstables potentially.

I'll echo what @SingingFrog7 said. To be exceedingly blunt, if you decide to jump right on a new major release that is 2+ years in the making right on day one... you're going to have problems. We had, at least among the team, at least 15 of us testing 10.9.0 for weeks before releasing and while we noticed (and fixed) a lot of bugs, our collective usecases cannot possibly represent the literally tens of thousands of other usecases out there. Bugs will happen, things will break. This is why we constantly stress to take backups before every upgrade, why we ask the community to help test unstable releases (because then we're more likely to find the edge cases), and why we never recommend automatic updates for Jellyfin. If stability is important to your usecase, it is always better to wait at least a week or two before upgrading major versions (note that point releases are much more strict and are usually safe - and recommended for security - to update immediately). We are all volunteers doing the best we can, and while we'd always like releases to be a seamless, bug free experience, that's not always possible.

I think at this point, this thread has been exhausted of viable discussion. While I'm normally loathe to do so, I'm going to limit this to contributors only now. 10.9.2, with what we expect is the final fix to this issue, will be released at some point in the next 24-48 hours. If the issue still occurs for anyone after that version, then please open a new issue.

@joshuaboniface commented on GitHub (May 17, 2024): To be clear, we don't *delete* anything, so I'm not sure about what is meant there. We don't keep old unstable binary builds sure (ever increasing space requirements), but the code is all there in the Git repository and they can be built again from source if required. Upgrades apply database migrations for code changes however, so yes unless a backup is made before upgrading, upon the very first start of a new version, the on-disk databases will change and will **not** be compatible with any older version(s) - including older unstables potentially. I'll echo what @SingingFrog7 said. To be exceedingly blunt, if you decide to jump right on a new major release that is 2+ years in the making right on day one... you're going to have problems. We had, at least among the team, at least 15 of us testing 10.9.0 for weeks before releasing and while we noticed (and fixed) a lot of bugs, our collective usecases cannot possibly represent the literally tens of thousands of other usecases out there. Bugs *will* happen, things *will* break. This is why we constantly stress to take backups before every upgrade, why we ask the community to help test unstable releases (because then we're more likely to find the edge cases), and why we never recommend automatic updates for Jellyfin. If stability is important to your usecase, it is always better to wait at least a week or two before upgrading major versions (note that point releases are much more strict and are usually safe - and recommended for security - to update immediately). We are all volunteers doing the best we can, and while we'd always like releases to be a seamless, bug free experience, that's not always possible. I think at this point, this thread has been exhausted of viable discussion. While I'm normally loathe to do so, I'm going to limit this to contributors only now. 10.9.2, with what we expect is the final fix to this issue, will be released at some point in the next 24-48 hours. If the issue still occurs for anyone after that version, then please open a new issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#5746