jellyfin / jellyfin-server-windows

The Windows tray app and installer for Jellyfin Server on Windows.
https://jellyfin.org
MIT License
80 stars 27 forks source link

[Issue]: Server and Tray app fails to start on Windows Server 2022 #86

Closed KuraiAndras closed 5 months ago

KuraiAndras commented 1 year ago

Please describe your bug

I updated to 10.8.10, at first it seemed to work fine, but I have noticed that the server stopped working. Jellyfin is installed with the provided installer. I have tried restarting jellyfin, and restarting the server itself but it does not help. No logs since 04.30, and they contain no warnings or errors.

In Event Viewer I can see that, when Jellyfin starts, there are always 2 errors:

Application: Jellyfin.Windows.Tray.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ComponentModel.Win32Exception
   at System.Diagnostics.Process.StartWithShellExecuteEx(System.Diagnostics.ProcessStartInfo)
   at Jellyfin.Windows.Tray.TrayApplicationContext..ctor()
   at Jellyfin.Windows.Tray.Program.Main()
Faulting application name: Jellyfin.Windows.Tray.exe, version: 1.2.0.0, time stamp: 0xf99bacab
Faulting module name: KERNELBASE.dll, version: 10.0.20348.1668, time stamp: 0xcd54a495
Exception code: 0xe0434352
Fault offset: 0x000000000003ef5c
Faulting process id: 0x1d78
Faulting application start time: 0x01d97c188cd5811e
Faulting application path: C:\Program Files\Jellyfin\Server\Jellyfin.Windows.Tray.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: b5bce871-43bc-4423-b20e-b08116b6297c
Faulting package full name: 
Faulting package-relative application ID: 

(C:\Windows\System32\KERNELBASE.dll exists and is at the right place)

Jellyfin Version

10.8.z

if other:

10.8.10

Environment

- OS: Windows Server 2022 Datacenter

Jellyfin logs

[2023-04-30 12:07:34.228 +02:00] [INF] [81] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Completed after 0 minute(s) and 6 seconds
[2023-04-30 12:07:34.228 +02:00] [INF] [35] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "D:\data\media\tv"
[2023-04-30 12:07:34.228 +02:00] [INF] [41] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "D:\data\media\movies"
[2023-04-30 12:07:34.231 +02:00] [INF] [81] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

KuraiAndras commented 1 year ago

Since that, I saw that the issue with the chocolatey package was fixed and I reinstalled Jellyfin but now with chocolatey and it works now. I am not sure why tho.