How to debug, when it doesn't even write to the logfile
from SailorsLife@lemmy.world to jellyfin@lemmy.ml on 31 Dec 2023 06:41
https://lemmy.world/post/10150380

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.

Tried rebooting again of course. No luck.

So any ideas on how to debug this?

#jellyfin

threaded - newest

Shadow@lemmy.ca on 31 Dec 2023 07:04 next collapse

Check event viewer?

SailorsLife@lemmy.world on 31 Dec 2023 17:56 collapse

Winner winner chicken dinner. It’s been a few years since I had to do any real debugging on windows and I totally forgot about the event viewer. Thanks for the tip.

For anyone reading along, looks like there is a problem with my .net installation. That is probably because I uninstalled visual studio recently. It “shouldn’t” have caused an issue, but M$…

Lem453@lemmy.ca on 31 Dec 2023 10:55 next collapse

See if anything shows up here:

learn.microsoft.com/en-us/shows/…/event-viewer

Not sure if there are any other logging systems in windows

SailorsLife@lemmy.world on 31 Dec 2023 17:57 collapse

Thanks, that had info I could work with.

SailorsLife@lemmy.world on 31 Dec 2023 18:03 collapse

Thanks to @Shadow@lemmy.ca and @Lem453@lemmy.ca 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.