Login on interfaces not possible

Greetings, i got pihole on debian 11 with php 8.0. pihole is enable and running so far, but i cant log in on the admin interface. after login the dashboard is the same as before, so no whitelist, no settings and so on. i already changed the password, no effect. if i type a wrong password, i receive an error message, so the site is working, but the modules after login dont show up. it seems like a constant redirect on the login dashboard.

there are few thread with a similar problem, but no solution.

Anyone got the same issue and a solution?

thanks :slight_smile:

Please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:

pihole -d

or do it through the Web interface:

Tools > Generate Debug Log

thanks for your help.

token is https://tricorder.pi-hole.net/FFNpYfja/

Your running an unsupported web server and your local web dir is heavily altered

[✗] tcp:[::]:80 is in use by nginx (https://docs.pi-hole.net/main/prerequisites/#ports)

*** [ DIAGNOSING ]: lighttpd version
[✗] lighttpd version could not be detected.

*** [ DIAGNOSING ]: Web version
[i] Web: v5.10.1 (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.10.1-0-gcb7a866f-dirty
[i] Status:  M .gitattributes
             M .github/ISSUE_TEMPLATE.md
             M .github/PULL_REQUEST_TEMPLATE.md
             M .github/dependabot.yml
             M .github/release.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
             M groups-adlists.php
             M groups-clients.php
             M groups-domains.php
             M groups.php
             M img/boxed-bg-dark.jpg
             M img/boxed-bg.jpg
             M img/donate.gif
             M img/favicons/android-chrome-192x192.png
             M img/favicons/android-chrome-512x512.png
             M img/favicons/apple-touch-icon.png
             M img/favicons/favicon-16x16.png
             M img/favicons/favicon-32x32.png
             M img/favicons/favicon.ico
             M img/favicons/manifest.json
             M img/favicons/mstile-150x150.png
             M img/favicons/safari-pinned-tab.svg
             M img/logo.svg
             M index.php
             M messages.php
             M network.php
             M package-lock.json
             M package.json
             M phpstan.neon.dist
             M queries.php
             M queryads.php
             M scripts/pi-hole/js/auditlog.js
             M scripts/pi-hole/js/customcname.js
             M scripts/pi-hole/js/customdns.js
             M scripts/pi-hole/js/db_graph.js
             M scripts/pi-hole/js/db_lists.js
             M scripts/pi-hole/js/db_queries.js
             M scripts/pi-hole/js/debug.js
             M scripts/pi-hole/js/footer.js
             M scripts/pi-hole/js/gravity.js
             M scripts/pi-hole/js/groups-adlists.js
             M scripts/pi-hole/js/groups-clients.js
             M scripts/pi-hole/js/groups-domains.js
             M scripts/pi-hole/js/groups.js
             M scripts/pi-hole/js/index.js
             M scripts/pi-hole/js/ip-address-sorting.js
             M scripts/pi-hole/js/messages.js
             M scripts/pi-hole/js/network.js
             M scripts/pi-hole/js/queries.js
             M scripts/pi-hole/js/queryads.js
             M scripts/pi-hole/js/settings.js
             M scripts/pi-hole/js/taillog-FTL.js
             M scripts/pi-hole/js/taillog.js
             M scripts/pi-hole/js/utils.js
             M scripts/pi-hole/php/FTL.php
             M scripts/pi-hole/php/api_token.php
             M scripts/pi-hole/php/auth.php
             M scripts/pi-hole/php/customcname.php
             M scripts/pi-hole/php/customdns.php
             M scripts/pi-hole/php/database.php
             M scripts/pi-hole/php/debug.php
             M scripts/pi-hole/php/footer.php
             M scripts/pi-hole/php/func.php
             M scripts/pi-hole/php/gravity.php
             M scripts/pi-hole/php/gravity.sh.php
             M scripts/pi-hole/php/groups.php
             M scripts/pi-hole/php/header.php
             M scripts/pi-hole/php/loginpage.php
             M scripts/pi-hole/php/message.php
             M scripts/pi-hole/php/network.php
             M scripts/pi-hole/php/password.php
             M scripts/pi-hole/php/queryads.php
             M scripts/pi-hole/php/savesettings.php
             M scripts/pi-hole/php/tailLog.php
             M scripts/pi-hole/php/teleporter.php
             M scripts/pi-hole/php/theme.php
             M scripts/pi-hole/php/update_checker.php
             M scripts/vendor/Chart.min.js
             M scripts/vendor/LICENSE
             M scripts/vendor/adminlte.min.js
             M scripts/vendor/bootstrap-notify.min.js
             M scripts/vendor/bootstrap-select.min.js
             M scripts/vendor/bootstrap-select.min.js.map
             M scripts/vendor/bootstrap-toggle.min.js
             M scripts/vendor/bootstrap-toggle.min.js.map
             M scripts/vendor/datatables.min.js
             M scripts/vendor/daterangepicker.min.js
             M scripts/vendor/daterangepicker.min.js.map
             M scripts/vendor/jquery.confirm.min.js
             M scripts/vendor/jquery.min.js
             M scripts/vendor/moment.min.js
             M scripts/vendor/qrcode.php
             M scripts/vendor/select2.min.js
             M settings.php
             M style/pi-hole.css
             M style/themes/default-auto.css
             M style/themes/default-dark.css
             M style/themes/default-darker.css
             M style/themes/default-light.css
             M style/themes/lcars.css
             M style/vendor/AdminLTE.min.css
             M style/vendor/LICENSE
             M style/vendor/SourceSansPro/SourceSansPro.css
             M style/vendor/SourceSansPro/source-sans-pro-v13-latin-300.woff
             M style/vendor/SourceSansPro/source-sans-pro-v13-latin-300.woff2
             M style/vendor/SourceSansPro/source-sans-pro-v13-latin-300italic.woff
             M style/vendor/SourceSansPro/source-sans-pro-v13-latin-300italic.woff2
             M style/vendor/SourceSansPro/source-sans-pro-v13-latin-600.woff
             M style/vendor/SourceSansPro/source-sans-pro-v13-latin-600.woff2
             M style/vendor/SourceSansPro/source-sans-pro-v13-latin-600italic.woff
             M style/vendor/SourceSansPro/source-sans-pro-v13-latin-600italic.woff2
             M style/vendor/SourceSansPro/source-sans-pro-v13-latin-700.woff
             M style/vendor/SourceSansPro/source-sans-pro-v13-latin-700.woff2
             M style/vendor/SourceSansPro/source-sans-pro-v13-latin-italic.woff
             M style/vendor/SourceSansPro/source-sans-pro-v13-latin-italic.woff2
             M style/vendor/SourceSansPro/source-sans-pro-v13-latin-regular.woff
             M style/vendor/SourceSansPro/source-sans-pro-v13-latin-regular.woff2
             M style/vendor/animate.min.css
             M style/vendor/bootstrap-select.min.css
             M style/vendor/bootstrap-toggle.min.css
             M style/vendor/bootstrap/css/bootstrap.min.css
             M style/vendor/bootstrap/css/bootstrap.min.css.map
             M style/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot
             M style/vendor/bootstrap/fonts/glyphicons-halflings-regular.svg
             M style/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf
             M style/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff
             M style/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2
             M style/vendor/bootstrap/js/bootstrap.min.js
             M style/vendor/datatables.min.css
             M style/vendor/daterangepicker.min.css
             M style/vendor/font-awesome/js/all.min.js
             M style/vendor/fonts/antonio/antonio-v1-latin-ext_latin-100.woff
             M style/vendor/fonts/antonio/antonio-v1-latin-ext_latin-100.woff2
             M style/vendor/fonts/antonio/antonio-v1-latin-ext_latin-700.woff
             M style/vendor/fonts/antonio/antonio-v1-latin-ext_latin-700.woff2
             M style/vendor/fonts/antonio/antonio-v1-latin-ext_latin-regular.woff
             M style/vendor/fonts/antonio/antonio-v1-latin-ext_latin-regular.woff2
             M style/vendor/fonts/antonio/antonio.css
             M style/vendor/fonts/ubuntu-mono/ubuntu-mono-v10-latin-ext_latin-700.woff
             M style/vendor/fonts/ubuntu-mono/ubuntu-mono-v10-latin-ext_latin-700.woff2
             M style/vendor/fonts/ubuntu-mono/ubuntu-mono-v10-latin-ext_latin-700italic.woff
             M style/vendor/fonts/ubuntu-mono/ubuntu-mono-v10-latin-ext_latin-700italic.woff2
             M style/vendor/fonts/ubuntu-mono/ubuntu-mono-v10-latin-ext_latin-italic.woff
             M style/vendor/fonts/ubuntu-mono/ubuntu-mono-v10-latin-ext_latin-italic.woff2
             M style/vendor/fonts/ubuntu-mono/ubuntu-mono-v10-latin-ext_latin-regular.woff
             M style/vendor/fonts/ubuntu-mono/ubuntu-mono-v10-latin-ext_latin-regular.woff2
             M style/vendor/fonts/ubuntu-mono/ubuntu-mono.css
             M style/vendor/icheck-bootstrap.min.css
             M style/vendor/icheck-material.min.css
             M style/vendor/js-warn.css
             M style/vendor/select2.min.css
             M taillog-FTL.php
             M taillog.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/release.yml b/.github/release.yml

I would nuke the web repo and see if someone with nginx experience can help you further....

sudo rm -rf /var/www/html/admin
sudo git clone https://github.com/pi-hole/AdminLTE.git /var/www/html/admin

thank you. i have to stick with nginx, cause there are other services on the server with proper configuration, working without any problems. reinstall admin had no effect.

Did you read:
https://docs.pi-hole.net/guides/webserver/nginx/

Yes i did, made a copy of the conf on this page and changed the port and the version of the php fpm-sock from 7.3 to 8.0.
nginx is active, i got a homepage on the server, a nextcloud server on ssl, everything is running well. i can access the pihole dashboard, the only thing failing is the login.