linuxserver / docker-jellyfin

GNU General Public License v3.0
607 stars 91 forks source link

System.UnauthorizedAccessException on version 10.8.2 #163

Closed lbrunkho closed 1 year ago

lbrunkho commented 1 year ago

Noticed that my Jellyfin instance started throwing system IO exceptions on the latest release of this image (v10.8.2 at the time of writing). Each time I tried to play a file I will get the following errors... [20:28:17] [ERR] [31] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL POST /Sessions/Playing/Progress. System.TypeInitializationException: The type initializer for 'Nikse.SubtitleEdit.Core.Common.Configuration' threw an exception. ---> System.UnauthorizedAccessException: Access to the path '/run/s6/legacy-services/jellyfin/Subtitle Edit/Dictionaries' is denied. ---> System.IO.IOException: Permission denied --- End of inner exception stack trace --- at System.IO.FileSystem.CreateDirectory(String fullPath) at System.IO.Directory.CreateDirectory(String path) at Nikse.SubtitleEdit.Core.Common.Configuration.GetDataDirectory() at Nikse.SubtitleEdit.Core.Common.Configuration..cctor() --- End of inner exception stack trace ---

I've manually rolled back to Linuxserver.io version:- 10.8.1-1-ls171 and this seems to have fixed this temporarily. I've attached the full log file for more context. _jellyfin_logs.txt

Here is my docker-compose file that is used to deploy this image. Note I'm running this behind a reverse ssl proxy hence why you don't see any http ports exposed.

`version: "2.1" services: jellyfin: image: ghcr.io/linuxserver/jellyfin container_name: jellyfin environment:

volumes: jellyfin-config: networks: npm: external: true`

github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

DuncanBennie commented 1 year ago

This is resolved with the latest release (10.8.3-1-ls173).

lbrunkho commented 1 year ago

Thanks! I will update and confirm shortly.

lbrunkho commented 1 year ago

Updated to version:- 10.8.3-1-ls173 and confirmed problem is now fixed.

Closing issue...