Jellyfin Forum
Server becomes unresponsive - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Server becomes unresponsive (/t-server-becomes-unresponsive)



Server becomes unresponsive - OSG - 2024-02-10

Hey everyone,

    I am new here. I have used Jellyfin for a few years now. I have jellyfin running in docker on a Ubuntu machine that is connected via ethernet to my in home network. When I first log into jellyfin via the browser, I can access the server. When I go to movies, all of my movie covers are blurred out and if I try and open one to watch, I get a playback error message, "Playback error: this client isn't compatible with the media and the server isn't sending a compatible media format." To me it sounds like a transcoding issue but it doesn't matter if it's H264, or mpeg2video, or any other format. When I go to the logs, I see error messages like this

" System.IO.IOException: Input/output error : '/data/movies'
  at System.IO.Enumeration.FileSystemEnumerator1.MoveNext()
  at System.Linq.Enumerable.SelectEnumerableIterator
2.ToArray()
  at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd[TArg](TKey key, Func3 valueFactory, TArg factoryArgument)
  at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetFiles(BaseItem item, Boolean includeDirectories, IDirectoryService directoryService)
  at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetImages(BaseItem item, IDirectoryService directoryService)
  at System.Linq.Enumerable.SelectManySingleSelectorIterator2.ToList()
  at MediaBrowser.Providers.Manager.ItemImageProvider.ValidateImages(BaseItem item, IEnumerable
1 providers, IDirectoryService directoryService)
  at MediaBrowser.Providers.Manager.MetadataService2.RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, CancellationToken cancellationToken)
[2024-02-10 06:55:49.106 +00:00] [ERR] [54] MediaBrowser.Providers.Movies.MovieMetadataService: Error validating images for "/data/movies/The Covenant (2006).mkv"
System.IO.IOException: Input/output error : '/data/movies'
  at System.IO.Enumeration.FileSystemEnumerator
1.MoveNext()
  at System.Linq.Enumerable.SelectEnumerableIterator2.ToArray()
  at System.Collections.Concurrent.ConcurrentDictionary
2.GetOrAdd[TArg](TKey key, Func3 valueFactory, TArg factoryArgument)
  at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetFiles(BaseItem item, Boolean includeDirectories, IDirectoryService directoryService)
  at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetImages(BaseItem item, IDirectoryService directoryService)
  at System.Linq.Enumerable.SelectManySingleSelectorIterator
2.ToList()
  at MediaBrowser.Providers.Manager.ItemImageProvider.ValidateImages(BaseItem item, IEnumerable1 providers, IDirectoryService directoryService)
  at MediaBrowser.Providers.Manager.MetadataService
2.RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, CancellationToken cancellationToken)
[2024-02-10 06:55:49.106 +00:00] [ERR] [38] MediaBrowser.Providers.Movies.MovieMetadataService: Error validating images for "/data/movies/Blade Trinity (2004).mkv"
System.IO.IOException: Input/output error : '/data/movies'
  at System.IO.Enumeration.FileSystemEnumerator1.MoveNext()
  at System.Linq.Enumerable.SelectEnumerableIterator
2.ToArray()
  at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd[TArg](TKey key, Func3 valueFactory, TArg factoryArgument)
  at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetFiles(BaseItem item, Boolean includeDirectories, IDirectoryService directoryService)
  at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetImages(BaseItem item, IDirectoryService directoryService)
  at System.Linq.Enumerable.SelectManySingleSelectorIterator2.ToList()
  at MediaBrowser.Providers.Manager.ItemImageProvider.ValidateImages(BaseItem item, IEnumerable
1 providers, IDirectoryService directoryService)
  at MediaBrowser.Providers.Manager.MetadataService`2.RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, CancellationToken cancellationToken)
[2024-02-10 06:55:49.107 +00:00] [ERR] [77] MediaBrowser.Providers.Movies.MovieMetadataService: Error validating images for "/data/movies/Black Sheep (1996).mkv"


However, if I go into Portainer and restart the container. Then all works as it should. I can see cover art, I can open movies, transcoding and playback are all fine. However, If I stop using Jellyfin for a couple hours, it goes back into these errors and I have to restart the container.

I tried searching the forum however nothing specific to my question. Please help. I would greatly appreciate it.

Thanks for everyone's help and I apologize if I screwed up in some way.


RE: Server becomes unresponsive - tmsrxzar - 2024-02-10

System.IO.IOException: Input/output error : '/data/movies'

Error validating images for "/data/movies/Blade Trinity (2004).mkv"

System.IO.IOException: Input/output error : '/data/movies'

Error validating images for "/data/movies/Black Sheep (1996).mkv"


seems like your drive is having an issue have you tried to check the filesystem for errors?


RE: Server becomes unresponsive - TheDreadPirate - 2024-02-10

Is the drive becoming unmounted? Is the drive locally attached? A USB drive?


RE: Server becomes unresponsive - OSG - 2024-02-11

(2024-02-10, 08:44 PM)tmsrxzar Wrote: System.IO.IOException: Input/output error : '/data/movies'

Error validating images for "/data/movies/Blade Trinity (2004).mkv"

System.IO.IOException: Input/output error : '/data/movies'

Error validating images for "/data/movies/Black Sheep (1996).mkv"


seems like your drive is having an issue have you tried to check the filesystem for errors?

I have not. It’s is a usb hdd that has been flawless up until this last reinstall of Jellyfin docker from a migration to a new system.

(2024-02-10, 11:40 PM)TheDreadPirate Wrote: Is the drive becoming unmounted?  Is the drive locally attached?  A USB drive?

It does not seem to become unmounted. I could plug it into a powered usb hub to ensure it’s getting adequate constant power as a temp fix. 

I am planning on migrating my library over to a truenas scale zRAID setup for redundancy.


RE: Server becomes unresponsive - OSG - 2024-02-11

I wanted to update everyone. I went ahead and plugged my external HDD into a powered USB hub and I have not had a issue since. I don't know why but my external hdd was plugged into my USB 3.0 port along with the external power supply but for whatever reason, it was not receiving enough power. It was not mounting and unmounting and when I ran fsck, no errors were reported back. I"m going to keep an eye on it to make sure there are no other issues but it seems to have fixed the issue.

I want to thank everyone who gave input into this. I greatly appreciate it.