Jellyfin: Erreur fatale au démarrage à cause de ffmpeg - Fatal error on startup because of ffmpeg

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.7
What app is this about: Jellyfin 10.10.1~ynh1

Describe your issue

Bonjour,

Suite à une mise à jour vers Bookworm et une désinstallation et réinstallation de Jellyfin avec changement de version 10.9 vers 10.10, celui ci ne veut plus se lancer.
Dans les logs j’obtiens une erreur fatale liée à FFMPEG :

[2024-11-17 14:46:52.188 +01:00] [ERR] Error validating encoder
System.ComponentModel.Win32Exception (2): An error occurred trying to start process ‘/usr/lib/jellyfin-ffmpeg/ffmpeg’ with working directory ‘/var/lib/jellyfin’. No such file or directory
at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String argv, String envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32 groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at MediaBrowser.MediaEncoding.Encoder.EncoderValidator.GetProcessOutput(String path, String arguments, Boolean readStdErr, String testKey)
at MediaBrowser.MediaEncoding.Encoder.EncoderValidator.ValidateVersion()
[2024-11-17 14:46:52.194 +01:00] [ERR] FFmpeg: Failed version check: “/usr/lib/jellyfin-ffmpeg/ffmpeg”
[2024-11-17 14:46:52.194 +01:00] [ERR] FFmpeg: Path set by “command line or environment variable” is invalid
[2024-11-17 14:46:52.194 +01:00] [FTL] Error while starting server
MediaBrowser.Common.FfmpegException: Failed to find valid ffmpeg
at Emby.Server.Implementations.ApplicationHost.RunStartupTasksAsync()
at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)

Voir le log complet ci dessous.
https://paste.yunohost.org/oqumiwodeq

Peut être une piste ici :

Un lien vers le ticket créé sur github :

Merci !


The same in english

Hi,
I recently deinstalled Jellyfin 10.9 from my YunoHost 11, updated Yunohost to version 12, and then reinstalled Jellyfin 10.10.
Jellyfin 10.10 installation went smoothly, no problem occured.
But it appears that I am unable to log into the Jellyfin server.
Choosing the server on the jellyfin landing page shows a message like “unable to connect to server, verify that it is operational and retry”
“Nous sommes dans l’impossibilité de nous connecter au serveur sélectionné. Veuillez vérifier qu’il est opérationnel et réessayez.”
Checking the log gives more info, I have a FATAL error preventing the server to startup correctly, pointing of FFMPEG :

[2024-11-17 14:46:52.188 +01:00] [ERR] Error validating encoder
System.ComponentModel.Win32Exception (2): An error occurred trying to start process ‘/usr/lib/jellyfin-ffmpeg/ffmpeg’ with working directory ‘/var/lib/jellyfin’. No such file or directory
at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String argv, String envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32 groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at MediaBrowser.MediaEncoding.Encoder.EncoderValidator.GetProcessOutput(String path, String arguments, Boolean readStdErr, String testKey)
at MediaBrowser.MediaEncoding.Encoder.EncoderValidator.ValidateVersion()
[2024-11-17 14:46:52.194 +01:00] [ERR] FFmpeg: Failed version check: “/usr/lib/jellyfin-ffmpeg/ffmpeg”
[2024-11-17 14:46:52.194 +01:00] [ERR] FFmpeg: Path set by “command line or environment variable” is invalid
[2024-11-17 14:46:52.194 +01:00] [FTL] Error while starting server
MediaBrowser.Common.FfmpegException: Failed to find valid ffmpeg
at Emby.Server.Implementations.ApplicationHost.RunStartupTasksAsync()
at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)

Complete log following under :
https://paste.yunohost.org/oqumiwodeq

May be a lead :

Link to the github issue I made :

Share relevant logs or error messages

https://paste.yunohost.org/oqumiwodeq

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.