Skip to content

[v25] "System.IO.IOException: Read-only file system" when downloading subtitles #224

Closed

Description

@dpapagiannis

Ever since the latest updates, I have been getting the following error when downloading subtitles:

jellyfin  | [17:43:38] [INF] [30] Jellyfin.Plugin.OpenSubtitles.OpenSubtitleDownloader: Remaining subtitle downloads: 17
jellyfin  | [17:43:38] [INF] [32] MediaBrowser.Providers.Subtitles.SubtitleManager: Saving subtitles to <path>
jellyfin  | [17:43:38] [ERR] [32] Jellyfin.Api.Controllers.SubtitleController: Error downloading subtitles
jellyfin  | System.AggregateException: One or more errors occurred. (Read-only file system : '<path>')
jellyfin  |  ---> System.IO.IOException: Read-only file system : '<path>'
jellyfin  |    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
jellyfin  |    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
jellyfin  |    at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
jellyfin  |    at System.IO.FileStream..ctor(String path, FileStreamOptions options)
jellyfin  |    at MediaBrowser.Providers.Subtitles.SubtitleManager.TrySaveToFiles(Stream stream, List`1 savePaths, Video video, String extension)
jellyfin  |    --- End of inner exception stack trace ---
jellyfin  |    at MediaBrowser.Providers.Subtitles.SubtitleManager.TrySaveToFiles(Stream stream, List`1 savePaths, Video video, String extension)
jellyfin  |    at MediaBrowser.Providers.Subtitles.SubtitleManager.TrySaveSubtitle(Video video, LibraryOptions libraryOptions, SubtitleResponse response)
jellyfin  |    at MediaBrowser.Providers.Subtitles.SubtitleManager.TrySaveSubtitle(Video video, LibraryOptions libraryOptions, SubtitleResponse response)
jellyfin  |    at MediaBrowser.Providers.Subtitles.SubtitleManager.DownloadSubtitles(Video video, LibraryOptions libraryOptions, String subtitleId, CancellationToken cancellationToken)
jellyfin  |    at Jellyfin.Api.Controllers.SubtitleController.DownloadRemoteSubtitles(Guid itemId, String subtitleId)

<path> points to the .srt file that the plugin tries to store, seemingly next to the video file itself.

I was previously on jellyfin:preview (no issues encountered during that time), and I recently (~1week ago) updated to jellyfin:latest once v12 was stable. Ever since, the above error has been occurring.

I tried downgrading to jellyfin:preview but I couldn't test v25 (incompatibility?). I tried v24, after uninstalling v25, restarting, installing v24 and restarting again but same error (maybe I'm doing something wrong?). I also tried with jellyfin:12.0-rc6, but still couldn't find any combination that was working before.

More context

I'm indeed mounting the video directories as read-only, but that was no problem until now; jellyfin was storing the subtitles into its own config directories with no issues.

Activity

  1. MBR-0001 commented on Sep 16, 2026

    @MBR-0001
    Member

    iirc before this it would try to save the subtitle next to media files and if it failed it would then do a fallback to internal subtitle location

    In jellyfin 12 the setting is now followed more strictly, related PR: jellyfin/jellyfin#16779
    My suggestion is to disable "Save subtitles into media folders" if you are mounting read-only.

    pinging @Shadowghost, just in case I missed something out or got it wrong 👀

  2. dpapagiannis commented on Sep 16, 2026

    @dpapagiannis
    Author

    My suggestion is to disable "Save subtitles into media folders" if you are mounting read-only.

    @MBR-0001 Thanks for coming back to me, that indeed did the trick! I had never seen this option before (BTW for whoever is looking for it, it's kind of buried under Dashboard -> Libraries -> Manage Library (e.g. the "Shows") and scrolling to the bottom of the options), and I'm not sure why this option's behavior suddenly changed(?), but it's what I was looking for!

    I guess I can close the issue.

  3. rogerwilco104 commented on Oct 23, 2026

    @rogerwilco104

    Just chiming in to say disabling "Save subtitles into media folders" worked for me. Not sure what changed, but recently I started having this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions