Thanks for sharing.
It would be really helpful if you would attach a debugger to pihole-ftl as written here.