I feel the pain. I spent last night erasing and rebuilding a server I own that runs a public-facing web service. Because I let things go way past EOL, and honestly a server rebuild was easier and cleaner than 2 successive OS upgrades. (The OS was still "in support" though.)
And then I had to spend a few hours finishing a job I started earlier, making the web service work properly with ancient "lol already abandoned when I imported it" code, and PHP 8.5.
I prevailed though!