YunoHost-Apps / jellyfin_ynh

Jellyfin package for YunoHost
https://jellyfin.org/
GNU General Public License v3.0
26 stars 24 forks source link

Update | System Unauthorized Access Exception FFMPEG log #150

Closed stilobique closed 6 months ago

stilobique commented 6 months ago

Describe the bug

Hello, since the last update (and maybe before), I have an error if I played a movie or anything. The app give this error Ce client n'est pas compatible avec le média et le serveur n'envoie pas de format compatible. And, inside the log, an FFMEPG log error is returned.

mars 01 21:41:11 jellyfin[3829354]: System.UnauthorizedAccessException: Access to the path '/var/log/jellyfin/FFmpeg.Transcode-2024-03-01_21-41-11_d10c94daa43fc11a90d914e910bf517d_c7e5cc28.log' is denied.
mars 01 21:41:11 jellyfin[3829354]:  ---> System.IO.IOException: Permission denied

The complete log can be read here.

I'm looking the folder about his permission, the result:

drw-r-----   2 jellyfin          adm                 45056 Feb 26 18:21 jellyfin

All previous log inside the folder:

-rw-r--r--  1 jellyfin jellyfin 131490 Feb 24 19:44 FFmpeg.DirectStream-2024-02-24_19-42-27_07feb49e677814f2fec933053af92191_cd819089.log
-rw-r--r--  1 jellyfin jellyfin  25471 Feb 24 19:44 FFmpeg.DirectStream-2024-02-24_19-44-29_07feb49e677814f2fec933053af92191_ac5085be.log
[...]
-rw-r--r--  1 jellyfin jellyfin 379981 Feb 25 21:40 FFmpeg.Transcode-2024-02-25_21-24-39_e74685562c294b7e5ba551144fdeb7d8_725eabfd.log
-rw-r--r--  1 jellyfin jellyfin  43675 Feb 18 19:34 log_20240218.log
-rw-r--r--  1 jellyfin jellyfin    292 Feb 19 20:39 log_20240219.log
tituspijean commented 6 months ago

This should have been fixed yesterday with YunoHost v11.2.10.2. You might need to perform a force-upgrade on Jellyfin to trigger the fix: sudo yunohost app upgrade jellyfin -F

stilobique commented 6 months ago

Great news. Thanks, @tituspijean. The fix can be read somewhere ? I want to understand how the Yuno update fix this issue.

tituspijean commented 6 months ago

Sure, here it is: https://github.com/YunoHost/yunohost/pull/1787