Web Dashboard - attempt to write a readonly database

When attempting to make changes via the admin dashboard I get the error "attempt to write a readonly database". Everything else works successfully.
Ubuntu 18
PiHole 5.1.2
Using apache (not lighthttpd)

I have seen many posts with this issue and they have all said it is a permission issue between the web server and the gravity database.

I had to change the permissions on the gravity.db file to allow the pihole group write access.

/etc/pihole - I haven't overridden the default location of the database.

-rw-rw-r-- 1 pihole pihole   98304 Sep 26 11:25 gravity.db
-rw-rw-r-- 1 pihole root        15 Sep 26 09:32 pihole-FTL.conf

Apache is run using the user www-data. I added this user to the pihole group.

I have restarted the entire server.

None of this has resolved the issue. Is there something else to look at?

thanks

Please generate a debug log, upload it when prompted and post the token here.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.