Ampfirewall.service failed on ubuntu server 24.04 after upgrading from 22.04

Yes, release upgrades disable third party repos, and they need to be re-enabled.

Refer to this for re-adding the repo and updating AMP: How to update AMP to the latest version