2025-02-20, 02:08 AM
(This post was last modified: 2025-02-20, 04:44 AM by gpn. Edited 2 times in total.)
I have my jellyfin instance running on a debian 12 lxc. I have the database stored locally but the media is being served off my nas which is a debian 12 based system. The media plays fine and I have no issues playing anything or updating the metadata of my media.
When trying to generate trickplay images I get permissions errors. Here is what the logs are showing.
I went as far and changing folder and media permissions to 777 just to test if that would fix the problem. I had them set to 775 originally. The NAS is set to automount into the lxc at /media/mediaserver.
As far as I can tell trickplay has never worked.
When trying to generate trickplay images I get permissions errors. Here is what the logs are showing.
Code:
at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode)
at System.IO.Directory.CreateDirectory(String path)
at Jellyfin.Server.Implementations.Trickplay.TrickplayManager.CreateTiles(IReadOnlyList`1 images, Int32 width, TrickplayOptions options, String outputDir)
at Jellyfin.Server.Implementations.Trickplay.TrickplayManager.RefreshTrickplayDataInternal(Video video, Boolean replace, Int32 width, TrickplayOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken)
[2025-02-20 00:54:24.112 +00:00] [INF] Creating trickplay files at 320 width, for "/media/mediaserver/movies/moviefolder/moviename.mkv" [ID: e1150572-794b-761b-b620-cf5d1db860b8]
[2025-02-20 00:54:24.112 +00:00] [INF] Trickplay generation: "/usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 1 -i file:\"/media/mediaserver/movies/moviefolder/moviename .mkv\" -an -sn -vf \"fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p\" -threads 1 -c:v mjpeg -qscale:v 4 -fps_mode passthrough -f image2 \"/tmp/jellyfin/e624f15e99404d29b9c60b21a743e281/%08d.jpg\""
[2025-02-20 01:07:52.767 +00:00] [INF] WS "192.168.2.x" closed
[2025-02-20 01:08:29.447 +00:00] [INF] WS "192.168.2.x" request
[2025-02-20 01:29:30.610 +00:00] [ERR] Error creating trickplay images.
System.UnauthorizedAccessException: Access to the path '/media/mediaserver/movies/moviefolder/moviename.trickplay' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
I went as far and changing folder and media permissions to 777 just to test if that would fix the problem. I had them set to 775 originally. The NAS is set to automount into the lxc at /media/mediaserver.
As far as I can tell trickplay has never worked.