Probably just a case of replacing the batteries, but if you want to think out of the box: there are some hybrid inverters for solar systems that offer a UPS mode. So you could combine a home solar system with modern lithium batteries with your homelab needs for a better UPS.