When you update 22.04 to 24.04:
- Check that /etc/apt/sources.list.d/enhance.list exists. If it's been renamed to enhance.list.distUpgrade, rename it back.
- Do the same for docker.list
- In both files, replace any instances of
jammy
with noble
- apt update && apt upgrade
If you have problems with PHP websites not working, after the above steps, run:
apt install --reinstall appcd ecp-php{56,70,71,72,73,74,80,81,82,83}