Pihole gravity corrupted itself

What does the /etc/pihole directory look like?

I don't know if this matters as much but it didn't remove

  [✗] Check for existing repository in /etc/.pihole
  [i] Clone https://github.com/pi-hole/pi-hole.git into /etc/.pihole...HEAD is now at 4736e03 Merge pull request #4122 from pi-hole/release/v5.3.1
  [✓] Clone https://github.com/pi-hole/pi-hole.git into /etc/.pihole

  [✗] Check for existing repository in /var/www/html/admin
  [i] Clone https://github.com/pi-hole/AdminLTE.git into /var/www/html/admin...HEAD is now at fb9bd56 Merge pull request #1856 from pi-hole/release/v5.5.1
  [✓] Clone https://github.com/pi-hole/AdminLTE.git into /var/www/html/admin

But this is the output of sudo ls -lac /etc/pihole

sudo ls -lac /etc/pihole
total 2816
drwxrwxr-x   2 pihole pihole    4096 Aug 14 10:06 .
drwxr-xr-x 182 root   root     20480 Aug 14 10:05 ..
-rw-r--r--   1 root   root        20 Aug 14 10:05 GitHubVersions
-rw-r--r--   1 root   root        65 Aug 14 10:04 adlists.list
-rw-r--r--   1 root   root        65 Aug 14 10:04 adlists.list.old
-rw-r--r--   1 root   root         0 Aug 14 10:05 custom.list
-rw-r--r--   1 pihole pihole       0 Aug 14 10:06 dhcp.leases
-rw-r--r--   1 root   root       618 Aug 14 10:05 dns-servers.conf
-rw-rw-r--   1 pihole pihole    4096 Aug 14 10:06 gravity.db
-rw-rw-r--   1 pihole pihole   32768 Aug 14 10:06 gravity.db-shm
-rw-rw-r--   1 pihole pihole       0 Aug 14 10:06 gravity.db-wal
-rw-r--r--   1 root   root         0 Aug 14 10:05 gravity.db_temp
-rw-r--r--   1 root   root      1108 Aug 14 10:05 install.log
-rw-r--r--   1 root   root       142 Aug 14 10:05 local.list
-rw-r--r--   1 root   root        20 Aug 14 10:05 localbranches
-rw-r--r--   1 root   root        42 Aug 14 10:05 localversions
-rw-r--r--   1 root   root       238 Aug 14 10:05 logrotate
-rw-r--r--   1 pihole pihole 2711552 Aug 14 10:05 macvendor.db
-rw-rw-r--   1 pihole root        15 Aug 14 10:05 pihole-FTL.conf
-rw-r--r--   1 pihole pihole   53248 Aug 14 10:06 pihole-FTL.db
-rw-r--r--   1 root   root       356 Aug 14 10:05 setupVars.conf
-rw-r--r--   1 root   root      1696 Aug 14 10:06 vulnerability-blacklist.regex

I don't know why you have shm wal and tmp database files or blacklist.regex files.

Can you start from scratch and explain what modifications you have made or are making, what and why there were python addons and what changes you have made to the filesystem?

This all looks really convoluted and modified from what we ship with.

I've got a script that generates those on the hour which is less concerned with the pi hole install and more so with my preferences. If you think that's the error I would gladdy try disabling those scripts

Then you're going to have to troubleshoot all that. I'm sorry but we can only help with what we ship and making changes like changing to WAL mode or other options to sqlite3 that are not compatible with pihole-FTLs built in sqlite3 engine are way beyond what we can help with.

I asked for a stock install to see if the problems are with Pi-hole or with your modifications, I need just that or I'm not going to be able to help.

Got it. I will disable those scripts and see.

Oddly enough that gravity build just fine. Let me see if I can add my scripts and well see if that does anything

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