Updating the gravity blocklists results in an error:
[✓] Preparing new gravity database
[i] Creating new gravity databases...
[✗] Unable to copy data from /etc/pihole/gravity.db to /etc/pihole/gravity.db_temp
Runtime error near line 16: FOREIGN KEY constraint failed (19)
[✗] Unable to create gravity database. Please try again later. If the problem persists, please contact support.
I don't know if this is a redherring or an actual issue:
*** [ DIAGNOSING ]: contents of /etc/lighttpd/conf.d
/etc/lighttpd/conf.d does not exist.
Details about my system:
Debain v12 fully patched and updated running on a netbook (lots of HD space and sufficient ram), connected to a highspeed modem via CAT5.
There was an output error:
[✗] Unable to copy data from /etc/pihole/gravity.db to /etc/pihole/gravity.db_temp
Runtime error near line 16: FOREIGN KEY constraint failed (19)
[✗] Unable to create gravity database. Please try again later. If the problem persists, please contact support.
Was running into the same error. Turned out to be the result of restoring a backup from a previous release of Pi-hole. Copied the adlists manually and there were no issues creating the database.