FTL is offline, but pihole works

As long as your install is not heavily customized, can you

pihole uninstall
curl -sSL https://install.pi-hole.net | bash

and then revert to 3.2.1 if that's the version you want to be on: