i am using Dietpi(7.6.2) and have installed Pihole(Pi-holev5.4 WebInterfacev5.6 FTLv5.9) through dietpi's auto installer(also using nginx as web server)
i can access the webpage and login but the adlists are not visible and when i try to add one i get "Error occurred" i also discovered this error "DataTables warning: table id=messagesTable - Ajax error. For more information about this error, please see 7. Warning: Ajax error" when select groups under group management
if i run update gravity it seems to work fine, to i then tried pihole -r and it completed that successfully as well so not sure where to go from here.
[i] Neutrino emissions detected...
[✓] Pulling blocklist source list into range
[✓] Preparing new gravity database
[i] Using libz compression
[✓] Storing downloaded domains in new gravity database
[✓] Building tree
[✓] Swapping databases
[✓] The old database remains available.
[i] Number of gravity domains: 94106 (94106 unique domains)
[i] Number of exact blacklisted domains: 0
[i] Number of regex blacklist filters: 0
[i] Number of exact whitelisted domains: 1
[i] Number of regex whitelist filters: 0
[✓] Cleaning up stray matter
[✓] DNS service is listening
[✓] UDP (IPv4)
[✓] TCP (IPv4)
[✓] UDP (IPv6)
[✓] TCP (IPv6)
Please upload a debug log and post just the token that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:
I tried it on a fresh testing system and it works well here with Nginx and Pi-hole: I see the default list by StevenBlack and can add a new list successfully.
To test it as close as possible: Which hardware do you use, an RPi? And which Debian version, Buster or Bullseye?
*** [ DIAGNOSING ]: Web version
[i] Web: v5.6 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Remotes: origin https://github.com/pi-hole/AdminLTE.git (fetch)
origin https://github.com/pi-hole/AdminLTE.git (push)
[i] Branch: master
[i] Commit: v5.6-0-gf5292a3-dirty
[i] Status: M .gitattributes
M .github/ISSUE_TEMPLATE.md
M .github/PULL_REQUEST_TEMPLATE.md
M .github/dependabot.yml
M .github/workflows/codeql.yml
M .github/workflows/phpstan.yml
M .github/workflows/test.yml
M .gitignore
M .user.php.ini
M CONTRIBUTING.md
M LICENSE
M README.md
M api.php
M api_FTL.php
M api_db.php
M auditlog.php
M cname_records.php
M composer.json
M composer.lock
M db_graph.php
M db_lists.php
M db_queries.php
M debug.php
M dns_records.php
M gravity.php
...
[i] Diff: diff --git a/.gitattributes b/.gitattributes
old mode 100644
new mode 100755
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
old mode 100644
new mode 100755
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
old mode 100644
new mode 100755
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
old mode 100644
new mode 100755
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
old mode 100644
new mode 100755
diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml
old mode 100644
new mode 100755
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
old mode 100644
new mode 100755
diff --git a/.gitignore b/.gitignore
old mode 100644
new mode 100755
diff --git a/.user.php.ini b/.user.php.ini
old mode 100644
new mode 100755
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
old mode 100644
new mode 100755
diff --git a/LICENSE b/LICENSE
old mode 100644
new mode 100755
diff --git a/README.md b/README.md
old mode 100644
new mode 100755
diff --git a/api.php b/api.php
old mode 100644
new mode 100755
diff --git a/api_FTL.php b/api_FTL.php
old mode 100644
.....
Okay, so Bullseye as well. Whether RPi or VM shouldn't make a difference. Looks like the file modes were changed, being all executable now. Try to reset the repo:
I fixed it!!! i was checking https://docs.pi-hole.net/guides/webserver/nginx/ and see that php7.3-sqlite3 needs to be installed, so i checked my list of installed packages and it was not listed so i installed php7.4-sqlite3 and its all working now
LESP is ticked because Pi-hole requires SQLite, so you have Enginx, SQLite and PHP installed . Those stacks are also marked as installed when their individual components have been installed. You require MariaDB for something else?
But strange is that SQLite is not ticket in the same turn. You didn't uninstall it manually, did you? AFAIK the stack is not unticked when one of its components is uninstalled. Actually that would be smart. Same way it would be smart to show at least a warning when a dependency of an installed software title is attempted to be uninstalled. The new dependency system makes this quite easy .
Hi Michalng,
i believe wordpress requires MariaDB, i also have not uninstalled anything because i dont know everything that might use a particular package and dont want to mess with the system