Proper deletion of unreachable ad-lists from Pi-hole diagnosis page. Besides that domains should be added to whitelist or blacklist without these errors.
Actual Behaviour:
It's possible to delete unreachable ad-lists from Pi-hole diagnosis page, but they appear again after reboot and sometimes web interface show "Database is locked" error during deletion. Also there are errors in FTL log
cat /var/log/pihole/FTL.log | grep -c "database is locked"
8
You are just clearing the messages about unreachable adlists.
The adlists themselves stay as they are.
If you should decide to remove adlists (e.g. because they are no longer maintained and accessible), you should do so via Pi-hole's Adlist group management.
But during blocklist deletion from /admin/groups-adlists.php I faced with one database error. Looks like these log's records were made at the same time:
cat /var/log/pihole/FTL.log
..................................
[2023-08-18 13:27:13.233 1165/T1298] Blocking status is enabled
[2023-08-18 13:27:19.566 1165M] Received: Real-time signal 0 (34 -> 0)
[2023-08-18 13:27:19.668 1165/T1298] Compiled 1 whitelist and 0 blacklist regex filters for 6 clients in 20.9 msec
[2023-08-18 13:27:19.668 1165/T1298] ADLIST WARNING: Adlist with ID 17 (https://schakal.ru/hosts/hosts.txt) was inaccessible during last gravity run
[2023-08-18 13:27:20.308 1165/T1298] ADLIST WARNING: Adlist with ID 85 (https://v.firebog.net/hosts/static/w3kbl.txt) was inaccessible during last gravity run
[2023-08-18 13:27:20.460 1165/T1298] Blocking status is enabled
[2023-08-18 13:27:24.462 1165M] Received: Real-time signal 0 (34 -> 0)
[2023-08-18 13:27:24.517 1165/T1298] Compiled 1 whitelist and 0 blacklist regex filters for 6 clients in 42.8 msec
[2023-08-18 13:27:24.518 1165/T1298] ADLIST WARNING: Adlist with ID 17 (https://schakal.ru/hosts/hosts.txt) was inaccessible during last gravity run
[2023-08-18 13:27:25.128 1165/T1298] Blocking status is enabled