2023-07-20, 09:06 PM
(This post was last modified: 2023-07-20, 09:14 PM by supertanno. Edited 1 time in total.)
I've been trying to get Jellyfin to work on Ubuntu 22.04 LTS. Initially, it worked fine, but after installing nginx it seems to have stopped working properly. While it does start up, the website refuses to load, with the connection getting timed out. Turning off Nginx doesn't fix the issue, so I'm not sure if it's actually related.
The logs are as follows:
It stays stuck on the final thing. The ports seem to be fine, according to NetStat:
How can I fix this?
The logs are as follows:
Code:
[20:56:17] [INF] [1] Main: Jellyfin version: 10.8.10
[20:56:17] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /home/supertanno/jellyfin/log]"]
[20:56:17] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "restart"]
[20:56:17] [INF] [1] Main: Operating system: Linux
[20:56:17] [INF] [1] Main: Architecture: X64
[20:56:17] [INF] [1] Main: 64-Bit Process: True
[20:56:17] [INF] [1] Main: User Interactive: True
[20:56:17] [INF] [1] Main: Processor count: 4
[20:56:17] [INF] [1] Main: Program data path: /home/supertanno/jellyfin
[20:56:17] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web
[20:56:17] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
[20:56:17] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /home/supertanno/.cache/jellyfin
[20:56:17] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[20:56:17] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
[20:56:17] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
[20:56:17] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
[20:56:17] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
[20:56:17] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
[20:56:20] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.8.10.0
[20:56:20] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.8.10.0
[20:56:20] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.8.10.0
[20:56:20] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.8.10.0
[20:56:20] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.8.10.0
[20:56:20] [INF] [1] Main: Kestrel listening on Any IP4 Address
[20:56:20] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[20:56:20] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 2023-07-21 02:00:00.000 +00:00, which is 05:03:39.0016938 from now.
[20:56:21] [ERR] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Error validating encoder
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'ffmpeg' with working directory '/home/supertanno'. 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 System.Diagnostics.Process.Start()
at MediaBrowser.MediaEncoding.Encoder.EncoderValidator.GetProcessOutput(String path, String arguments, Boolean readStdErr, String testKey)
at MediaBrowser.MediaEncoding.Encoder.EncoderValidator.ValidateVersion()
[20:56:21] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Failed version check: ffmpeg
[20:56:21] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg:
[20:56:21] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: 7924572d27044f44a1cad2af34dc57d3
[20:56:21] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.1301507
[20:56:21] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
[20:56:21] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.173094
[20:56:21] [INF] [1] Main: Startup complete 0:00:04.2414129
[20:56:24] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: StartupTrigger fired for task: Update Plugins
[20:56:24] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task PluginUpdateTask
[20:56:24] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Update Plugins
[20:56:25] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 1 seconds
[20:56:25] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
It stays stuck on the final thing. The ports seem to be fine, according to NetStat:
Code:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 722/systemd-resolve
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 44528/nginx: master
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1534/sshd: /usr/sbi
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 44528/nginx: master
tcp6 0 0 :::80 :::* LISTEN 44528/nginx: master
tcp6 0 0 :::22 :::* LISTEN 1534/sshd: /usr/sbi
tcp6 0 0 :::443 :::* LISTEN 44528/nginx: master
udp 0 0 127.0.0.53:53 0.0.0.0:* 722/systemd-resolve
udp 0 0 192.168.178.82:68 0.0.0.0:* 720/systemd-network
udp6 0 0 fe80::7aac:c0ff:fea:546 :::* 720/systemd-network
How can I fix this?