I updated my Installation to Pi-hole v6, but it failed so I had to do a reinstall. After the reinstall I imported my backup through the Pi-hole Webinterface. Everything works like before, except deleting a group. Yesterday I wanted to delete a group and get the following message in return.
Could not remove entries from table FOREIGN KEY constraint failed
I think the reinstall with a backup messed something up.
Could you maybe help me out what causes this problem?
We are currently working on the fix but it is unclear what should actually happen. What is your opinion how this feature should work?
It should not be possible to delete groups which still have associated domains or clients
It should be possible to delete groups which still have associated domains or clients. The previously associated domains and clients should remain, but unassigned from the just deleted group
It should be possible to delete groups which still have associated domains or clients. Associated domains and clients should be removed as well (cascading deletion down)