Yeah, everything that’s already been said, except that I specifically chose an off-the-shelf Synology NAS with Docker support to run my core setup for this exact reason. It needs a reboot maybe once or twice a year for critical updates but is otherwise rock solid.
I have since added a small N100 box for things that need a little extra grunt (Plex mainly) but I run Ubuntu Server LTS with Docker on that and do maintenance on it about as often as I reboot the NAS.
Uh, good luck! It’s giving me cold sweats just looking at that version disparity!
If it were me I’d be looking at doing some intermediate upgrades to help it along, if that’s even possible. But hey, it might work, please report back!