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 :
opened 05:08AM - 09 Nov 24 UTC
closed 05:38AM - 09 Nov 24 UTC
downstream
### This issue respects the following points:
- [x] This is a **bug**, not a qu… estion or a configuration issue; Please visit our forum or chat rooms first to troubleshoot with volunteers, before creating a report. The links can be found [here](https://jellyfin.org/contact/).
- [x] This issue is **not** already reported on [GitHub](https://github.com/jellyfin/jellyfin/issues?q=is%3Aopen+is%3Aissue) _(I've searched it)_.
- [x] I'm using an up to date version of Jellyfin Server stable, unstable or master; We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
- [x] I agree to follow Jellyfin's [Code of Conduct](https://jellyfin.org/docs/general/community-standards.html#code-of-conduct).
- [x] This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.
### Description of the bug
After upgrading to 10.10.1, the server does not start due to ffmpeg error.
The error is not very specific, I tried upgrading the jellyfin-ffmpeg version in openmediavault to 7.0.2-Jellyfin, but the issue is the same.
Attaching the logs.
[Jellyfin Log from OpenMediaVault.log](https://github.com/user-attachments/files/17686082/Jellyfin.Log.from.OpenMediaVault.log)
```
jellyfin | [20:50:26] [ERR] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg validation: The process returned no result
jellyfin | [20:50:26] [ERR] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Failed version check: /usr/lib/jellyfin-ffmpeg/ffmpeg
jellyfin | [20:50:26] [ERR] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Path set by command line or environment variable is invalid
jellyfin | [20:50:26] [FTL] [1] Main: Error while starting server
jellyfin | MediaBrowser.Common.FfmpegException: Failed to find valid ffmpeg
jellyfin | at Emby.Server.Implementations.ApplicationHost.RunStartupTasksAsync()
jellyfin | at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
```
### Reproduction steps
1. Setup OpenMediaVault
2. Install Compose plugin to run docker containers in OMV
3. Install Jellyfin ffmpeg 7 in omv to the same user that you use in the docker container
4. Install Jellyfin server using the below compose file
```
---
# https://hub.docker.com/r/linuxserver/jellyfin
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
security_opt: # enables full access to /sys and /proc, still far better than privileged: true
- systempaths=unconfined
- apparmor=unconfined
group_add:
- video
devices:
- /dev/rga:/dev/rga
- /dev/dri:/dev/dri
- /dev/dma_heap:/dev/dma_heap
- /dev/mpp_service:/dev/mpp_service
- /dev/mali0:/dev/mali0 # only required to enable OpenCL-accelerated HDR -> SDR tonemapping
volumes:
- /etc/OpenCL:/etc/OpenCL:ro # only required to enable OpenCL-accelerated HDR -> SDR tonemapping
- /usr/lib/aarch64-linux-gnu/libmali.so.1:/usr/lib/aarch64-linux-gnu/libmali.so.1:ro # only required to enable OpenCL-accelerated HDR -> SDR tonemapping
- /usr/lib/jellyfin-ffmpeg:/usr/lib/jellyfin-ffmpeg
- /usr/lib/aarch64-linux-gnu/libx264.so.164:/usr/lib/aarch64-linux-gnu/libx264.so.164
- ${PATH_TO_APPDATA}/jellyfin/library:/config
- ${PATH_TO_DATA}/media/tvseries:/data/tvshows
- ${PATH_TO_DATA}/media/movies:/data/movies
- ${PATH_TO_DATA}/media/music:/data/music
ports:
- 8096:8096
- 8920:8920 #optional
- 7359:7359/udp #optional
- 1900:1900/udp #optional
restart: unless-stopped
```
### What is the current _bug_ behavior?
The server keeps bouncing with the error in the log attached to description.
### What is the expected _correct_ behavior?
Server starts sucessfully and I can reach it from browser.
### Jellyfin Server version
10.10.0+
### Specify commit id
_No response_
### Specify unstable release number
_No response_
### Specify version number
_No response_
### Specify the build version
Cannot go to dashboard
### Environment
```markdown
- OS:Open Media Vault 7.4.11-1 (Sandworm)
- Linux Kernel:
- Virtualization:Docker
- Clients:
- Browser:
- FFmpeg Version:7.0.2-Jellyfin
- Playback Method:
- Hardware Acceleration:RKMPP
- GPU Model:Rockchip RK3588
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:
```
### Jellyfin logs
```shell
Attached
```
### FFmpeg logs
```shell
```
### Client / Browser logs
_No response_
### Relevant screenshots or videos
_No response_
### Additional information
_No response_
Un lien vers le ticket créé sur github :
opened 08:37AM - 18 Nov 24 UTC
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 :
Useful errors :
`[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)`
Full log here : https://paste.yunohost.org/oqumiwodeq
I have seen mentions of FFMPEG changes in the recent commits for 10.10 version, maybe there is something more to address on this.
Thanks
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 :
opened 05:08AM - 09 Nov 24 UTC
closed 05:38AM - 09 Nov 24 UTC
downstream
### This issue respects the following points:
- [x] This is a **bug**, not a qu… estion or a configuration issue; Please visit our forum or chat rooms first to troubleshoot with volunteers, before creating a report. The links can be found [here](https://jellyfin.org/contact/).
- [x] This issue is **not** already reported on [GitHub](https://github.com/jellyfin/jellyfin/issues?q=is%3Aopen+is%3Aissue) _(I've searched it)_.
- [x] I'm using an up to date version of Jellyfin Server stable, unstable or master; We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
- [x] I agree to follow Jellyfin's [Code of Conduct](https://jellyfin.org/docs/general/community-standards.html#code-of-conduct).
- [x] This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.
### Description of the bug
After upgrading to 10.10.1, the server does not start due to ffmpeg error.
The error is not very specific, I tried upgrading the jellyfin-ffmpeg version in openmediavault to 7.0.2-Jellyfin, but the issue is the same.
Attaching the logs.
[Jellyfin Log from OpenMediaVault.log](https://github.com/user-attachments/files/17686082/Jellyfin.Log.from.OpenMediaVault.log)
```
jellyfin | [20:50:26] [ERR] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg validation: The process returned no result
jellyfin | [20:50:26] [ERR] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Failed version check: /usr/lib/jellyfin-ffmpeg/ffmpeg
jellyfin | [20:50:26] [ERR] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Path set by command line or environment variable is invalid
jellyfin | [20:50:26] [FTL] [1] Main: Error while starting server
jellyfin | MediaBrowser.Common.FfmpegException: Failed to find valid ffmpeg
jellyfin | at Emby.Server.Implementations.ApplicationHost.RunStartupTasksAsync()
jellyfin | at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
```
### Reproduction steps
1. Setup OpenMediaVault
2. Install Compose plugin to run docker containers in OMV
3. Install Jellyfin ffmpeg 7 in omv to the same user that you use in the docker container
4. Install Jellyfin server using the below compose file
```
---
# https://hub.docker.com/r/linuxserver/jellyfin
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
security_opt: # enables full access to /sys and /proc, still far better than privileged: true
- systempaths=unconfined
- apparmor=unconfined
group_add:
- video
devices:
- /dev/rga:/dev/rga
- /dev/dri:/dev/dri
- /dev/dma_heap:/dev/dma_heap
- /dev/mpp_service:/dev/mpp_service
- /dev/mali0:/dev/mali0 # only required to enable OpenCL-accelerated HDR -> SDR tonemapping
volumes:
- /etc/OpenCL:/etc/OpenCL:ro # only required to enable OpenCL-accelerated HDR -> SDR tonemapping
- /usr/lib/aarch64-linux-gnu/libmali.so.1:/usr/lib/aarch64-linux-gnu/libmali.so.1:ro # only required to enable OpenCL-accelerated HDR -> SDR tonemapping
- /usr/lib/jellyfin-ffmpeg:/usr/lib/jellyfin-ffmpeg
- /usr/lib/aarch64-linux-gnu/libx264.so.164:/usr/lib/aarch64-linux-gnu/libx264.so.164
- ${PATH_TO_APPDATA}/jellyfin/library:/config
- ${PATH_TO_DATA}/media/tvseries:/data/tvshows
- ${PATH_TO_DATA}/media/movies:/data/movies
- ${PATH_TO_DATA}/media/music:/data/music
ports:
- 8096:8096
- 8920:8920 #optional
- 7359:7359/udp #optional
- 1900:1900/udp #optional
restart: unless-stopped
```
### What is the current _bug_ behavior?
The server keeps bouncing with the error in the log attached to description.
### What is the expected _correct_ behavior?
Server starts sucessfully and I can reach it from browser.
### Jellyfin Server version
10.10.0+
### Specify commit id
_No response_
### Specify unstable release number
_No response_
### Specify version number
_No response_
### Specify the build version
Cannot go to dashboard
### Environment
```markdown
- OS:Open Media Vault 7.4.11-1 (Sandworm)
- Linux Kernel:
- Virtualization:Docker
- Clients:
- Browser:
- FFmpeg Version:7.0.2-Jellyfin
- Playback Method:
- Hardware Acceleration:RKMPP
- GPU Model:Rockchip RK3588
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:
```
### Jellyfin logs
```shell
Attached
```
### FFmpeg logs
```shell
```
### Client / Browser logs
_No response_
### Relevant screenshots or videos
_No response_
### Additional information
_No response_
Link to the github issue I made :
opened 08:37AM - 18 Nov 24 UTC
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 :
Useful errors :
`[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)`
Full log here : https://paste.yunohost.org/oqumiwodeq
I have seen mentions of FFMPEG changes in the recent commits for 10.10 version, maybe there is something more to address on this.
Thanks
Share relevant logs or error messages
https://paste.yunohost.org/oqumiwodeq