I didnt realise that there's a built in backup solution, so I backed up gravity.db file, then formatted my raspberry pi.
Expected Behaviour:
I'd put an adlist or whitelist and it'd be added.
Actual Behaviour:
After installing pi and putting the old gravity.db file back, I did get my adlists back, but can't
add blocklists or whitelists anymore it says "Attempt to write a readonly database”
So, I deleted the gravity.db file made a backup using the Teleporter and restarted hoping that pihole will make the gravity.db file with whatever permissions it needs. But it didn't.