How to debug, when it doesn't even write to the logfile
I have jellyfin running on window 11.
Things were working fine. Then yesterday my monitor stopped turning off after 15 minutes like it should. This happens every few months or so. So I rebooted, which often fixes it. When I did, jellyfin won't work anymore. I start it manually. So I click to start it, I see it show up in my taskbar on the far right, then go away. When I click on the up arrow, I can see the jellyfin icon, until I mouse over it. Then it goes away. So clearly it is crashing...
I went to the log dir, and the log file isn't updating when I launch. And the last entries are pretty mundane as well as before it started crashing.
I tried running the same command the icon was running in a cmd window, (Jellyfin.Windows.Tray.exe), and it did the same thing but no output like I was hoping. Tried adding a help arg... nothing.
Thanks to @[email protected] and @[email protected] Windows event viewer put me on the right path. The errors were coming from the .net installation. Which reminded me that I had recently uninstalled visual studio, and that jellyfin uses .net. Rerunning the jellyfin installer fixed the .net issue and I am up and running again.