Whitelist not deleting entries -non lists

Pi-hole Version v3.1 Web Interface Version v3.1 FTL Version v2.9.2

On the admin interface, whitelist entries such as drive.google.com delete but upon refresh they re-appear. When I delete them from the Whitelist file they stay deleted.

Can you show us the permissions of the files in the Pi-hole directory?

ls -lach /etc/pihole

Thank you.

drwxrwxrwx 2 pihole pihole 4.0K Jun 22 21:45 .
drwxr-xr-x 122 root root 12K Jun 20 14

Which whitelist file are you editing manually?

/etc/pihole/whitelist.txt

Okay, and the permissions on that file?

ls -lach /etc/pihole/whitelist.txt

-rw-r--r-- 1 pi pi 4.3K Jun 22 22:01 /etc/pihole/whitelist.txt

Are there any other files in the /etc/pihole directory?

yes, lots. all the lists, blacklist.txt, etc

Can you run pihole -d and get us the debug token so we can take a look at the files?

Thanks! Here is the token. nf00a0p073

There looks to be duplicates of your wildcard lists in /etc/dhcpcd.d/ a 03 and and x03. Also you have source lists that are not Pi-hole compatible in your sources list. Those need to be removed and then pihole -r to repair the install when they have been removed.

I do not see a /etc/dhcpcd.d directory.

My apologies, it's the /etc/dnsmasq.d directory.

ok, thanks. I removed the duplicate x03. When you say I have source lists that are not compatible what do you mean by that?

The lists need to be in HOSTS format.

Thanks a bunch for the assistance.