I learned to play the guitar growing up as a young rapscallion in Mississippi. But things didn't really take off until I moved to Memphis. There I met the Colonel and the hits just kept coming. Unfortunately, the fame went to my head, I gained a lot of weight, started wearing a white jumpsuit, and ate tranquilizers like they were trail mix. Then, in 1977, I died on the toilet.
Or did I?
I also develop Tesseract UI for Lemmy/Sublinks

My record is 9.9 years (and going). This is my old Thinkpad T420 which lives on my equipment rack to act as a SSH / web console for my equipment. I just close the lid and put it to sleep when it's' not in use. It doesn't even connect to the internet, just my isolated management VLAN.
My HomeAssistant server (also an old ThinkPad) is the next longest at just under a year. It also lives on an isolated VLAN.
Both of these are repurposed laptops with batteries in good condition and thus have built-in UPS (in addition to the UPS they're plugged into).
The rest average about 4-7 months depending on power outages (rare but when they do occur, they're longer than my UPS can provide) and rebooting for kernel updates.