jellyfin-server-windows: Jellyfin not starting with JellyfinTray.exe
I just installed Jellyfin with basic setup. When clicked on JellyfinTray.exe, Jellyfin won’t start. So clicked on jellyfin.exe, saw following error on the command prompt. I’m able to access the web UI as long as this command prompt is open.
[19:31:46] [INF] Jellyfin version: 10.4.1
[19:31:46] [INF] Arguments: ["C:\\Program Files\\Jellyfin\\Server\\jellyfin.dll"]
[19:31:46] [INF] Operating system: Windows
[19:31:46] [INF] Architecture: X64
[19:31:46] [INF] 64-Bit Process: True
[19:31:46] [INF] User Interactive: True
[19:31:46] [INF] Processor count: 4
[19:31:46] [INF] Program data path: C:\Users\User\AppData\Local\jellyfin
[19:31:46] [INF] Web resources path: C:\Program Files\Jellyfin\Server\jellyfin-web
[19:31:46] [INF] Application directory: C:\Program Files\Jellyfin\Server\
[19:31:46] [INF] Setting cache path to C:\Users\User\AppData\Local\jellyfin\cache
[19:31:46] [INF] Loading assemblies
[19:31:49] [INF] Kestrel listening on all interfaces
[19:31:49] [INF] Running startup tasks
[19:31:49] [INF] Daily trigger for Chapter image extraction set to fire at 11/22/2019 02:00, which is 6:28:10.9085332 from now.
[19:31:49] [INF] Found ffmpeg version unknown
[19:31:49] [WRN] FFmpeg: System: Failed version check: C:\Program Files\Jellyfin\Server\ffmpeg.exe
[19:31:49] [INF] Available decoders: ["h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "vc1_qsv", "aac", "ac3", "mp3"]
[19:31:49] [INF] Available encoders: ["libx264", "h264_nvenc", "h264_qsv", "libx265", "hevc_nvenc", "hevc_qsv", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "ac3", "libmp3lame", "libopus", "libvorbis", "srt"]
[19:31:49] [INF] FFmpeg: System: C:\Program Files\Jellyfin\Server\ffmpeg.exe
[19:31:49] [INF] ServerId: 3e9fee1d580042e8a9d6ed17ce203d5d
[19:31:49] [INF] Executed all pre-startup entry points in 0:00:00.197022
[19:31:49] [INF] Core startup complete
[19:31:49] [INF] Registering publisher for urn:schemas-upnp-org:device:MediaServer:1 on 192.168.0.123
[19:31:50] [INF] Executed all post-startup entry points in 0:00:00.3273968
[19:31:52] [INF] StartupTrigger fired for task: Check for plugin updates
[19:31:52] [INF] Queueing task PluginUpdateTask
[19:31:52] [INF] Executing Check for plugin updates
[19:31:52] [INF] Check for plugin updates Completed after 0 minute(s) and 0 seconds
[19:31:52] [INF] ExecuteQueuedTasks
[19:31:52] [INF] WS http://localhost:8096/socket?api_key=c15a98165b4b47fbafdcf50f99029916&deviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc2LjAuMzgwOS4xMzIgU2FmYXJpLzUzNy4zNnwxNTY4MjA5NDU1NTgx. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
[19:31:58] [ERR] Error creating http port map
MediaBrowser.Model.Net.HttpException: Internal Server Error
at Emby.Server.Implementations.HttpClientManager.HttpClientManager.EnsureSuccessStatusCode(HttpResponseMessage response, HttpRequestOptions options)
at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsyncInternal(HttpRequestOptions options, HttpMethod httpMethod)
at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsync(HttpRequestOptions options, HttpMethod httpMethod)
at Mono.Nat.Upnp.UpnpNatDevice.CreatePortMap(Mapping mapping)
at Emby.Server.Implementations.EntryPoints.ExternalPortForwarding.CreateRules(INatDevice device)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 22 (9 by maintainers)
To all with this issue, we may have a fix. It may be a Windows issue of sorts, but we can’t fix it until later (for more technical reasons that we can discuss later).
For now:
%temp%\.netWith this solution it worked for me!!!
First of All i just discovered Jellyfin 2 weeks ago and believeme, you are the Masters!! Jellyfin is what i wanted always at home!
Please Anthony and Jelly team continue with this and you will arrive very far!!!
It is not present there
First of all thank you for this workaround! I have had the exact same issue, and in my case it was this empty directory:
%temp%\net\JellyfinTray\{randome_name}.jn2. After deleting this directory I tried launching JellyfinTray app again and the directory got re-created and filled with a bunch of files, and this time JellyfinTray is running just fine.I’m curious though, what is this directory used for? Is it kind of .NET internal cache or something? And when will a fix regarding this issue come out?
These are two errors from my logs that I’m getting which may be of use. The first is when everything was working fine but no longer does for whatever reason, and the second is when I run the jellyfin.exe myself and keep the cmd window open (which works but forces me to start my config over):
And the other:
[ERR] Error processing request: "Access token is invalid or expired."